| 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 { |
| 48 'target_name': 'SampleApp_APK', | 55 'target_name': 'SampleApp_APK', |
| 49 'type': 'none', | 56 'type': 'none', |
| 50 'dependencies': [ | 57 'dependencies': [ |
| 51 'CopySampleAppDeps', | 58 'CopySampleAppDeps', |
| 52 ], | 59 ], |
| 53 'variables': { | 60 'variables': { |
| 54 'ANDROID_SDK_ROOT': '<!(echo $ANDROID_SDK_ROOT)', | 61 'ANDROID_SDK_ROOT': '<!(echo $ANDROID_SDK_ROOT)', |
| 55 # the ninja generator treats PRODUCT_DIR as a relative path to the | 62 # the ninja generator treats PRODUCT_DIR as a relative path to the |
| 56 # gyp directory but android ant build wants a path relative to the | 63 # gyp directory but android ant build wants a path relative to the |
| 57 # build.xml file so we do that adjustment here. | 64 # build.xml file so we do that adjustment here. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 83 '-Dnative.libs.absolute.dir=<(ANDROID_OUT)/libs', | 90 '-Dnative.libs.absolute.dir=<(ANDROID_OUT)/libs', |
| 84 '-Dout.final.file=<(ANDROID_OUT)/bin/SkiaAndroid.apk', | 91 '-Dout.final.file=<(ANDROID_OUT)/bin/SkiaAndroid.apk', |
| 85 '-Dsdk.dir=<(ANDROID_SDK_ROOT)', | 92 '-Dsdk.dir=<(ANDROID_SDK_ROOT)', |
| 86 'debug', | 93 'debug', |
| 87 ], | 94 ], |
| 88 }, | 95 }, |
| 89 ], | 96 ], |
| 90 }, | 97 }, |
| 91 ], | 98 ], |
| 92 } | 99 } |
| OLD | NEW |