1LOCAL_CPP_EXTENSION := .cc 2 3V8_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/bootstrapper.cc \ 10 src/builtins.cc \ 11 src/checks.cc \ 12 src/code-stubs.cc \ 13 src/codegen.cc \ 14 src/compilation-cache.cc \ 15 src/compiler.cc \ 16 src/contexts.cc \ 17 src/conversions.cc \ 18 src/counters.cc \ 19 src/data-flow.cc \ 20 src/dateparser.cc \ 21 src/debug.cc \ 22 src/debug-agent.cc \ 23 src/disassembler.cc \ 24 src/execution.cc \ 25 src/factory.cc \ 26 src/fast-codegen.cc \ 27 src/flags.cc \ 28 src/frame-element.cc \ 29 src/frames.cc \ 30 src/full-codegen.cc \ 31 src/func-name-inferrer.cc \ 32 src/global-handles.cc \ 33 src/handles.cc \ 34 src/hashmap.cc \ 35 src/heap.cc \ 36 src/heap-profiler.cc \ 37 src/ic.cc \ 38 src/interpreter-irregexp.cc \ 39 src/jsregexp.cc \ 40 src/jump-target.cc \ 41 src/liveedit.cc \ 42 src/log.cc \ 43 src/log-utils.cc \ 44 src/mark-compact.cc \ 45 src/messages.cc \ 46 src/objects.cc \ 47 src/oprofile-agent.cc \ 48 src/parser.cc \ 49 src/property.cc \ 50 src/regexp-macro-assembler.cc \ 51 src/regexp-macro-assembler-irregexp.cc \ 52 src/regexp-stack.cc \ 53 src/register-allocator.cc \ 54 src/rewriter.cc \ 55 src/runtime.cc \ 56 src/scanner.cc \ 57 src/scopeinfo.cc \ 58 src/scopes.cc \ 59 src/serialize.cc \ 60 src/snapshot-common.cc \ 61 src/spaces.cc \ 62 src/string-stream.cc \ 63 src/stub-cache.cc \ 64 src/token.cc \ 65 src/top.cc \ 66 src/unicode.cc \ 67 src/usage-analyzer.cc \ 68 src/utils.cc \ 69 src/v8-counters.cc \ 70 src/v8.cc \ 71 src/v8threads.cc \ 72 src/variables.cc \ 73 src/virtual-frame.cc \ 74 src/version.cc \ 75 src/zone.cc 76 77ifeq ($(TARGET_ARCH),arm) 78 V8_LOCAL_SRC_FILES += \ 79 src/arm/assembler-arm.cc \ 80 src/arm/builtins-arm.cc \ 81 src/arm/codegen-arm.cc \ 82 src/arm/constants-arm.cc \ 83 src/arm/cpu-arm.cc \ 84 src/arm/debug-arm.cc \ 85 src/arm/disasm-arm.cc \ 86 src/arm/frames-arm.cc \ 87 src/arm/fast-codegen-arm.cc \ 88 src/arm/full-codegen-arm.cc \ 89 src/arm/ic-arm.cc \ 90 src/arm/jump-target-arm.cc \ 91 src/arm/macro-assembler-arm.cc \ 92 src/arm/regexp-macro-assembler-arm.cc \ 93 src/arm/register-allocator-arm.cc \ 94 src/arm/stub-cache-arm.cc \ 95 src/arm/virtual-frame-arm.cc 96endif 97 98ifeq ($(TARGET_ARCH),x86) 99 V8_LOCAL_SRC_FILES += \ 100 src/ia32/assembler-ia32.cc \ 101 src/ia32/builtins-ia32.cc \ 102 src/ia32/codegen-ia32.cc \ 103 src/ia32/cpu-ia32.cc \ 104 src/ia32/disasm-ia32.cc \ 105 src/ia32/frames-ia32.cc \ 106 src/ia32/ic-ia32.cc \ 107 src/ia32/jump-target-ia32.cc \ 108 src/ia32/macro-assembler-ia32.cc \ 109 src/ia32/regexp-macro-assembler-ia32.cc \ 110 src/ia32/register-allocator-ia32.cc \ 111 src/ia32/stub-cache-ia32.cc \ 112 src/ia32/virtual-frame-ia32.cc 113endif 114 115# Enable DEBUG option. 116ifeq ($(DEBUG_V8),true) 117 V8_LOCAL_SRC_FILES += \ 118 src/objects-debug.cc \ 119 src/prettyprinter.cc \ 120 src/regexp-macro-assembler-tracer.cc 121endif 122 123V8_LOCAL_SRC_FILES += \ 124 src/dtoa-config.c 125 126V8_LOCAL_JS_LIBRARY_FILES := \ 127 src/runtime.js \ 128 src/v8natives.js \ 129 src/array.js \ 130 src/string.js \ 131 src/uri.js \ 132 src/math.js \ 133 src/messages.js \ 134 src/apinatives.js \ 135 src/date.js \ 136 src/regexp.js \ 137 src/json.js \ 138 src/mirror-debugger.js \ 139 src/debug-debugger.js \ 140 src/macros.py 141