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/dateparser.cc \ 26 src/debug.cc \ 27 src/debug-agent.cc \ 28 src/deoptimizer.cc \ 29 src/disassembler.cc \ 30 src/diy-fp.cc \ 31 src/dtoa.cc \ 32 src/execution.cc \ 33 src/extensions/externalize-string-extension.cc \ 34 src/extensions/gc-extension.cc \ 35 src/factory.cc \ 36 src/fast-dtoa.cc \ 37 src/fixed-dtoa.cc \ 38 src/flags.cc \ 39 src/frame-element.cc \ 40 src/frames.cc \ 41 src/full-codegen.cc \ 42 src/func-name-inferrer.cc \ 43 src/global-handles.cc \ 44 src/handles.cc \ 45 src/hashmap.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/interpreter-irregexp.cc \ 52 src/isolate.cc \ 53 src/jsregexp.cc \ 54 src/lithium.cc \ 55 src/lithium-allocator.cc \ 56 src/liveedit.cc \ 57 src/log.cc \ 58 src/log-utils.cc \ 59 src/mark-compact.cc \ 60 src/messages.cc \ 61 src/objects.cc \ 62 src/objects-visiting.cc \ 63 src/parser.cc \ 64 src/preparse-data.cc \ 65 src/preparser.cc \ 66 src/property.cc \ 67 src/profile-generator.cc \ 68 src/regexp-macro-assembler.cc \ 69 src/regexp-macro-assembler-irregexp.cc \ 70 src/regexp-stack.cc \ 71 src/rewriter.cc \ 72 src/runtime.cc \ 73 src/runtime-profiler.cc \ 74 src/safepoint-table.cc \ 75 src/scanner.cc \ 76 src/scanner-base.cc \ 77 src/scopeinfo.cc \ 78 src/scopes.cc \ 79 src/serialize.cc \ 80 src/snapshot-common.cc \ 81 src/spaces.cc \ 82 src/string-search.cc \ 83 src/string-stream.cc \ 84 src/strtod.cc \ 85 src/stub-cache.cc \ 86 src/token.cc \ 87 src/top.cc \ 88 src/type-info.cc \ 89 src/unicode.cc \ 90 src/utils.cc \ 91 src/v8-counters.cc \ 92 src/v8.cc \ 93 src/v8threads.cc \ 94 src/variables.cc \ 95 src/version.cc \ 96 src/zone.cc 97 98 ifeq ($(TARGET_ARCH),arm) 99 V8_LOCAL_SRC_FILES += \ 100 src/arm/assembler-arm.cc \ 101 src/arm/builtins-arm.cc \ 102 src/arm/codegen-arm.cc \ 103 src/arm/code-stubs-arm.cc \ 104 src/arm/constants-arm.cc \ 105 src/arm/cpu-arm.cc \ 106 src/arm/debug-arm.cc \ 107 src/arm/deoptimizer-arm.cc \ 108 src/arm/disasm-arm.cc \ 109 src/arm/frames-arm.cc \ 110 src/arm/full-codegen-arm.cc \ 111 src/arm/ic-arm.cc \ 112 src/arm/lithium-arm.cc \ 113 src/arm/lithium-codegen-arm.cc \ 114 src/arm/lithium-gap-resolver-arm.cc \ 115 src/arm/macro-assembler-arm.cc \ 116 src/arm/regexp-macro-assembler-arm.cc \ 117 src/arm/stub-cache-arm.cc 118 endif 119 120 # Enable DEBUG option. 121 ifeq ($(DEBUG_V8),true) 122 V8_LOCAL_SRC_FILES += \ 123 src/objects-debug.cc \ 124 src/prettyprinter.cc \ 125 src/regexp-macro-assembler-tracer.cc 126 endif 127 128 # The order of these JS library sources is important. The order here determines 129 # the ordering of the JS code in libraries.cc, which must be in a specific order 130 # to meet compiler dependency requirements. 131 V8_LOCAL_JS_LIBRARY_FILES := \ 132 src/runtime.js \ 133 src/v8natives.js \ 134 src/array.js \ 135 src/string.js \ 136 src/uri.js \ 137 src/math.js \ 138 src/messages.js \ 139 src/apinatives.js 140 141 # These JS library sources must follow the above sources but their order is not 142 # important. 143 V8_LOCAL_JS_LIBRARY_FILES += \ 144 src/date.js \ 145 src/debug-debugger.js \ 146 src/json.js \ 147 src/liveedit-debugger.js \ 148 src/mirror-debugger.js \ 149 src/regexp.js 150 151 V8_LOCAL_JS_LIBRARY_FILES += \ 152 src/macros.py 153