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

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

Issue 1259123003: Update Android Testing apps to support release mode (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 5 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
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 48908cb93ba2519da0658618950a26d676779ef3..4e32fcbf7db742acad46484d8ae8244c1ecf67f6 100644
--- a/platform_tools/android/gyp/skia_android.gypi
+++ b/platform_tools/android/gyp/skia_android.gypi
@@ -38,6 +38,11 @@
'android_arch%': "mips64",
'android_variant%': "mips64",
}],
+ [ 'android_buildtype == "Release"', {
+ 'android_apk_suffix': "release-unsigned.apk",
+ }, {
+ 'android_apk_suffix': "debug.apk",
+ }],
],
},
'targets': [
@@ -96,11 +101,11 @@
}],
],
'outputs': [
- '<(android_base)/apps/sample_app/build/outputs/apk/sample_app-arm-debug.apk',
+ '<(android_base)/apps/sample_app/build/outputs/apk/sample_app-<(android_variant)-<(android_apk_suffix)',
],
'action': [
'<(android_base)/apps/gradlew',
- ':sample_app:assemble<(android_variant)Debug',
+ ':sample_app:assemble<(android_variant)<(android_buildtype)',
'-p<(android_base)/apps/sample_app',
'-PsuppressNativeBuild',
],
@@ -159,11 +164,11 @@
}],
],
'outputs': [
- '<(android_base)/apps/visualbench/build/outputs/apk/visualbench-arm-debug.apk',
+ '<(android_base)/apps/visualbench/build/outputs/apk/visualbench-<(android_variant)-<(android_apk_suffix)',
],
'action': [
'<(android_base)/apps/gradlew',
- ':visualbench:assemble<(android_variant)Debug',
+ ':visualbench:assemble<(android_variant)<(android_buildtype)',
'-p<(android_base)/apps/visualbench',
'-PsuppressNativeBuild',
],
« platform_tools/android/bin/android_install_app ('K') | « platform_tools/android/bin/android_setup.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698