| OLD | NEW |
| 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, "*") |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 native_lib_version_arg = "@FileArg($_native_lib_file:full-quoted)" | 26 native_lib_version_arg = "@FileArg($_native_lib_file:full-quoted)" |
| 27 extensions_to_not_compress = ".lpak,.pak,.bin,.dat" | 27 extensions_to_not_compress = ".lpak,.pak,.bin,.dat" |
| 28 | 28 |
| 29 if (!is_java_debug) { | 29 if (!is_java_debug) { |
| 30 proguard_enabled = true | 30 proguard_enabled = true |
| 31 if (!defined(proguard_configs)) { | 31 if (!defined(proguard_configs)) { |
| 32 proguard_configs = [] | 32 proguard_configs = [] |
| 33 } | 33 } |
| 34 proguard_configs += [ | 34 proguard_configs += [ |
| 35 "//android_webview/apk/java/proguard.flags", | 35 "//android_webview/apk/java/proguard.flags", |
| 36 "//base/android/base_proguard_config.flags", | 36 "//base/android/proguard/chromium_apk.flags", |
| 37 "//base/android/release_proguard_config.flags", | 37 "//base/android/proguard/chromium_code.flags", |
| 38 ] | 38 ] |
| 39 } | 39 } |
| 40 } | 40 } |
| 41 } | 41 } |
| OLD | NEW |