OLD | NEW |
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 # This GYP file stores the dependencies necessary to build Skia on the Android | 6 # This GYP file stores the dependencies necessary to build Skia on the Android |
7 # platform. The OS doesn't provide many stable libraries as part of the | 7 # platform. The OS doesn't provide many stable libraries as part of the |
8 # distribution so we have to build a few of them ourselves. | 8 # distribution so we have to build a few of them ourselves. |
9 # | 9 # |
10 { | 10 { |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 ], | 168 ], |
169 'action': [ | 169 'action': [ |
170 '<(android_base)/apps/gradlew', | 170 '<(android_base)/apps/gradlew', |
171 ':visualbench:assemble<(android_variant)<(android_buildtype)', | 171 ':visualbench:assemble<(android_variant)<(android_buildtype)', |
172 '-p<(android_base)/apps/visualbench', | 172 '-p<(android_base)/apps/visualbench', |
173 '-PsuppressNativeBuild', | 173 '-PsuppressNativeBuild', |
174 ], | 174 ], |
175 }, | 175 }, |
176 ], | 176 ], |
177 }, | 177 }, |
| 178 { |
| 179 'target_name': 'VisualBenchTest_APK', |
| 180 'type': 'none', |
| 181 'dependencies': [ |
| 182 'VisualBench_APK', |
| 183 ], |
| 184 'actions': [ |
| 185 { |
| 186 'action_name': 'SkiaVisualBench_apk', |
| 187 'inputs': [ |
| 188 '<(android_base)/apps/visualbench/src/main/AndroidManifest.xml', |
| 189 '<(android_base)/apps/visualbench/src/main/java/com/skia/VisualBench
Activity.java', |
| 190 '<(android_base)/apps/visualbench/src/main/java/com/skia/VisualBench
TestActivity.java', |
| 191 '<(android_base)/apps/visualbench/src/main/libs/<(android_arch)/libv
isualbench.so', |
| 192 ], |
| 193 'conditions': [ |
| 194 [ 'skia_shared_lib', { |
| 195 'inputs': [ |
| 196 '<(android_base)/apps/visualbench/src/main/libs/<(android_arch)/
libskia_android.so', |
| 197 ], |
| 198 }], |
| 199 ], |
| 200 'outputs': [ |
| 201 '<(android_base)/apps/visualbench/build/outputs/apk/visualbench-<(an
droid_variant)-debug-androidTest-unaligned.apk', |
| 202 ], |
| 203 'action': [ |
| 204 '<(android_base)/apps/gradlew', |
| 205 ':visualbench:assemble<(android_variant)DebugAndroidTest', |
| 206 '-p<(android_base)/apps/visualbench', |
| 207 '-PsuppressNativeBuild', |
| 208 ], |
| 209 }, |
| 210 ], |
| 211 }, |
178 ], | 212 ], |
179 } | 213 } |
OLD | NEW |