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

Side by Side Diff: chrome/android/webapk/shell_apk/BUILD.gn

Issue 2329573002: Refactor base's proguard flags to be more usable by cronet (Closed)
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « chrome/android/chrome_public_apk_tmpl.gni ('k') | components/cronet/android/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 import("shell_apk_version.gni") 6 import("shell_apk_version.gni")
7 7
8 declare_args() { 8 declare_args() {
9 # The origin URL of the WebAPK. Used to generate a unique package name for 9 # The origin URL of the WebAPK. Used to generate a unique package name for
10 # WebAPK. Example: "foo.com" 10 # WebAPK. Example: "foo.com"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 android_manifest = shell_apk_manifest 109 android_manifest = shell_apk_manifest
110 android_manifest_dep = ":shell_apk_manifest" 110 android_manifest_dep = ":shell_apk_manifest"
111 apk_name = "WebApk.$webapk_manifest_package_origin" 111 apk_name = "WebApk.$webapk_manifest_package_origin"
112 deps = [ 112 deps = [
113 ":webapk_java", 113 ":webapk_java",
114 ] 114 ]
115 if (!is_java_debug) { 115 if (!is_java_debug) {
116 proguard_enabled = true 116 proguard_enabled = true
117 proguard_configs = [ 117 proguard_configs = [
118 "//chrome/android/java/proguard.flags", 118 "//chrome/android/java/proguard.flags",
119 "//base/android/base_proguard_config.flags", 119 "//base/android/proguard/chromium_apk.flags",
120 "//base/android/release_proguard_config.flags", 120 "//base/android/proguard/chromium_code.flags",
121 ] 121 ]
122 } 122 }
123 } 123 }
124 124
125 android_library("shell_apk_javatests") { 125 android_library("shell_apk_javatests") {
126 testonly = true 126 testonly = true
127 java_files = 127 java_files =
128 [ "javatests/src/org/chromium/webapk/shell_apk/DexLoaderTest.java" ] 128 [ "javatests/src/org/chromium/webapk/shell_apk/DexLoaderTest.java" ]
129 deps = [ 129 deps = [
130 ":webapk_java", 130 ":webapk_java",
131 "//base:base_java", 131 "//base:base_java",
132 "//base:base_java_test_support", 132 "//base:base_java_test_support",
133 "//chrome/android/webapk/libs/common:common_java", 133 "//chrome/android/webapk/libs/common:common_java",
134 "//content/public/test/android:content_java_test_support", 134 "//content/public/test/android:content_java_test_support",
135 ] 135 ]
136 srcjar_deps = [ "javatests/dex_optimizer:dex_optimizer_service_aidl" ] 136 srcjar_deps = [ "javatests/dex_optimizer:dex_optimizer_service_aidl" ]
137 } 137 }
138 138
139 junit_binary("webapk_shell_apk_junit_tests") { 139 junit_binary("webapk_shell_apk_junit_tests") {
140 java_files = [ 140 java_files = [
141 "junit/src/org/chromium/webapk/shell_apk/HostBrowserClassLoaderTest.java", 141 "junit/src/org/chromium/webapk/shell_apk/HostBrowserClassLoaderTest.java",
142 "junit/src/org/chromium/webapk/shell_apk/MainActivityTest.java", 142 "junit/src/org/chromium/webapk/shell_apk/MainActivityTest.java",
143 ] 143 ]
144 deps = [ 144 deps = [
145 ":webapk_java", 145 ":webapk_java",
146 "//chrome/android/webapk/libs/common:common_java", 146 "//chrome/android/webapk/libs/common:common_java",
147 ] 147 ]
148 } 148 }
OLDNEW
« no previous file with comments | « chrome/android/chrome_public_apk_tmpl.gni ('k') | components/cronet/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698