Home | History | Annotate | Download | only in v8
      1 LOCAL_CPP_EXTENSION := .cc
      2 
      3 V8_LOCAL_SRC_FILES := \
      4 	src/accessors.cc \
      5 	src/allocation.cc \
      6 	src/api.cc \
      7 	src/assembler.cc \
      8 	src/ast.cc \
      9 	src/bignum.cc \
     10 	src/bignum-dtoa.cc \
     11 	src/bootstrapper.cc \
     12 	src/builtins.cc \
     13 	src/cached-powers.cc \
     14 	src/checks.cc \
     15 	src/circular-queue.cc \
     16 	src/code-stubs.cc \
     17 	src/codegen.cc \
     18 	src/compilation-cache.cc \
     19 	src/compiler.cc \
     20 	src/contexts.cc \
     21 	src/conversions.cc \
     22 	src/counters.cc \
     23 	src/cpu-profiler.cc \
     24 	src/data-flow.cc \
     25 	src/date.cc \
     26 	src/dateparser.cc \
     27 	src/debug.cc \
     28 	src/debug-agent.cc \
     29 	src/deoptimizer.cc \
     30 	src/disassembler.cc \
     31 	src/diy-fp.cc \
     32 	src/dtoa.cc \
     33 	src/elements.cc \
     34 	src/execution.cc \
     35 	src/extensions/externalize-string-extension.cc \
     36 	src/extensions/gc-extension.cc \
     37 	src/factory.cc \
     38 	src/fast-dtoa.cc \
     39 	src/fixed-dtoa.cc \
     40 	src/flags.cc \
     41 	src/frames.cc \
     42 	src/full-codegen.cc \
     43 	src/func-name-inferrer.cc \
     44 	src/global-handles.cc \
     45 	src/handles.cc \
     46 	src/heap.cc \
     47 	src/heap-profiler.cc \
     48 	src/hydrogen.cc \
     49 	src/hydrogen-instructions.cc \
     50 	src/ic.cc \
     51 	src/incremental-marking.cc \
     52 	src/interface.cc \
     53 	src/interpreter-irregexp.cc \
     54 	src/isolate.cc \
     55 	src/jsregexp.cc \
     56 	src/lithium.cc \
     57 	src/lithium-allocator.cc \
     58 	src/liveedit.cc \
     59 	src/log.cc \
     60 	src/log-utils.cc \
     61 	src/mark-compact.cc \
     62 	src/messages.cc \
     63 	src/objects.cc \
     64 	src/objects-visiting.cc \
     65 	src/once.cc \
     66 	src/parser.cc \
     67 	src/preparse-data.cc \
     68 	src/preparser.cc \
     69 	src/property.cc \
     70 	src/profile-generator.cc \
     71 	src/regexp-macro-assembler.cc \
     72 	src/regexp-macro-assembler-irregexp.cc \
     73 	src/regexp-stack.cc \
     74 	src/rewriter.cc \
     75 	src/runtime.cc \
     76 	src/runtime-profiler.cc \
     77 	src/safepoint-table.cc \
     78 	src/scanner.cc \
     79 	src/scanner-character-streams.cc \
     80 	src/scopeinfo.cc \
     81 	src/scopes.cc \
     82 	src/serialize.cc \
     83 	src/snapshot-common.cc \
     84 	src/spaces.cc \
     85 	src/store-buffer.cc \
     86 	src/string-search.cc \
     87 	src/string-stream.cc \
     88 	src/strtod.cc \
     89 	src/stub-cache.cc \
     90 	src/token.cc \
     91 	src/type-info.cc \
     92 	src/unicode.cc \
     93 	src/utils.cc \
     94 	src/v8-counters.cc \
     95 	src/v8.cc \
     96 	src/v8conversions.cc \
     97 	src/v8utils.cc \
     98 	src/v8threads.cc \
     99 	src/variables.cc \
    100 	src/version.cc \
    101 	src/zone.cc
    102 
    103 ifeq ($(TARGET_ARCH),arm)
    104   V8_LOCAL_SRC_FILES += \
    105 		src/arm/assembler-arm.cc \
    106 		src/arm/builtins-arm.cc \
    107 		src/arm/codegen-arm.cc \
    108 		src/arm/code-stubs-arm.cc \
    109 		src/arm/constants-arm.cc \
    110 		src/arm/cpu-arm.cc \
    111 		src/arm/debug-arm.cc \
    112 		src/arm/deoptimizer-arm.cc \
    113 		src/arm/disasm-arm.cc \
    114 		src/arm/frames-arm.cc \
    115 		src/arm/full-codegen-arm.cc \
    116 		src/arm/ic-arm.cc \
    117 		src/arm/lithium-arm.cc \
    118 		src/arm/lithium-codegen-arm.cc \
    119 		src/arm/lithium-gap-resolver-arm.cc \
    120 		src/arm/macro-assembler-arm.cc \
    121 		src/arm/regexp-macro-assembler-arm.cc \
    122 		src/arm/stub-cache-arm.cc
    123 endif
    124 
    125 ifeq ($(TARGET_ARCH),mips)
    126   V8_LOCAL_SRC_FILES += \
    127 		src/mips/assembler-mips.cc \
    128 		src/mips/builtins-mips.cc \
    129 		src/mips/codegen-mips.cc \
    130 		src/mips/code-stubs-mips.cc \
    131 		src/mips/constants-mips.cc \
    132 		src/mips/cpu-mips.cc \
    133 		src/mips/debug-mips.cc \
    134 		src/mips/deoptimizer-mips.cc \
    135 		src/mips/disasm-mips.cc \
    136 		src/mips/frames-mips.cc \
    137 		src/mips/full-codegen-mips.cc \
    138 		src/mips/ic-mips.cc \
    139 		src/mips/lithium-mips.cc \
    140 		src/mips/lithium-codegen-mips.cc \
    141 		src/mips/lithium-gap-resolver-mips.cc \
    142 		src/mips/macro-assembler-mips.cc \
    143 		src/mips/regexp-macro-assembler-mips.cc \
    144 		src/mips/stub-cache-mips.cc
    145 endif
    146 
    147 ifeq ($(TARGET_ARCH),x86)
    148   V8_LOCAL_SRC_FILES += \
    149 		src/ia32/assembler-ia32.cc \
    150 		src/ia32/builtins-ia32.cc \
    151 		src/ia32/codegen-ia32.cc \
    152 		src/ia32/code-stubs-ia32.cc \
    153 		src/ia32/cpu-ia32.cc \
    154 		src/ia32/debug-ia32.cc \
    155 		src/ia32/deoptimizer-ia32.cc \
    156 		src/ia32/disasm-ia32.cc \
    157 		src/ia32/frames-ia32.cc \
    158 		src/ia32/full-codegen-ia32.cc \
    159 		src/ia32/ic-ia32.cc \
    160 		src/ia32/lithium-codegen-ia32.cc \
    161 		src/ia32/lithium-gap-resolver-ia32.cc \
    162 		src/ia32/lithium-ia32.cc \
    163 		src/ia32/macro-assembler-ia32.cc \
    164 		src/ia32/regexp-macro-assembler-ia32.cc \
    165 		src/ia32/stub-cache-ia32.cc
    166 endif
    167 
    168 # Enable DEBUG option.
    169 ifeq ($(DEBUG_V8),true)
    170   V8_LOCAL_SRC_FILES += \
    171 		src/objects-debug.cc \
    172 		src/prettyprinter.cc \
    173 		src/regexp-macro-assembler-tracer.cc
    174 endif
    175 
    176 # The order of these JS library sources is important. The order here determines
    177 # the ordering of the JS code in libraries.cc, which must be in a specific order
    178 # to meet compiler dependency requirements.
    179 V8_LOCAL_JS_LIBRARY_FILES := \
    180 	src/runtime.js \
    181 	src/v8natives.js \
    182 	src/array.js \
    183 	src/string.js \
    184 	src/uri.js \
    185 	src/math.js \
    186 	src/messages.js \
    187 	src/apinatives.js 
    188 
    189 # These JS library sources must follow the above sources but their order is not
    190 # important.
    191 V8_LOCAL_JS_LIBRARY_FILES += \
    192 	src/date.js \
    193 	src/debug-debugger.js \
    194 	src/json.js \
    195 	src/liveedit-debugger.js \
    196 	src/mirror-debugger.js \
    197 	src/regexp.js
    198 
    199 V8_LOCAL_JS_LIBRARY_FILES += \
    200 	src/macros.py
    201 
    202 V8_LOCAL_JS_EXPERIMENTAL_LIBRARY_FILES := \
    203 	src/collection.js \
    204 	src/proxy.js
    205 
    206