-
Notifications
You must be signed in to change notification settings - Fork 7
/
libhelloworld.gyp
executable file
·43 lines (42 loc) · 1.5 KB
/
libhelloworld.gyp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"targets": [
{
"target_name": "libhelloworld_jni",
"type": "shared_library",
"dependencies": [
"./deps/djinni/support-lib/support_lib.gyp:djinni_jni",
],
"ldflags": [ "-llog", "-Wl,--build-id,--gc-sections,--exclude-libs,ALL" ],
"sources": [
"./deps/djinni/support-lib/jni/djinni_main.cpp",
"<!@(python deps/djinni/example/glob.py generated-src/jni '*.cpp')",
"<!@(python deps/djinni/example/glob.py generated-src/cpp '*.cpp')",
"<!@(python deps/djinni/example/glob.py src '*.cpp')",
],
"include_dirs": [
"generated-src/jni",
"generated-src/cpp",
"src/cpp",
],
},
{
"target_name": "libhelloworld_objc",
"type": 'static_library',
"dependencies": [
"./deps/djinni/support-lib/support_lib.gyp:djinni_objc",
],
'direct_dependent_settings': {
},
"sources": [
"<!@(python deps/djinni/example/glob.py generated-src/objc '*.cpp' '*.mm' '*.m')",
"<!@(python deps/djinni/example/glob.py generated-src/cpp '*.cpp')",
"<!@(python deps/djinni/example/glob.py src '*.cpp')",
],
"include_dirs": [
"generated-src/objc",
"generated-src/cpp",
"src/cpp",
],
},
],
}