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

Unified Diff: components/cronet.gypi

Issue 512953002: Use proguard.cfg in cronet sample apk. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated CronetSampleTest to use proguard. Created 6 years, 3 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 | « no previous file | components/cronet/android/proguard.cfg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet.gypi
diff --git a/components/cronet.gypi b/components/cronet.gypi
index a3822f13cdc359010f05b3ca2278f9516b5af6f6..4f65a0022ed4f8484679f5f0bae715f2656ca076 100644
--- a/components/cronet.gypi
+++ b/components/cronet.gypi
@@ -350,12 +350,18 @@
'type': 'none',
'dependencies': [
'cronet',
+ 'cronet_stub',
],
'variables': {
'apk_name': 'CronetSample',
'java_in_dir': 'cronet/android/sample',
'resource_dir': 'cronet/android/sample/res',
'native_lib_target': 'libcronet',
+ 'proguard_enabled': 'true',
+ 'proguard_flags_paths': [
+ 'cronet/android/proguard.cfg',
+ 'cronet/android/sample/javatests/proguard.cfg',
+ ],
},
'includes': [ '../build/java_apk.gypi' ],
},
@@ -376,13 +382,11 @@
'target_name': 'cronet_sample_test_apk',
'type': 'none',
'dependencies': [
+ 'cronet',
'cronet_sample_apk_java',
+ 'cronet_stub',
'../base/base.gyp:base_java',
- '../base/base.gyp:base_javatests',
'../base/base.gyp:base_java_test_support',
- # TODO(mef): Figure out why some tests are failing.
- #'../net/net.gyp:net_javatests',
- #'../net/net.gyp:net_java_test_support',
],
'variables': {
'apk_name': 'CronetSampleTest',
« no previous file with comments | « no previous file | components/cronet/android/proguard.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698