OLD | NEW |
1 { | 1 { |
2 'targets': [ | 2 'targets': [ |
3 { | 3 { |
4 'target_name': 'CopySampleAppDeps', | 4 'target_name': 'CopySampleAppDeps', |
5 'type': 'none', | 5 'type': 'none', |
6 'dependencies': [ | 6 'dependencies': [ |
7 'skia_lib.gyp:skia_lib', | 7 'skia_lib.gyp:skia_lib', |
8 'SampleApp.gyp:SampleApp', | 8 'SampleApp.gyp:SampleApp', |
9 ], | 9 ], |
10 'variables': { | 10 'variables': { |
(...skipping 27 matching lines...) Expand all Loading... |
38 ]}, { | 38 ]}, { |
39 'files': [ | 39 'files': [ |
40 '<(SHARED_LIB_DIR)/libSampleApp.so', | 40 '<(SHARED_LIB_DIR)/libSampleApp.so', |
41 ]} | 41 ]} |
42 ], | 42 ], |
43 ], | 43 ], |
44 }, | 44 }, |
45 ], | 45 ], |
46 }, | 46 }, |
47 { | 47 { |
48 'target_name': 'skia_launcher', | |
49 'type': 'executable', | |
50 'sources': [ | |
51 '../launcher/skia_launcher.cpp', | |
52 ], | |
53 }, | |
54 { | |
55 'target_name': 'SampleApp_APK', | 48 'target_name': 'SampleApp_APK', |
56 'type': 'none', | 49 'type': 'none', |
57 'dependencies': [ | 50 'dependencies': [ |
58 'CopySampleAppDeps', | 51 'CopySampleAppDeps', |
59 ], | 52 ], |
60 'variables': { | 53 'variables': { |
61 'ANDROID_SDK_ROOT': '<!(echo $ANDROID_SDK_ROOT)', | 54 'ANDROID_SDK_ROOT': '<!(echo $ANDROID_SDK_ROOT)', |
62 # the ninja generator treats PRODUCT_DIR as a relative path to the | 55 # the ninja generator treats PRODUCT_DIR as a relative path to the |
63 # gyp directory but android ant build wants a path relative to the | 56 # gyp directory but android ant build wants a path relative to the |
64 # build.xml file so we do that adjustment here. | 57 # build.xml file so we do that adjustment here. |
(...skipping 25 matching lines...) Expand all Loading... |
90 '-Dnative.libs.absolute.dir=<(ANDROID_OUT)/libs', | 83 '-Dnative.libs.absolute.dir=<(ANDROID_OUT)/libs', |
91 '-Dout.final.file=<(ANDROID_OUT)/bin/SkiaAndroid.apk', | 84 '-Dout.final.file=<(ANDROID_OUT)/bin/SkiaAndroid.apk', |
92 '-Dsdk.dir=<(ANDROID_SDK_ROOT)', | 85 '-Dsdk.dir=<(ANDROID_SDK_ROOT)', |
93 'debug', | 86 'debug', |
94 ], | 87 ], |
95 }, | 88 }, |
96 ], | 89 ], |
97 }, | 90 }, |
98 ], | 91 ], |
99 } | 92 } |
OLD | NEW |