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

Side by Side Diff: build/config/android/rules.gni

Issue 2123753005: Creating new gn arg: enable_all_proguard_optimizations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased again Created 4 years, 5 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 | « build/config/android/config.gni ('k') | chrome/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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/internal_rules.gni") 6 import("//build/config/android/internal_rules.gni")
7 import("//build/toolchain/toolchain.gni") 7 import("//build/toolchain/toolchain.gni")
8 8
9 assert(is_android) 9 assert(is_android)
10 10
(...skipping 1811 matching lines...) Expand 10 before | Expand all | Expand 10 after
1822 ":$java_target", # Generates the jar file. 1822 ":$java_target", # Generates the jar file.
1823 ] 1823 ]
1824 } 1824 }
1825 } 1825 }
1826 1826
1827 if (_proguard_enabled) { 1827 if (_proguard_enabled) {
1828 _proguard_configs = [ _generated_proguard_config ] 1828 _proguard_configs = [ _generated_proguard_config ]
1829 if (defined(invoker.proguard_configs)) { 1829 if (defined(invoker.proguard_configs)) {
1830 _proguard_configs += invoker.proguard_configs 1830 _proguard_configs += invoker.proguard_configs
1831 } 1831 }
1832 assert(_proguard_configs != []) # Mark as used.
1832 _proguard_target = "${_template_name}__proguard" 1833 _proguard_target = "${_template_name}__proguard"
1833 proguard(_proguard_target) { 1834 proguard(_proguard_target) {
1834 forward_variables_from(invoker, 1835 forward_variables_from(invoker,
1835 [ 1836 [
1836 "alternative_android_sdk_jar", 1837 "alternative_android_sdk_jar",
1837 "proguard_jar_path", 1838 "proguard_jar_path",
1838 ]) 1839 ])
1839 deps = [ 1840 deps = [
1840 ":$build_config_target", 1841 ":$build_config_target",
1841 ":$java_target", 1842 ":$java_target",
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
2551 android_library(target_name) { 2552 android_library(target_name) {
2552 chromium_code = false 2553 chromium_code = false
2553 java_files = [] 2554 java_files = []
2554 srcjar_deps = [ ":${_template_name}__protoc_java" ] 2555 srcjar_deps = [ ":${_template_name}__protoc_java" ]
2555 deps = [ 2556 deps = [
2556 "//third_party/android_protobuf:protobuf_nano_javalib", 2557 "//third_party/android_protobuf:protobuf_nano_javalib",
2557 ] 2558 ]
2558 } 2559 }
2559 } 2560 }
2560 } 2561 }
OLDNEW
« no previous file with comments | « build/config/android/config.gni ('k') | chrome/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698