Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 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 \ |
Russell Brenner | 90bac25 | 2010-11-18 13:33:46 -0800 | [diff] [blame] | 9 | src/bignum.cc \ |
Shimeng (Simon) Wang | 8a31eba | 2010-12-06 19:01:33 -0800 | [diff] [blame] | 10 | src/bignum-dtoa.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 11 | src/bootstrapper.cc \ |
| 12 | src/builtins.cc \ |
Ben Murdoch | f87a203 | 2010-10-22 12:50:53 +0100 | [diff] [blame] | 13 | src/cached-powers.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 14 | src/checks.cc \ |
Ben Murdoch | 442c3c4 | 2011-06-02 17:41:21 +0100 | [diff] [blame] | 15 | src/circular-queue.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 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 \ |
Steve Block | 6ded16b | 2010-05-10 14:33:55 +0100 | [diff] [blame] | 23 | src/cpu-profiler.cc \ |
Leon Clarke | 4515c47 | 2010-02-03 11:58:03 +0000 | [diff] [blame] | 24 | src/data-flow.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 25 | src/dateparser.cc \ |
Ben Murdoch | d46c4d3 | 2010-02-08 19:10:25 +0000 | [diff] [blame] | 26 | src/debug.cc \ |
| 27 | src/debug-agent.cc \ |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 28 | src/deoptimizer.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 29 | src/disassembler.cc \ |
Steve Block | 6ded16b | 2010-05-10 14:33:55 +0100 | [diff] [blame] | 30 | src/diy-fp.cc \ |
Kristian Monsen | 25f6136 | 2010-05-21 11:50:48 +0100 | [diff] [blame] | 31 | src/dtoa.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 32 | src/execution.cc \ |
Shimeng (Simon) Wang | 8a31eba | 2010-12-06 19:01:33 -0800 | [diff] [blame] | 33 | src/extensions/externalize-string-extension.cc \ |
| 34 | src/extensions/gc-extension.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 35 | src/factory.cc \ |
Steve Block | 6ded16b | 2010-05-10 14:33:55 +0100 | [diff] [blame] | 36 | src/fast-dtoa.cc \ |
Kristian Monsen | 25f6136 | 2010-05-21 11:50:48 +0100 | [diff] [blame] | 37 | src/fixed-dtoa.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 38 | src/flags.cc \ |
| 39 | src/frame-element.cc \ |
| 40 | src/frames.cc \ |
Leon Clarke | d91b9f7 | 2010-01-27 17:25:45 +0000 | [diff] [blame] | 41 | src/full-codegen.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 42 | src/func-name-inferrer.cc \ |
| 43 | src/global-handles.cc \ |
| 44 | src/handles.cc \ |
| 45 | src/hashmap.cc \ |
| 46 | src/heap.cc \ |
Andrei Popescu | 3100271 | 2010-02-23 13:46:05 +0000 | [diff] [blame] | 47 | src/heap-profiler.cc \ |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 48 | src/hydrogen.cc \ |
| 49 | src/hydrogen-instructions.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 50 | src/ic.cc \ |
| 51 | src/interpreter-irregexp.cc \ |
Steve Block | 7eeff62 | 2011-06-01 15:58:04 +0100 | [diff] [blame] | 52 | src/isolate.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 53 | src/jsregexp.cc \ |
Ben Murdoch | 086aeea | 2011-05-13 15:57:08 +0100 | [diff] [blame] | 54 | src/lithium.cc \ |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 55 | src/lithium-allocator.cc \ |
Andrei Popescu | 402d937 | 2010-02-26 13:31:12 +0000 | [diff] [blame] | 56 | src/liveedit.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 57 | src/log.cc \ |
| 58 | src/log-utils.cc \ |
| 59 | src/mark-compact.cc \ |
| 60 | src/messages.cc \ |
| 61 | src/objects.cc \ |
Iain Merrick | 7568138 | 2010-08-19 15:07:18 +0100 | [diff] [blame] | 62 | src/objects-visiting.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 63 | src/parser.cc \ |
Shimeng (Simon) Wang | 8a31eba | 2010-12-06 19:01:33 -0800 | [diff] [blame] | 64 | src/preparse-data.cc \ |
| 65 | src/preparser.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 66 | src/property.cc \ |
Ben Murdoch | 442c3c4 | 2011-06-02 17:41:21 +0100 | [diff] [blame] | 67 | src/profile-generator.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 68 | src/regexp-macro-assembler.cc \ |
| 69 | src/regexp-macro-assembler-irregexp.cc \ |
| 70 | src/regexp-stack.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 71 | src/rewriter.cc \ |
| 72 | src/runtime.cc \ |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 73 | src/runtime-profiler.cc \ |
| 74 | src/safepoint-table.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 75 | src/scanner.cc \ |
Teng-Hui Zhu | 3e5fa29 | 2010-11-09 16:16:48 -0800 | [diff] [blame] | 76 | src/scanner-base.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 77 | src/scopeinfo.cc \ |
| 78 | src/scopes.cc \ |
| 79 | src/serialize.cc \ |
| 80 | src/snapshot-common.cc \ |
| 81 | src/spaces.cc \ |
Ben Murdoch | f87a203 | 2010-10-22 12:50:53 +0100 | [diff] [blame] | 82 | src/string-search.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 83 | src/string-stream.cc \ |
Ben Murdoch | f87a203 | 2010-10-22 12:50:53 +0100 | [diff] [blame] | 84 | src/strtod.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 85 | src/stub-cache.cc \ |
| 86 | src/token.cc \ |
| 87 | src/top.cc \ |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 88 | src/type-info.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 89 | src/unicode.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 90 | src/utils.cc \ |
| 91 | src/v8-counters.cc \ |
| 92 | src/v8.cc \ |
| 93 | src/v8threads.cc \ |
| 94 | src/variables.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 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 \ |
Kristian Monsen | 80d68ea | 2010-09-08 11:05:35 +0100 | [diff] [blame] | 103 | src/arm/code-stubs-arm.cc \ |
Leon Clarke | a946cb1 | 2010-02-04 16:19:54 +0000 | [diff] [blame] | 104 | src/arm/constants-arm.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 105 | src/arm/cpu-arm.cc \ |
Ben Murdoch | d46c4d3 | 2010-02-08 19:10:25 +0000 | [diff] [blame] | 106 | src/arm/debug-arm.cc \ |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 107 | src/arm/deoptimizer-arm.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 108 | src/arm/disasm-arm.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 109 | src/arm/frames-arm.cc \ |
Leon Clarke | d91b9f7 | 2010-01-27 17:25:45 +0000 | [diff] [blame] | 110 | src/arm/full-codegen-arm.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 111 | src/arm/ic-arm.cc \ |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 112 | src/arm/lithium-arm.cc \ |
| 113 | src/arm/lithium-codegen-arm.cc \ |
Ben Murdoch | e0cee9b | 2011-05-25 10:26:03 +0100 | [diff] [blame] | 114 | src/arm/lithium-gap-resolver-arm.cc \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 115 | src/arm/macro-assembler-arm.cc \ |
| 116 | src/arm/regexp-macro-assembler-arm.cc \ |
Ben Murdoch | 46baaaf | 2011-06-02 12:56:56 +0100 | [diff] [blame] | 117 | src/arm/stub-cache-arm.cc |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 118 | endif |
| 119 | |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 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 | |
Steve Block | 388eba4 | 2010-05-18 15:39:47 +0100 | [diff] [blame] | 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. |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 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 \ |
Steve Block | 388eba4 | 2010-05-18 15:39:47 +0100 | [diff] [blame] | 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 += \ |
Andrei Popescu | 3100271 | 2010-02-23 13:46:05 +0000 | [diff] [blame] | 144 | src/date.js \ |
Andrei Popescu | 2007755 | 2010-02-26 12:50:21 +0000 | [diff] [blame] | 145 | src/debug-debugger.js \ |
Steve Block | 388eba4 | 2010-05-18 15:39:47 +0100 | [diff] [blame] | 146 | src/json.js \ |
Steve Block | caef03e | 2010-05-17 14:07:16 +0100 | [diff] [blame] | 147 | src/liveedit-debugger.js \ |
Steve Block | 388eba4 | 2010-05-18 15:39:47 +0100 | [diff] [blame] | 148 | src/mirror-debugger.js \ |
| 149 | src/regexp.js |
| 150 | |
| 151 | V8_LOCAL_JS_LIBRARY_FILES += \ |
Steve Block | a7e24c1 | 2009-10-30 11:49:00 +0000 | [diff] [blame] | 152 | src/macros.py |