OLD | NEW |
1 # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 1 # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 LOCAL_PATH := $(call my-dir) | 5 LOCAL_PATH := $(call my-dir) |
6 include $(CLEAR_VARS) | 6 include $(CLEAR_VARS) |
7 | 7 |
8 LOCAL_MODULE := fletch-library | 8 LOCAL_MODULE := dartino-library |
9 LOCAL_CFLAGS := \ | 9 LOCAL_CFLAGS := \ |
10 -DFLETCH32 \ | 10 -DDARTINO32 \ |
11 -DFLETCH_TARGET_OS_POSIX \ | 11 -DDARTINO_TARGET_OS_POSIX \ |
12 -DFLETCH_TARGET_OS_LINUX \ | 12 -DDARTINO_TARGET_OS_LINUX \ |
13 -DFLETCH_ENABLE_FFI \ | 13 -DDARTINO_ENABLE_FFI \ |
14 -DFLETCH_ENABLE_PRINT_INTERCEPTORS \ | 14 -DDARTINO_ENABLE_PRINT_INTERCEPTORS \ |
15 -DFLETCH_ENABLE_LIVE_CODING \ | 15 -DDARTINO_ENABLE_LIVE_CODING \ |
16 -DFLETCH_ENABLE_NATIVE_PROCESSES \ | 16 -DDARTINO_ENABLE_NATIVE_PROCESSES \ |
17 -DANDROID \ | 17 -DANDROID \ |
18 -I$(LOCAL_PATH)/../../../ -std=gnu++11 | 18 -I$(LOCAL_PATH)/../../../ -std=gnu++11 |
19 | 19 |
20 LOCAL_SRC_FILES := \ | 20 LOCAL_SRC_FILES := \ |
21 ../../../src/shared/assert.cc \ | 21 ../../../src/shared/assert.cc \ |
22 ../../../src/shared/bytecodes.cc \ | 22 ../../../src/shared/bytecodes.cc \ |
23 ../../../src/shared/connection.cc \ | 23 ../../../src/shared/connection.cc \ |
24 ../../../src/shared/flags.cc \ | 24 ../../../src/shared/flags.cc \ |
25 ../../../src/shared/native_socket_linux.cc \ | 25 ../../../src/shared/native_socket_linux.cc \ |
26 ../../../src/shared/native_socket_posix.cc \ | 26 ../../../src/shared/native_socket_posix.cc \ |
27 ../../../src/shared/platform_linux.cc \ | 27 ../../../src/shared/platform_linux.cc \ |
28 ../../../src/shared/platform_posix.cc \ | 28 ../../../src/shared/platform_posix.cc \ |
29 ../../../src/shared/utils.cc \ | 29 ../../../src/shared/utils.cc \ |
30 ../../../src/vm/debug_info.cc \ | 30 ../../../src/vm/debug_info.cc \ |
31 ../../../src/vm/event_handler.cc \ | 31 ../../../src/vm/event_handler.cc \ |
32 ../../../src/vm/event_handler_linux.cc \ | 32 ../../../src/vm/event_handler_linux.cc \ |
33 ../../../src/vm/event_handler_posix.cc \ | 33 ../../../src/vm/event_handler_posix.cc \ |
34 ../../../src/vm/ffi.cc \ | 34 ../../../src/vm/ffi.cc \ |
35 ../../../src/vm/ffi_linux.cc \ | 35 ../../../src/vm/ffi_linux.cc \ |
36 ../../../src/vm/ffi_posix.cc \ | 36 ../../../src/vm/ffi_posix.cc \ |
37 » ../../../src/vm/fletch.cc \ | 37 » ../../../src/vm/dartino.cc \ |
38 » ../../../src/vm/fletch_api_impl.cc \ | 38 » ../../../src/vm/dartino_api_impl.cc \ |
39 ../../../src/vm/gc_thread.cc \ | 39 ../../../src/vm/gc_thread.cc \ |
40 ../../../src/vm/heap.cc \ | 40 ../../../src/vm/heap.cc \ |
41 ../../../src/vm/heap_validator.cc \ | 41 ../../../src/vm/heap_validator.cc \ |
42 ../../../src/vm/interpreter.cc \ | 42 ../../../src/vm/interpreter.cc \ |
43 ../../../src/vm/intrinsics.cc \ | 43 ../../../src/vm/intrinsics.cc \ |
44 ../../../src/vm/links.cc \ | 44 ../../../src/vm/links.cc \ |
45 ../../../src/vm/lookup_cache.cc \ | 45 ../../../src/vm/lookup_cache.cc \ |
46 ../../../src/vm/log_print_interceptor.cc \ | 46 ../../../src/vm/log_print_interceptor.cc \ |
47 ../../../src/vm/message_mailbox.cc \ | 47 ../../../src/vm/message_mailbox.cc \ |
48 ../../../src/vm/native_process.cc \ | 48 ../../../src/vm/native_process.cc \ |
(...skipping 25 matching lines...) Expand all Loading... |
74 ../../../third_party/double-conversion/src/bignum-dtoa.cc \ | 74 ../../../third_party/double-conversion/src/bignum-dtoa.cc \ |
75 ../../../third_party/double-conversion/src/bignum.cc \ | 75 ../../../third_party/double-conversion/src/bignum.cc \ |
76 ../../../third_party/double-conversion/src/cached-powers.cc \ | 76 ../../../third_party/double-conversion/src/cached-powers.cc \ |
77 ../../../third_party/double-conversion/src/diy-fp.cc \ | 77 ../../../third_party/double-conversion/src/diy-fp.cc \ |
78 ../../../third_party/double-conversion/src/double-conversion.cc \ | 78 ../../../third_party/double-conversion/src/double-conversion.cc \ |
79 ../../../third_party/double-conversion/src/fast-dtoa.cc \ | 79 ../../../third_party/double-conversion/src/fast-dtoa.cc \ |
80 ../../../third_party/double-conversion/src/fixed-dtoa.cc \ | 80 ../../../third_party/double-conversion/src/fixed-dtoa.cc \ |
81 ../../../third_party/double-conversion/src/strtod.cc \ | 81 ../../../third_party/double-conversion/src/strtod.cc \ |
82 | 82 |
83 ifeq ($(TARGET_ARCH_ABI), armeabi-v7a) | 83 ifeq ($(TARGET_ARCH_ABI), armeabi-v7a) |
84 LOCAL_CFLAGS += -DFLETCH_TARGET_ARM | 84 LOCAL_CFLAGS += -DDARTINO_TARGET_ARM |
85 LOCAL_SRC_FILES += \ | 85 LOCAL_SRC_FILES += \ |
86 ../../../out/ReleaseXARMAndroid/obj/src/vm/fletch_vm.gen/generated.S \ | 86 ../../../out/ReleaseXARMAndroid/obj/src/vm/dartino_vm.gen/generated.S \ |
87 ../../../out/ReleaseXARMAndroid/gen/version.cc | 87 ../../../out/ReleaseXARMAndroid/gen/version.cc |
88 endif | 88 endif |
89 | 89 |
90 ifeq ($(TARGET_ARCH_ABI), x86) | 90 ifeq ($(TARGET_ARCH_ABI), x86) |
91 LOCAL_CFLAGS += -DFLETCH_TARGET_IA32 | 91 LOCAL_CFLAGS += -DDARTINO_TARGET_IA32 |
92 LOCAL_SRC_FILES += \ | 92 LOCAL_SRC_FILES += \ |
93 ../../../out/ReleaseIA32Android/obj/src/vm/fletch_vm.gen/generated.S \ | 93 ../../../out/ReleaseIA32Android/obj/src/vm/dartino_vm.gen/generated.S \ |
94 ../../../out/ReleaseIA32Android/gen/version.cc | 94 ../../../out/ReleaseIA32Android/gen/version.cc |
95 endif | 95 endif |
96 | 96 |
97 include $(BUILD_STATIC_LIBRARY) | 97 include $(BUILD_STATIC_LIBRARY) |
OLD | NEW |