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

Unified Diff: platform_tools/android/gyp/skia_android.gypi

Issue 2018603003: Remove VisualBench and its Android implementation. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « platform_tools/android/gyp/dependencies.gypi ('k') | tools/VisualBench/TimingStateMachine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: platform_tools/android/gyp/skia_android.gypi
diff --git a/platform_tools/android/gyp/skia_android.gypi b/platform_tools/android/gyp/skia_android.gypi
index 844bd6ea26b41ca32c2a5b1885903df4eb3ef817..fe535b390a6d1ed60899612388986c11ba1fab6a 100644
--- a/platform_tools/android/gyp/skia_android.gypi
+++ b/platform_tools/android/gyp/skia_android.gypi
@@ -118,168 +118,5 @@
},
],
},
- {
- 'target_name': 'CopyVisualBenchDeps',
- 'type': 'none',
- 'dependencies': [
- 'skia_lib.gyp:skia_lib',
- 'visualbench.gyp:visualbench',
- ],
-
- 'copies': [
- # Copy all shared libraries into the Android app's libs folder. Note
- # that this copy requires us to build SkiaAndroidApp after those
- # libraries, so that they exist by the time it occurs. If there are no
- # libraries to copy, this will cause an error in Make, but the app will
- # still build.
- {
- 'destination': '<(android_base)/apps/visualbench/src/main/libs/<(android_arch)',
- 'conditions': [
- [ 'skia_shared_lib', {
- 'files': [
- '<(SHARED_LIB_DIR)/libskia_android.so',
- '<(SHARED_LIB_DIR)/libvisualbench.so',
- ]}, {
- 'files': [
- '<(SHARED_LIB_DIR)/libvisualbench.so',
- ]}
- ],
- ],
- },
- ],
- },
- {
- 'target_name': 'VisualBench_APK',
- 'type': 'none',
- 'dependencies': [
- 'CopyVisualBenchDeps',
- ],
- 'actions': [
- {
- 'action_name': 'SkiaVisualBench_apk',
- 'inputs': [
- '<(android_base)/apps/visualbench/src/main/AndroidManifest.xml',
- '<(android_base)/apps/visualbench/src/main/java/com/skia/VisualBenchActivity.java',
- '<(android_base)/apps/visualbench/src/main/libs/<(android_arch)/libvisualbench.so',
- ],
- 'conditions': [
- [ 'skia_shared_lib', {
- 'inputs': [
- '<(android_base)/apps/visualbench/src/main/libs/<(android_arch)/libskia_android.so',
- ],
- }],
- ],
- 'outputs': [
- '<(android_base)/apps/visualbench/build/outputs/apk/visualbench-<(android_variant)-<(android_apk_suffix)',
- ],
- 'action': [
- '<(android_base)/apps/gradlew',
- ':visualbench:assemble<(android_variant)<(android_buildtype)',
- '-p<(android_base)/apps/visualbench',
- '-PsuppressNativeBuild',
- ],
- },
- ],
- },
- {
- 'target_name': 'VisualBenchTest_APK',
- 'type': 'none',
- 'dependencies': [
- 'VisualBench_APK',
- ],
- 'actions': [
- {
- 'action_name': 'SkiaVisualBench_apk',
- 'inputs': [
- '<(android_base)/apps/visualbench/src/main/AndroidManifest.xml',
- '<(android_base)/apps/visualbench/src/main/java/com/skia/VisualBenchActivity.java',
- '<(android_base)/apps/visualbench/src/main/java/com/skia/VisualBenchTestActivity.java',
- '<(android_base)/apps/visualbench/src/main/libs/<(android_arch)/libvisualbench.so',
- ],
- 'conditions': [
- [ 'skia_shared_lib', {
- 'inputs': [
- '<(android_base)/apps/visualbench/src/main/libs/<(android_arch)/libskia_android.so',
- ],
- }],
- ],
- 'outputs': [
- '<(android_base)/apps/visualbench/build/outputs/apk/visualbench-<(android_variant)-debug-androidTest-unaligned.apk',
- ],
- 'action': [
- '<(android_base)/apps/gradlew',
- ':visualbench:assemble<(android_variant)DebugAndroidTest',
- '-p<(android_base)/apps/visualbench',
- '-PsuppressNativeBuild',
- ],
- },
- ],
- },
- # TODO all of this duplicated code can be removed when SDL becomes the default
- # Currently, to use this you have to override skia_use_sdl
- {
- 'target_name': 'CopyVisualBenchSDLDeps',
- 'type': 'none',
- 'dependencies': [
- 'skia_lib.gyp:skia_lib',
- 'visualbench.gyp:visualbench',
- ],
-
- 'copies': [
- # Copy all shared libraries into the Android app's libs folder. Note
- # that this copy requires us to build SkiaAndroidApp after those
- # libraries, so that they exist by the time it occurs. If there are no
- # libraries to copy, this will cause an error in Make, but the app will
- # still build.
- {
- 'destination': '<(android_base)/apps/visualbenchsdl/src/main/libs/<(android_arch)',
- 'conditions': [
- [ 'skia_shared_lib', {
- 'files': [
- '<(SHARED_LIB_DIR)/libskia_android.so',
- '<(SHARED_LIB_DIR)/libvisualbench.so',
- ]}, {
- 'files': [
- '<(SHARED_LIB_DIR)/libvisualbench.so',
- ]}
- ],
- ],
- },
- ],
- },
- {
- 'target_name': 'VisualBenchSDL_APK',
- 'type': 'none',
- 'dependencies': [
- 'CopyVisualBenchSDLDeps',
- ],
- 'actions': [
- {
- 'action_name': 'SkiaVisualBenchSDL_apk',
- 'inputs': [
- '<(android_base)/apps/visualbenchsdl/src/main/AndroidManifest.xml',
- '<(android_base)/apps/visualbenchsdl/src/main/java/org/libsdl/app/SDLActivity.java',
- '<(android_base)/apps/visualbenchsdl/src/main/java/com/skia/VisualBenchActivity.java',
- '<(android_base)/apps/visualbenchsdl/src/main/libs/<(android_arch)/libvisualbench.so',
- ],
- 'conditions': [
- [ 'skia_shared_lib', {
- 'inputs': [
- '<(android_base)/apps/visualbenchsdl/src/main/libs/<(android_arch)/libskia_android.so',
- ],
- }],
- ],
- 'outputs': [
- '<(android_base)/apps/visualbenchsdl/build/outputs/apk/visualbench-<(android_variant)-<(android_apk_suffix)',
- ],
- 'action': [
- '<(android_base)/apps/gradlew',
- ':visualbenchsdl:assemble<(android_variant)<(android_buildtype)',
- '-p<(android_base)/apps/visualbenchsdl',
- '-PsuppressNativeBuild',
- ],
- },
- ],
- },
],
}
« no previous file with comments | « platform_tools/android/gyp/dependencies.gypi ('k') | tools/VisualBench/TimingStateMachine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698