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

Side by Side Diff: android_webview/system_webview_apk_tmpl.gni

Issue 2031033002: Adding option for Proguard jar to be switched. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed import for annotation Created 4 years, 6 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 | « no previous file | base/BUILD.gn » ('j') | base/android/java/templates/BuildConfig.template » ('J')
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/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 7
8 template("system_webview_apk_tmpl") { 8 template("system_webview_apk_tmpl") {
9 android_apk(target_name) { 9 android_apk(target_name) {
10 forward_variables_from(invoker, "*") 10 forward_variables_from(invoker, "*")
11 11
12 deps += [ 12 deps += [
13 "//android_webview:assets", 13 "//android_webview:assets",
14 "//android_webview:libwebviewchromium", 14 "//android_webview:libwebviewchromium",
15 "//base:base_java", 15 "//base:base_java",
16 ] 16 ]
17 17
18 if (!defined(alternative_android_sdk_jar)) { 18 if (!defined(alternative_android_sdk_jar)) {
19 alternative_android_sdk_jar = webview_framework_jar 19 alternative_android_sdk_jar = webview_framework_jar
20 } 20 }
21 21
22 shared_resources = true 22 shared_resources = true
23 native_libs = [ "libwebviewchromium.so" ] 23 native_libs = [ "libwebviewchromium.so" ]
24 native_lib_version_rule = "//build/util:chrome_version_json" 24 native_lib_version_rule = "//build/util:chrome_version_json"
25 _native_lib_file = 25 _native_lib_file =
26 rebase_path("$root_gen_dir/CHROME_VERSION.json", root_out_dir) 26 rebase_path("$root_gen_dir/CHROME_VERSION.json", root_out_dir)
27 native_lib_version_arg = "@FileArg($_native_lib_file:full-quoted)" 27 native_lib_version_arg = "@FileArg($_native_lib_file:full-quoted)"
28 extensions_to_not_compress = ".lpak,.pak,.bin,.dat" 28 extensions_to_not_compress = ".lpak,.pak,.bin,.dat"
29 29
30 if (!is_debug) { 30 if (!is_java_debug) {
31 proguard_enabled = true 31 proguard_enabled = true
32 proguard_configs = [ "//android_webview/apk/java/proguard.flags" ] 32 proguard_configs = [ "//android_webview/apk/java/proguard.flags" ]
33 } 33 }
34 } 34 }
35 } 35 }
OLDNEW
« no previous file with comments | « no previous file | base/BUILD.gn » ('j') | base/android/java/templates/BuildConfig.template » ('J')

Powered by Google App Engine
This is Rietveld 408576698