LOCAL_CPP_EXTENSION := .cc LOCAL_SRC_FILES := \ src/accessors.cc \ src/address-map.cc \ src/allocation.cc \ src/allocation-site-scopes.cc \ src/api.cc \ src/api-experimental.cc \ src/api-natives.cc \ src/arguments.cc \ src/assembler.cc \ src/assert-scope.cc \ src/ast/ast.cc \ src/ast/ast-expression-rewriter.cc \ src/ast/ast-expression-visitor.cc \ src/ast/ast-literal-reindexer.cc \ src/ast/ast-numbering.cc \ src/ast/ast-value-factory.cc \ src/ast/modules.cc \ src/ast/prettyprinter.cc \ src/ast/scopeinfo.cc \ src/ast/scopes.cc \ src/ast/variables.cc \ src/background-parsing-task.cc \ src/bailout-reason.cc \ src/basic-block-profiler.cc \ src/bignum.cc \ src/bignum-dtoa.cc \ src/bit-vector.cc \ src/bootstrapper.cc \ src/builtins.cc \ src/cached-powers.cc \ src/cancelable-task.cc \ src/char-predicates.cc \ src/code-factory.cc \ src/codegen.cc \ src/code-stubs.cc \ src/code-stubs-hydrogen.cc \ src/compilation-cache.cc \ src/compilation-dependencies.cc \ src/compilation-statistics.cc \ src/compiler/access-builder.cc \ src/compiler/access-info.cc \ src/compiler/all-nodes.cc \ src/compiler/ast-graph-builder.cc \ src/compiler/ast-loop-assignment-analyzer.cc \ src/compiler/basic-block-instrumentor.cc \ src/compiler/branch-elimination.cc \ src/compiler/bytecode-branch-analysis.cc \ src/compiler/bytecode-graph-builder.cc \ src/compiler.cc \ src/compiler/change-lowering.cc \ src/compiler/c-linkage.cc \ src/compiler/coalesced-live-ranges.cc \ src/compiler/code-generator.cc \ src/compiler/code-stub-assembler.cc \ src/compiler/common-node-cache.cc \ src/compiler/common-operator.cc \ src/compiler/common-operator-reducer.cc \ src/compiler/control-builders.cc \ src/compiler/control-equivalence.cc \ src/compiler/control-flow-optimizer.cc \ src/compiler/dead-code-elimination.cc \ src/compiler/escape-analysis.cc \ src/compiler/escape-analysis-reducer.cc \ src/compiler/fast-accessor-assembler.cc \ src/compiler/frame.cc \ src/compiler/frame-elider.cc \ src/compiler/frame-states.cc \ src/compiler/gap-resolver.cc \ src/compiler/graph.cc \ src/compiler/graph-reducer.cc \ src/compiler/graph-replay.cc \ src/compiler/graph-trimmer.cc \ src/compiler/graph-visualizer.cc \ src/compiler/greedy-allocator.cc \ src/compiler/instruction.cc \ src/compiler/instruction-scheduler.cc \ src/compiler/instruction-selector.cc \ src/compiler/interpreter-assembler.cc \ src/compiler/js-builtin-reducer.cc \ src/compiler/js-call-reducer.cc \ src/compiler/js-context-relaxation.cc \ src/compiler/js-context-specialization.cc \ src/compiler/js-frame-specialization.cc \ src/compiler/js-generic-lowering.cc \ src/compiler/js-global-object-specialization.cc \ src/compiler/js-graph.cc \ src/compiler/js-inlining.cc \ src/compiler/js-inlining-heuristic.cc \ src/compiler/js-intrinsic-lowering.cc \ src/compiler/js-native-context-specialization.cc \ src/compiler/js-operator.cc \ src/compiler/js-typed-lowering.cc \ src/compiler/jump-threading.cc \ src/compiler/linkage.cc \ src/compiler/liveness-analyzer.cc \ src/compiler/live-range-separator.cc \ src/compiler/load-elimination.cc \ src/compiler/loop-analysis.cc \ src/compiler/loop-peeling.cc \ src/compiler/machine-operator.cc \ src/compiler/machine-operator-reducer.cc \ src/compiler/move-optimizer.cc \ src/compiler/node-cache.cc \ src/compiler/node.cc \ src/compiler/node-marker.cc \ src/compiler/node-matchers.cc \ src/compiler/node-properties.cc \ src/compiler/opcodes.cc \ src/compiler/operator.cc \ src/compiler/operator-properties.cc \ src/compiler/osr.cc \ src/compiler/pipeline.cc \ src/compiler/pipeline-statistics.cc \ src/compiler/raw-machine-assembler.cc \ src/compiler/register-allocator.cc \ src/compiler/register-allocator-verifier.cc \ src/compiler/representation-change.cc \ src/compiler/schedule.cc \ src/compiler/scheduler.cc \ src/compiler/select-lowering.cc \ src/compiler/simplified-lowering.cc \ src/compiler/simplified-operator.cc \ src/compiler/simplified-operator-reducer.cc \ src/compiler/source-position.cc \ src/compiler/state-values-utils.cc \ src/compiler/tail-call-optimization.cc \ src/compiler/type-hint-analyzer.cc \ src/compiler/type-hints.cc \ src/compiler/typer.cc \ src/compiler/value-numbering-reducer.cc \ src/compiler/verifier.cc \ src/compiler/wasm-compiler.cc \ src/compiler/wasm-linkage.cc \ src/compiler/zone-pool.cc \ src/context-measure.cc \ src/contexts.cc \ src/conversions.cc \ src/counters.cc \ src/crankshaft/hydrogen-bce.cc \ src/crankshaft/hydrogen-bch.cc \ src/crankshaft/hydrogen-canonicalize.cc \ src/crankshaft/hydrogen.cc \ src/crankshaft/hydrogen-check-elimination.cc \ src/crankshaft/hydrogen-dce.cc \ src/crankshaft/hydrogen-dehoist.cc \ src/crankshaft/hydrogen-environment-liveness.cc \ src/crankshaft/hydrogen-escape-analysis.cc \ src/crankshaft/hydrogen-gvn.cc \ src/crankshaft/hydrogen-infer-representation.cc \ src/crankshaft/hydrogen-infer-types.cc \ src/crankshaft/hydrogen-instructions.cc \ src/crankshaft/hydrogen-load-elimination.cc \ src/crankshaft/hydrogen-mark-deoptimize.cc \ src/crankshaft/hydrogen-mark-unreachable.cc \ src/crankshaft/hydrogen-osr.cc \ src/crankshaft/hydrogen-range-analysis.cc \ src/crankshaft/hydrogen-redundant-phi.cc \ src/crankshaft/hydrogen-removable-simulates.cc \ src/crankshaft/hydrogen-representation-changes.cc \ src/crankshaft/hydrogen-sce.cc \ src/crankshaft/hydrogen-store-elimination.cc \ src/crankshaft/hydrogen-types.cc \ src/crankshaft/hydrogen-uint32-analysis.cc \ src/crankshaft/lithium-allocator.cc \ src/crankshaft/lithium.cc \ src/crankshaft/lithium-codegen.cc \ src/crankshaft/typing.cc \ src/date.cc \ src/dateparser.cc \ src/debug/debug.cc \ src/debug/debug-evaluate.cc \ src/debug/debug-frames.cc \ src/debug/debug-scopes.cc \ src/debug/liveedit.cc \ src/deoptimizer.cc \ src/disassembler.cc \ src/diy-fp.cc \ src/dtoa.cc \ src/elements.cc \ src/elements-kind.cc \ src/execution.cc \ src/extensions/externalize-string-extension.cc \ src/extensions/free-buffer-extension.cc \ src/extensions/gc-extension.cc \ src/extensions/statistics-extension.cc \ src/extensions/trigger-failure-extension.cc \ src/factory.cc \ src/fast-dtoa.cc \ src/fixed-dtoa.cc \ src/flags.cc \ src/frames.cc \ src/full-codegen/full-codegen.cc \ src/futex-emulation.cc \ src/gdb-jit.cc \ src/global-handles.cc \ src/handles.cc \ src/heap/array-buffer-tracker.cc \ src/heap/gc-idle-time-handler.cc \ src/heap/gc-tracer.cc \ src/heap/heap.cc \ src/heap/incremental-marking.cc \ src/heap/incremental-marking-job.cc \ src/heap/mark-compact.cc \ src/heap/memory-reducer.cc \ src/heap/object-stats.cc \ src/heap/objects-visiting.cc \ src/heap/scavenge-job.cc \ src/heap/scavenger.cc \ src/heap/slots-buffer.cc \ src/heap/spaces.cc \ src/heap/store-buffer.cc \ src/i18n.cc \ src/ic/access-compiler.cc \ src/ic/call-optimization.cc \ src/ic/handler-compiler.cc \ src/ic/ic.cc \ src/ic/ic-compiler.cc \ src/ic/ic-state.cc \ src/ic/stub-cache.cc \ src/icu_util.cc \ src/identity-map.cc \ src/interface-descriptors.cc \ src/interpreter/bytecode-array-builder.cc \ src/interpreter/bytecode-array-iterator.cc \ src/interpreter/bytecode-generator.cc \ src/interpreter/bytecode-register-allocator.cc \ src/interpreter/bytecodes.cc \ src/interpreter/constant-array-builder.cc \ src/interpreter/control-flow-builders.cc \ src/interpreter/interpreter.cc \ src/isolate.cc \ src/key-accumulator.cc \ src/layout-descriptor.cc \ src/log.cc \ src/log-utils.cc \ src/lookup.cc \ src/machine-type.cc \ src/messages.cc \ src/objects.cc \ src/objects-debug.cc \ src/objects-printer.cc \ src/optimizing-compile-dispatcher.cc \ src/ostreams.cc \ src/parsing/func-name-inferrer.cc \ src/parsing/parameter-initializer-rewriter.cc \ src/parsing/parser.cc \ src/parsing/pattern-rewriter.cc \ src/parsing/preparse-data.cc \ src/parsing/preparser.cc \ src/parsing/rewriter.cc \ src/parsing/scanner.cc \ src/parsing/scanner-character-streams.cc \ src/parsing/token.cc \ src/pending-compilation-error-handler.cc \ src/profiler/allocation-tracker.cc \ src/profiler/cpu-profiler.cc \ src/profiler/heap-profiler.cc \ src/profiler/heap-snapshot-generator.cc \ src/profiler/profile-generator.cc \ src/profiler/sampler.cc \ src/profiler/strings-storage.cc \ src/property.cc \ src/property-descriptor.cc \ src/regexp/interpreter-irregexp.cc \ src/regexp/jsregexp.cc \ src/regexp/regexp-ast.cc \ src/regexp/regexp-macro-assembler.cc \ src/regexp/regexp-macro-assembler-irregexp.cc \ src/regexp/regexp-macro-assembler-tracer.cc \ src/regexp/regexp-parser.cc \ src/regexp/regexp-stack.cc \ src/register-configuration.cc \ src/runtime-profiler.cc \ src/runtime/runtime-array.cc \ src/runtime/runtime-atomics.cc \ src/runtime/runtime.cc \ src/runtime/runtime-classes.cc \ src/runtime/runtime-collections.cc \ src/runtime/runtime-compiler.cc \ src/runtime/runtime-date.cc \ src/runtime/runtime-debug.cc \ src/runtime/runtime-forin.cc \ src/runtime/runtime-function.cc \ src/runtime/runtime-futex.cc \ src/runtime/runtime-generator.cc \ src/runtime/runtime-i18n.cc \ src/runtime/runtime-internal.cc \ src/runtime/runtime-interpreter.cc \ src/runtime/runtime-json.cc \ src/runtime/runtime-literals.cc \ src/runtime/runtime-liveedit.cc \ src/runtime/runtime-maths.cc \ src/runtime/runtime-numbers.cc \ src/runtime/runtime-object.cc \ src/runtime/runtime-observe.cc \ src/runtime/runtime-operators.cc \ src/runtime/runtime-proxy.cc \ src/runtime/runtime-regexp.cc \ src/runtime/runtime-scopes.cc \ src/runtime/runtime-simd.cc \ src/runtime/runtime-strings.cc \ src/runtime/runtime-symbol.cc \ src/runtime/runtime-test.cc \ src/runtime/runtime-typedarray.cc \ src/runtime/runtime-uri.cc \ src/safepoint-table.cc \ src/snapshot/natives-common.cc \ src/snapshot/serialize.cc \ src/snapshot/snapshot-common.cc \ src/snapshot/snapshot-source-sink.cc \ src/startup-data-util.cc \ src/string-builder.cc \ src/string-stream.cc \ src/strtod.cc \ src/third_party/fdlibm/fdlibm.cc \ src/tracing/trace-event.cc \ src/transitions.cc \ src/type-cache.cc \ src/type-feedback-vector.cc \ src/type-info.cc \ src/types.cc \ src/typing-asm.cc \ src/typing-reset.cc \ src/unicode.cc \ src/unicode-decoder.cc \ src/utils.cc \ src/v8.cc \ src/v8threads.cc \ src/version.cc \ src/wasm/asm-wasm-builder.cc \ src/wasm/ast-decoder.cc \ src/wasm/encoder.cc \ src/wasm/module-decoder.cc \ src/wasm/wasm-js.cc \ src/wasm/wasm-module.cc \ src/wasm/wasm-opcodes.cc \ src/wasm/wasm-result.cc \ src/zone.cc LOCAL_SRC_FILES += \ src/base/atomicops_internals_x86_gcc.cc \ src/base/bits.cc \ src/base/cpu.cc \ src/base/division-by-constant.cc \ src/base/functional.cc \ src/base/logging.cc \ src/base/once.cc \ src/base/platform/condition-variable.cc \ src/base/platform/mutex.cc \ src/base/platform/semaphore.cc \ src/base/platform/time.cc \ src/base/sys-info.cc \ src/base/utils/random-number-generator.cc LOCAL_SRC_FILES += \ src/libplatform/default-platform.cc \ src/libplatform/task-queue.cc \ src/libplatform/worker-thread.cc v8_local_src_files_arm := \ src/arm/assembler-arm.cc \ src/arm/builtins-arm.cc \ src/arm/code-stubs-arm.cc \ src/arm/codegen-arm.cc \ src/arm/constants-arm.cc \ src/arm/cpu-arm.cc \ src/arm/deoptimizer-arm.cc \ src/arm/disasm-arm.cc \ src/arm/frames-arm.cc \ src/arm/interface-descriptors-arm.cc \ src/arm/macro-assembler-arm.cc \ src/arm/simulator-arm.cc \ src/compiler/arm/code-generator-arm.cc \ src/compiler/arm/instruction-scheduler-arm.cc \ src/compiler/arm/instruction-selector-arm.cc \ src/crankshaft/arm/lithium-arm.cc \ src/crankshaft/arm/lithium-codegen-arm.cc \ src/crankshaft/arm/lithium-gap-resolver-arm.cc \ src/debug/arm/debug-arm.cc \ src/full-codegen/arm/full-codegen-arm.cc \ src/ic/arm/access-compiler-arm.cc \ src/ic/arm/handler-compiler-arm.cc \ src/ic/arm/ic-arm.cc \ src/ic/arm/ic-compiler-arm.cc \ src/ic/arm/stub-cache-arm.cc \ src/regexp/arm/regexp-macro-assembler-arm.cc v8_local_src_files_arm64 := \ src/arm64/assembler-arm64.cc \ src/arm64/builtins-arm64.cc \ src/arm64/codegen-arm64.cc \ src/arm64/code-stubs-arm64.cc \ src/arm64/cpu-arm64.cc \ src/arm64/decoder-arm64.cc \ src/arm64/deoptimizer-arm64.cc \ src/arm64/disasm-arm64.cc \ src/arm64/frames-arm64.cc \ src/arm64/instructions-arm64.cc \ src/arm64/instrument-arm64.cc \ src/arm64/interface-descriptors-arm64.cc \ src/arm64/macro-assembler-arm64.cc \ src/arm64/simulator-arm64.cc \ src/arm64/utils-arm64.cc \ src/compiler/arm64/code-generator-arm64.cc \ src/compiler/arm64/instruction-scheduler-arm64.cc \ src/compiler/arm64/instruction-selector-arm64.cc \ src/crankshaft/arm64/delayed-masm-arm64.cc \ src/crankshaft/arm64/lithium-arm64.cc \ src/crankshaft/arm64/lithium-codegen-arm64.cc \ src/crankshaft/arm64/lithium-gap-resolver-arm64.cc \ src/debug/arm64/debug-arm64.cc \ src/full-codegen/arm64/full-codegen-arm64.cc \ src/ic/arm64/access-compiler-arm64.cc \ src/ic/arm64/handler-compiler-arm64.cc \ src/ic/arm64/ic-arm64.cc \ src/ic/arm64/ic-compiler-arm64.cc \ src/ic/arm64/stub-cache-arm64.cc \ src/regexp/arm64/regexp-macro-assembler-arm64.cc v8_local_src_files_mips := \ src/mips/assembler-mips.cc \ src/mips/builtins-mips.cc \ src/mips/codegen-mips.cc \ src/mips/code-stubs-mips.cc \ src/mips/constants-mips.cc \ src/mips/cpu-mips.cc \ src/mips/deoptimizer-mips.cc \ src/mips/disasm-mips.cc \ src/mips/frames-mips.cc \ src/mips/interface-descriptors-mips.cc \ src/mips/macro-assembler-mips.cc \ src/mips/simulator-mips.cc \ src/compiler/mips/code-generator-mips.cc \ src/compiler/mips/instruction-scheduler-mips.cc \ src/compiler/mips/instruction-selector-mips.cc \ src/crankshaft/mips/lithium-codegen-mips.cc \ src/crankshaft/mips/lithium-gap-resolver-mips.cc \ src/crankshaft/mips/lithium-mips.cc \ src/full-codegen/mips/full-codegen-mips.cc \ src/debug/mips/debug-mips.cc \ src/ic/mips/access-compiler-mips.cc \ src/ic/mips/handler-compiler-mips.cc \ src/ic/mips/ic-mips.cc \ src/ic/mips/ic-compiler-mips.cc \ src/ic/mips/stub-cache-mips.cc \ src/regexp/mips/regexp-macro-assembler-mips.cc v8_local_src_files_mips64 := \ src/mips64/assembler-mips64.cc \ src/mips64/builtins-mips64.cc \ src/mips64/codegen-mips64.cc \ src/mips64/code-stubs-mips64.cc \ src/mips64/constants-mips64.cc \ src/mips64/cpu-mips64.cc \ src/mips64/deoptimizer-mips64.cc \ src/mips64/disasm-mips64.cc \ src/mips64/frames-mips64.cc \ src/mips64/interface-descriptors-mips64.cc \ src/mips64/macro-assembler-mips64.cc \ src/mips64/simulator-mips64.cc \ src/compiler/mips64/code-generator-mips64.cc \ src/compiler/mips64/instruction-scheduler-mips64.cc \ src/compiler/mips64/instruction-selector-mips64.cc \ src/crankshaft/mips64/lithium-codegen-mips64.cc \ src/crankshaft/mips64/lithium-gap-resolver-mips64.cc \ src/crankshaft/mips64/lithium-mips64.cc \ src/debug/mips64/debug-mips64.cc \ src/full-codegen/mips64/full-codegen-mips64.cc \ src/ic/mips64/access-compiler-mips64.cc \ src/ic/mips64/handler-compiler-mips64.cc \ src/ic/mips64/ic-mips64.cc \ src/ic/mips64/ic-compiler-mips64.cc \ src/ic/mips64/stub-cache-mips64.cc \ src/regexp/mips64/regexp-macro-assembler-mips64.cc \ v8_local_src_files_x86 := \ src/ia32/assembler-ia32.cc \ src/ia32/builtins-ia32.cc \ src/ia32/code-stubs-ia32.cc \ src/ia32/codegen-ia32.cc \ src/ia32/cpu-ia32.cc \ src/ia32/deoptimizer-ia32.cc \ src/ia32/disasm-ia32.cc \ src/ia32/frames-ia32.cc \ src/ia32/interface-descriptors-ia32.cc \ src/ia32/macro-assembler-ia32.cc \ src/compiler/ia32/code-generator-ia32.cc \ src/compiler/ia32/instruction-scheduler-ia32.cc \ src/compiler/ia32/instruction-selector-ia32.cc \ src/crankshaft/ia32/lithium-codegen-ia32.cc \ src/crankshaft/ia32/lithium-gap-resolver-ia32.cc \ src/crankshaft/ia32/lithium-ia32.cc \ src/debug/ia32/debug-ia32.cc \ src/full-codegen/ia32/full-codegen-ia32.cc \ src/ic/ia32/access-compiler-ia32.cc \ src/ic/ia32/handler-compiler-ia32.cc \ src/ic/ia32/ic-ia32.cc \ src/ic/ia32/ic-compiler-ia32.cc \ src/ic/ia32/stub-cache-ia32.cc \ src/regexp/ia32/regexp-macro-assembler-ia32.cc v8_local_src_files_x86_64 := \ src/compiler/x64/code-generator-x64.cc \ src/compiler/x64/instruction-scheduler-x64.cc \ src/compiler/x64/instruction-selector-x64.cc \ src/crankshaft/x64/lithium-codegen-x64.cc \ src/crankshaft/x64/lithium-gap-resolver-x64.cc \ src/crankshaft/x64/lithium-x64.cc \ src/debug/x64/debug-x64.cc \ src/full-codegen/x64/full-codegen-x64.cc \ src/ic/x64/access-compiler-x64.cc \ src/ic/x64/handler-compiler-x64.cc \ src/ic/x64/ic-compiler-x64.cc \ src/ic/x64/ic-x64.cc \ src/ic/x64/stub-cache-x64.cc \ src/regexp/x64/regexp-macro-assembler-x64.cc \ src/x64/assembler-x64.cc \ src/x64/builtins-x64.cc \ src/x64/codegen-x64.cc \ src/x64/code-stubs-x64.cc \ src/x64/cpu-x64.cc \ src/x64/deoptimizer-x64.cc \ src/x64/disasm-x64.cc \ src/x64/frames-x64.cc \ src/x64/interface-descriptors-x64.cc \ src/x64/macro-assembler-x64.cc # Enable DEBUG option. ifeq ($(DEBUG_V8),true) LOCAL_SRC_FILES += \ src/objects-debug.cc \ src/ast/prettyprinter.cc \ src/regexp/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/js/macros.py \ src/messages.h \ src/js/prologue.js \ src/js/runtime.js \ src/js/v8natives.js \ src/js/symbol.js \ src/js/array.js \ src/js/string.js \ src/js/uri.js \ src/js/math.js \ src/third_party/fdlibm/fdlibm.js \ src/js/regexp.js \ src/js/arraybuffer.js \ src/js/typedarray.js \ src/js/iterator-prototype.js \ src/js/generator.js \ src/js/object-observe.js \ src/js/collection.js \ src/js/weak-collection.js \ src/js/collection-iterator.js \ src/js/promise.js \ src/js/messages.js \ src/js/json.js \ src/js/array-iterator.js \ src/js/string-iterator.js \ src/js/templates.js \ src/js/spread.js \ src/debug/mirrors.js \ src/debug/debug.js \ src/debug/liveedit.js \ src/js/i18n.js V8_LOCAL_JS_EXPERIMENTAL_LIBRARY_FILES := \ src/js/macros.py \ src/messages.h \ src/js/proxy.js \ src/js/generator.js \ src/js/harmony-atomics.js \ src/js/harmony-regexp.js \ src/js/harmony-reflect.js \ src/js/harmony-object-observe.js \ src/js/harmony-sharedarraybuffer.js \ src/js/harmony-simd.js \ src/js/harmony-species.js \ src/js/harmony-unicode-regexps.js \ src/js/promise-extra.js