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

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

Issue 2262443002: Adding new shared config for Chrome and WebView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « chrome/android/java/proguard.flags ('k') | no next file » | 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 6
7 declare_args() { 7 declare_args() {
8 # The origin URL of the WebAPK. Used to generate a unique package name for 8 # The origin URL of the WebAPK. Used to generate a unique package name for
9 # WebAPK. Example: "foo.com" 9 # WebAPK. Example: "foo.com"
10 webapk_manifest_package_origin = "template" 10 webapk_manifest_package_origin = "template"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 android_manifest_dep = ":shell_apk_manifest" 104 android_manifest_dep = ":shell_apk_manifest"
105 apk_name = "WebApk.$webapk_manifest_package_origin" 105 apk_name = "WebApk.$webapk_manifest_package_origin"
106 deps = [ 106 deps = [
107 ":webapk_java", 107 ":webapk_java",
108 ] 108 ]
109 if (!is_java_debug) { 109 if (!is_java_debug) {
110 proguard_enabled = true 110 proguard_enabled = true
111 proguard_configs = [ 111 proguard_configs = [
112 "//chrome/android/java/proguard.flags", 112 "//chrome/android/java/proguard.flags",
113 "//base/android/base_proguard_config.flags", 113 "//base/android/base_proguard_config.flags",
114 "//base/android/release_proguard_config.flags",
114 ] 115 ]
115 } 116 }
116 } 117 }
117 118
118 android_library("shell_apk_javatests") { 119 android_library("shell_apk_javatests") {
119 testonly = true 120 testonly = true
120 java_files = 121 java_files =
121 [ "javatests/src/org/chromium/webapk/shell_apk/DexLoaderTest.java" ] 122 [ "javatests/src/org/chromium/webapk/shell_apk/DexLoaderTest.java" ]
122 deps = [ 123 deps = [
123 ":webapk_java", 124 ":webapk_java",
124 "//base:base_java", 125 "//base:base_java",
125 "//base:base_java_test_support", 126 "//base:base_java_test_support",
126 "//chrome/android/webapk/libs/common:common_java", 127 "//chrome/android/webapk/libs/common:common_java",
127 "//content/public/test/android:content_java_test_support", 128 "//content/public/test/android:content_java_test_support",
128 ] 129 ]
129 srcjar_deps = [ "javatests/dex_optimizer:dex_optimizer_service_aidl" ] 130 srcjar_deps = [ "javatests/dex_optimizer:dex_optimizer_service_aidl" ]
130 } 131 }
131 132
132 junit_binary("webapk_shell_apk_junit_tests") { 133 junit_binary("webapk_shell_apk_junit_tests") {
133 java_files = [ "junit/src/org/chromium/webapk/shell_apk/HostBrowserClassLoader Test.java" ] 134 java_files = [ "junit/src/org/chromium/webapk/shell_apk/HostBrowserClassLoader Test.java" ]
134 deps = [ 135 deps = [
135 ":webapk_java", 136 ":webapk_java",
136 "//chrome/android/webapk/libs/common:common_java", 137 "//chrome/android/webapk/libs/common:common_java",
137 ] 138 ]
138 } 139 }
OLDNEW
« no previous file with comments | « chrome/android/java/proguard.flags ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698