Skip to content

Commit c175047

Browse files
author
leibniz55
committed
using v8 on android sample
1 parent b925641 commit c175047

File tree

229 files changed

+28435
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+28435
-0
lines changed

V8ForAndroid.iml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module external.linked.project.id="V8ForAndroid" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
3+
<component name="FacetManager">
4+
<facet type="java-gradle" name="Java-Gradle">
5+
<configuration>
6+
<option name="BUILD_FOLDER_PATH" value="$MODULE_DIR$/build" />
7+
<option name="BUILDABLE" value="false" />
8+
</configuration>
9+
</facet>
10+
</component>
11+
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="true">
12+
<exclude-output />
13+
<content url="file://$MODULE_DIR$">
14+
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
15+
</content>
16+
<orderEntry type="inheritedJdk" />
17+
<orderEntry type="sourceFolder" forTests="false" />
18+
</component>
19+
</module>
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# ninja log v5
2+
0 463 0 CMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.o bc434b7045b0393e
3+
464 5093 0 ../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libnative-lib.so 848ee273cf4b61d6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,325 @@
1+
# This is the CMakeCache file.
2+
# For build in directory: /Users/InKwon/Documents/workspace/personal/dev/git/V8ForAndroid/app/.externalNativeBuild/cmake/debug/arm64-v8a
3+
# It was generated by CMake: /Users/InKwon/Library/Android/sdk/cmake/3.6.4111459/bin/cmake
4+
# You can edit this file to change values found and used by cmake.
5+
# If you do not want to change any of the values, simply exit the editor.
6+
# If you do want to change a value, simply edit, save, and exit the editor.
7+
# The syntax for the file is as follows:
8+
# KEY:TYPE=VALUE
9+
# KEY is the name of a variable in the cache.
10+
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
11+
# VALUE is the current value for the KEY.
12+
13+
########################
14+
# EXTERNAL cache entries
15+
########################
16+
17+
//No help, variable specified on the command line.
18+
ANDROID_ABI:UNINITIALIZED=arm64-v8a
19+
20+
//No help, variable specified on the command line.
21+
ANDROID_NDK:UNINITIALIZED=/Users/InKwon/Library/Android/sdk/ndk-bundle
22+
23+
//No help, variable specified on the command line.
24+
ANDROID_PLATFORM:UNINITIALIZED=android-21
25+
26+
//No help, variable specified on the command line.
27+
ANDROID_UNIFIED_HEADERS:UNINITIALIZED=ON
28+
29+
//Archiver
30+
CMAKE_AR:FILEPATH=/Users/InKwon/Library/Android/sdk/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ar
31+
32+
//Flags used by the compiler during all build types.
33+
CMAKE_ASM_FLAGS:STRING=
34+
35+
//Flags used by the compiler during debug builds.
36+
CMAKE_ASM_FLAGS_DEBUG:STRING=
37+
38+
//Flags used by the compiler during release builds.
39+
CMAKE_ASM_FLAGS_RELEASE:STRING=
40+
41+
//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
42+
// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
43+
CMAKE_BUILD_TYPE:STRING=Debug
44+
45+
//Flags used by the compiler during all build types.
46+
CMAKE_CXX_FLAGS:STRING=-std=c++11 -frtti -fexceptions
47+
48+
//Flags used by the compiler during debug builds.
49+
CMAKE_CXX_FLAGS_DEBUG:STRING=
50+
51+
//Flags used by the compiler during release builds for minimum
52+
// size.
53+
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
54+
55+
//Flags used by the compiler during release builds.
56+
CMAKE_CXX_FLAGS_RELEASE:STRING=
57+
58+
//Flags used by the compiler during release builds with debug info.
59+
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
60+
61+
//Libraries linked by default with all C++ applications.
62+
CMAKE_CXX_STANDARD_LIBRARIES:STRING=-latomic -lm "/Users/InKwon/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/libs/arm64-v8a/libc++_static.a" "/Users/InKwon/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/libs/arm64-v8a/libc++abi.a"
63+
64+
//Flags used by the compiler during all build types.
65+
CMAKE_C_FLAGS:STRING=
66+
67+
//Flags used by the compiler during debug builds.
68+
CMAKE_C_FLAGS_DEBUG:STRING=
69+
70+
//Flags used by the compiler during release builds for minimum
71+
// size.
72+
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
73+
74+
//Flags used by the compiler during release builds.
75+
CMAKE_C_FLAGS_RELEASE:STRING=
76+
77+
//Flags used by the compiler during release builds with debug info.
78+
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
79+
80+
//Libraries linked by default with all C applications.
81+
CMAKE_C_STANDARD_LIBRARIES:STRING=-latomic -lm
82+
83+
//Flags used by the linker.
84+
CMAKE_EXE_LINKER_FLAGS:STRING=
85+
86+
//Flags used by the linker during debug builds.
87+
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
88+
89+
//Flags used by the linker during release minsize builds.
90+
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
91+
92+
//Flags used by the linker during release builds.
93+
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
94+
95+
//Flags used by the linker during Release with Debug Info builds.
96+
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
97+
98+
//Enable/Disable output of compile commands during generation.
99+
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
100+
101+
//Install path prefix, prepended onto install directories.
102+
CMAKE_INSTALL_PREFIX:PATH=/usr/local
103+
104+
//No help, variable specified on the command line.
105+
CMAKE_LIBRARY_OUTPUT_DIRECTORY:UNINITIALIZED=/Users/InKwon/Documents/workspace/personal/dev/git/V8ForAndroid/app/build/intermediates/cmake/debug/obj/arm64-v8a
106+
107+
//Path to a program.
108+
CMAKE_LINKER:FILEPATH=/Users/InKwon/Library/Android/sdk/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ld
109+
110+
//No help, variable specified on the command line.
111+
CMAKE_MAKE_PROGRAM:UNINITIALIZED=/Users/InKwon/Library/Android/sdk/cmake/3.6.4111459/bin/ninja
112+
113+
//Flags used by the linker during the creation of modules.
114+
CMAKE_MODULE_LINKER_FLAGS:STRING=
115+
116+
//Flags used by the linker during debug builds.
117+
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
118+
119+
//Flags used by the linker during release minsize builds.
120+
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
121+
122+
//Flags used by the linker during release builds.
123+
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
124+
125+
//Flags used by the linker during Release with Debug Info builds.
126+
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
127+
128+
//Path to a program.
129+
CMAKE_NM:FILEPATH=/Users/InKwon/Library/Android/sdk/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-nm
130+
131+
//Path to a program.
132+
CMAKE_OBJCOPY:FILEPATH=/Users/InKwon/Library/Android/sdk/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-objcopy
133+
134+
//Path to a program.
135+
CMAKE_OBJDUMP:FILEPATH=/Users/InKwon/Library/Android/sdk/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-objdump
136+
137+
//Value Computed by CMake
138+
CMAKE_PROJECT_NAME:STATIC=Project
139+
140+
//Ranlib
141+
CMAKE_RANLIB:FILEPATH=/Users/InKwon/Library/Android/sdk/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ranlib
142+
143+
//Flags used by the linker during the creation of dll's.
144+
CMAKE_SHARED_LINKER_FLAGS:STRING=
145+
146+
//Flags used by the linker during debug builds.
147+
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
148+
149+
//Flags used by the linker during release minsize builds.
150+
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
151+
152+
//Flags used by the linker during release builds.
153+
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
154+
155+
//Flags used by the linker during Release with Debug Info builds.
156+
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
157+
158+
//If set, runtime paths are not added when installing shared libraries,
159+
// but are added when building.
160+
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
161+
162+
//If set, runtime paths are not added when using shared libraries.
163+
CMAKE_SKIP_RPATH:BOOL=NO
164+
165+
//Flags used by the linker during the creation of static libraries.
166+
CMAKE_STATIC_LINKER_FLAGS:STRING=
167+
168+
//Flags used by the linker during debug builds.
169+
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
170+
171+
//Flags used by the linker during release minsize builds.
172+
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
173+
174+
//Flags used by the linker during release builds.
175+
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
176+
177+
//Flags used by the linker during Release with Debug Info builds.
178+
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
179+
180+
//Path to a program.
181+
CMAKE_STRIP:FILEPATH=/Users/InKwon/Library/Android/sdk/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-strip
182+
183+
//The CMake toolchain file
184+
CMAKE_TOOLCHAIN_FILE:FILEPATH=/Users/InKwon/Library/Android/sdk/ndk-bundle/build/cmake/android.toolchain.cmake
185+
186+
//If this value is on, makefiles will be generated without the
187+
// .SILENT directive, and all commands will be echoed to the console
188+
// during the make. This is useful for debugging only. With Visual
189+
// Studio IDE projects all commands are done without /nologo.
190+
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
191+
192+
//Value Computed by CMake
193+
Project_BINARY_DIR:STATIC=/Users/InKwon/Documents/workspace/personal/dev/git/V8ForAndroid/app/.externalNativeBuild/cmake/debug/arm64-v8a
194+
195+
//Value Computed by CMake
196+
Project_SOURCE_DIR:STATIC=/Users/InKwon/Documents/workspace/personal/dev/git/V8ForAndroid/app
197+
198+
//Dependencies for the target
199+
native-lib_LIB_DEPENDS:STATIC=general;v8_base;general;v8_nosnapshot;general;log;
200+
201+
202+
########################
203+
# INTERNAL cache entries
204+
########################
205+
206+
//ADVANCED property for variable: CMAKE_AR
207+
CMAKE_AR-ADVANCED:INTERNAL=1
208+
//This is the directory where this CMakeCache.txt was created
209+
CMAKE_CACHEFILE_DIR:INTERNAL=/Users/InKwon/Documents/workspace/personal/dev/git/V8ForAndroid/app/.externalNativeBuild/cmake/debug/arm64-v8a
210+
//Major version of cmake used to create the current loaded cache
211+
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
212+
//Minor version of cmake used to create the current loaded cache
213+
CMAKE_CACHE_MINOR_VERSION:INTERNAL=6
214+
//Patch version of cmake used to create the current loaded cache
215+
CMAKE_CACHE_PATCH_VERSION:INTERNAL=0
216+
//Path to CMake executable.
217+
CMAKE_COMMAND:INTERNAL=/Users/InKwon/Library/Android/sdk/cmake/3.6.4111459/bin/cmake
218+
//Path to cpack program executable.
219+
CMAKE_CPACK_COMMAND:INTERNAL=/Users/InKwon/Library/Android/sdk/cmake/3.6.4111459/bin/cpack
220+
//Path to ctest program executable.
221+
CMAKE_CTEST_COMMAND:INTERNAL=/Users/InKwon/Library/Android/sdk/cmake/3.6.4111459/bin/ctest
222+
//ADVANCED property for variable: CMAKE_CXX_FLAGS
223+
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
224+
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
225+
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
226+
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
227+
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
228+
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
229+
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
230+
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
231+
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
232+
//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
233+
CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
234+
//ADVANCED property for variable: CMAKE_C_FLAGS
235+
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
236+
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
237+
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
238+
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
239+
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
240+
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
241+
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
242+
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
243+
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
244+
//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
245+
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
246+
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
247+
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
248+
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
249+
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
250+
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
251+
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
252+
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
253+
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
254+
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
255+
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
256+
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
257+
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
258+
//Name of external makefile project generator.
259+
CMAKE_EXTRA_GENERATOR:INTERNAL=Android Gradle
260+
//Name of generator.
261+
CMAKE_GENERATOR:INTERNAL=Ninja
262+
//Name of generator platform.
263+
CMAKE_GENERATOR_PLATFORM:INTERNAL=
264+
//Name of generator toolset.
265+
CMAKE_GENERATOR_TOOLSET:INTERNAL=
266+
//Source directory with the top level CMakeLists.txt file for this
267+
// project
268+
CMAKE_HOME_DIRECTORY:INTERNAL=/Users/InKwon/Documents/workspace/personal/dev/git/V8ForAndroid/app
269+
//Install .so files without execute permission.
270+
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0
271+
//ADVANCED property for variable: CMAKE_LINKER
272+
CMAKE_LINKER-ADVANCED:INTERNAL=1
273+
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
274+
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
275+
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
276+
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
277+
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
278+
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
279+
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
280+
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
281+
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
282+
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
283+
//ADVANCED property for variable: CMAKE_NM
284+
CMAKE_NM-ADVANCED:INTERNAL=1
285+
//number of local generators
286+
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
287+
//ADVANCED property for variable: CMAKE_OBJCOPY
288+
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
289+
//ADVANCED property for variable: CMAKE_OBJDUMP
290+
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
291+
//ADVANCED property for variable: CMAKE_RANLIB
292+
CMAKE_RANLIB-ADVANCED:INTERNAL=1
293+
//Path to CMake installation.
294+
CMAKE_ROOT:INTERNAL=/Users/InKwon/Library/Android/sdk/cmake/3.6.4111459/share/cmake-3.6
295+
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
296+
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
297+
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
298+
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
299+
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
300+
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
301+
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
302+
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
303+
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
304+
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
305+
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
306+
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
307+
//ADVANCED property for variable: CMAKE_SKIP_RPATH
308+
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
309+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
310+
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
311+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
312+
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
313+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
314+
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
315+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
316+
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
317+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
318+
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
319+
//ADVANCED property for variable: CMAKE_STRIP
320+
CMAKE_STRIP-ADVANCED:INTERNAL=1
321+
//uname command
322+
CMAKE_UNAME:INTERNAL=/usr/bin/uname
323+
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
324+
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
325+

0 commit comments

Comments
 (0)