blob: 8ed2454bea7c5e76d04f56727107b52213abc77c [file] [log] [blame]
LOCAL_CPP_EXTENSION := .cc
V8_LOCAL_SRC_FILES := \
src/accessors.cc \
src/allocation.cc \
src/api.cc \
src/assembler.cc \
src/ast.cc \
src/bignum.cc \
src/bignum-dtoa.cc \
src/bootstrapper.cc \
src/builtins.cc \
src/cached-powers.cc \
src/checks.cc \
src/circular-queue.cc \
src/code-stubs.cc \
src/codegen.cc \
src/compilation-cache.cc \
src/compiler.cc \
src/contexts.cc \
src/conversions.cc \
src/counters.cc \
src/cpu-profiler.cc \
src/data-flow.cc \
src/dateparser.cc \
src/debug.cc \
src/debug-agent.cc \
src/deoptimizer.cc \
src/disassembler.cc \
src/diy-fp.cc \
src/dtoa.cc \
src/execution.cc \
src/extensions/externalize-string-extension.cc \
src/extensions/gc-extension.cc \
src/factory.cc \
src/fast-dtoa.cc \
src/fixed-dtoa.cc \
src/flags.cc \
src/frame-element.cc \
src/frames.cc \
src/full-codegen.cc \
src/func-name-inferrer.cc \
src/global-handles.cc \
src/handles.cc \
src/hashmap.cc \
src/heap.cc \
src/heap-profiler.cc \
src/hydrogen.cc \
src/hydrogen-instructions.cc \
src/ic.cc \
src/interpreter-irregexp.cc \
src/isolate.cc \
src/jsregexp.cc \
src/lithium.cc \
src/lithium-allocator.cc \
src/liveedit.cc \
src/log.cc \
src/log-utils.cc \
src/mark-compact.cc \
src/messages.cc \
src/objects.cc \
src/objects-visiting.cc \
src/parser.cc \
src/preparse-data.cc \
src/preparser.cc \
src/property.cc \
src/profile-generator.cc \
src/regexp-macro-assembler.cc \
src/regexp-macro-assembler-irregexp.cc \
src/regexp-stack.cc \
src/rewriter.cc \
src/runtime.cc \
src/runtime-profiler.cc \
src/safepoint-table.cc \
src/scanner.cc \
src/scanner-base.cc \
src/scopeinfo.cc \
src/scopes.cc \
src/serialize.cc \
src/snapshot-common.cc \
src/spaces.cc \
src/string-search.cc \
src/string-stream.cc \
src/strtod.cc \
src/stub-cache.cc \
src/token.cc \
src/top.cc \
src/type-info.cc \
src/unicode.cc \
src/utils.cc \
src/v8-counters.cc \
src/v8.cc \
src/v8threads.cc \
src/variables.cc \
src/version.cc \
src/zone.cc
ifeq ($(TARGET_ARCH),arm)
V8_LOCAL_SRC_FILES += \
src/arm/assembler-arm.cc \
src/arm/builtins-arm.cc \
src/arm/codegen-arm.cc \
src/arm/code-stubs-arm.cc \
src/arm/constants-arm.cc \
src/arm/cpu-arm.cc \
src/arm/debug-arm.cc \
src/arm/deoptimizer-arm.cc \
src/arm/disasm-arm.cc \
src/arm/frames-arm.cc \
src/arm/full-codegen-arm.cc \
src/arm/ic-arm.cc \
src/arm/lithium-arm.cc \
src/arm/lithium-codegen-arm.cc \
src/arm/lithium-gap-resolver-arm.cc \
src/arm/macro-assembler-arm.cc \
src/arm/regexp-macro-assembler-arm.cc \
src/arm/stub-cache-arm.cc
endif
ifeq ($(TARGET_ARCH),x86)
V8_LOCAL_SRC_FILES += \
src/atomicops_internals_x86_gcc.cc \
src/ia32/assembler-ia32.cc \
src/ia32/builtins-ia32.cc \
src/ia32/codegen-ia32.cc \
src/ia32/code-stubs-ia32.cc \
src/ia32/cpu-ia32.cc \
src/ia32/debug-ia32.cc \
src/ia32/deoptimizer-ia32.cc \
src/ia32/disasm-ia32.cc \
src/ia32/frames-ia32.cc \
src/ia32/full-codegen-ia32.cc \
src/ia32/ic-ia32.cc \
src/ia32/lithium-codegen-ia32.cc \
src/ia32/lithium-gap-resolver-ia32.cc \
src/ia32/lithium-ia32.cc \
src/ia32/macro-assembler-ia32.cc \
src/ia32/regexp-macro-assembler-ia32.cc \
src/ia32/stub-cache-ia32.cc
endif
# Enable DEBUG option.
ifeq ($(DEBUG_V8),true)
V8_LOCAL_SRC_FILES += \
src/objects-debug.cc \
src/prettyprinter.cc \
src/regexp-macro-assembler-tracer.cc
endif
# The order of these JS library sources is important. The order here determines
# the ordering of the JS code in libraries.cc, which must be in a specific order
# to meet compiler dependency requirements.
V8_LOCAL_JS_LIBRARY_FILES := \
src/runtime.js \
src/v8natives.js \
src/array.js \
src/string.js \
src/uri.js \
src/math.js \
src/messages.js \
src/apinatives.js
# These JS library sources must follow the above sources but their order is not
# important.
V8_LOCAL_JS_LIBRARY_FILES += \
src/date.js \
src/debug-debugger.js \
src/json.js \
src/liveedit-debugger.js \
src/mirror-debugger.js \
src/regexp.js
V8_LOCAL_JS_LIBRARY_FILES += \
src/macros.py