Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Side by Side Diff: platform_tools/android/gyp/skia_android.gypi

Issue 1295823004: Add VisualBenchTestActivity for instrumentation-testing VisualBench (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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',
djsollen 2015/08/18 19:50:25 why do you want to build the app 2x?
borenet 2015/08/18 20:03:11 As discussed live, the tests seem to require a sep
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',
djsollen 2015/08/18 19:50:24 add VisualbenchTestActivity as well
borenet 2015/08/18 20:03:11 Done.
190 '<(android_base)/apps/visualbench/src/main/libs/<(android_arch)/libv isualbench.so',
191 ],
192 'conditions': [
193 [ 'skia_shared_lib', {
194 'inputs': [
195 '<(android_base)/apps/visualbench/src/main/libs/<(android_arch)/ libskia_android.so',
196 ],
197 }],
198 ],
199 'outputs': [
200 '<(android_base)/apps/visualbench/build/outputs/apk/visualbench-<(an droid_variant)-debug-androidTest-unaligned.apk',
201 ],
202 'action': [
203 '<(android_base)/apps/gradlew',
204 ':visualbench:assemble<(android_variant)DebugAndroidTest',
205 '-p<(android_base)/apps/visualbench',
206 '-PsuppressNativeBuild',
207 ],
208 },
209 ],
210 },
178 ], 211 ],
179 } 212 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698