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

Side by Side Diff: testing/test.gni

Issue 2000333003: Allow test and unittest_apk GN targets to use proguard (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 # ============================================================================== 5 # ==============================================================================
6 # TEST SETUP 6 # TEST SETUP
7 # ============================================================================== 7 # ==============================================================================
8 8
9 template("_gen_isolate") { 9 template("_gen_isolate") {
10 testonly = true 10 testonly = true
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 if (defined(invoker.extra_dist_files)) { 151 if (defined(invoker.extra_dist_files)) {
152 extra_files = invoker.extra_dist_files 152 extra_files = invoker.extra_dist_files
153 } 153 }
154 } 154 }
155 } else { 155 } else {
156 _library_target = "_${target_name}__library" 156 _library_target = "_${target_name}__library"
157 _apk_target = "${target_name}_apk" 157 _apk_target = "${target_name}_apk"
158 _apk_specific_vars = [ 158 _apk_specific_vars = [
159 "android_manifest", 159 "android_manifest",
160 "enable_multidex", 160 "enable_multidex",
161 "proguard_configs",
162 "proguard_enabled",
161 "use_default_launcher", 163 "use_default_launcher",
162 "write_asset_list", 164 "write_asset_list",
163 ] 165 ]
164 shared_library(_library_target) { 166 shared_library(_library_target) {
165 # Configs will always be defined since we set_defaults in BUILDCONFIG.gn . 167 # Configs will always be defined since we set_defaults in BUILDCONFIG.gn .
166 configs = [] # Prevent list overwriting warning. 168 configs = [] # Prevent list overwriting warning.
167 configs = invoker.configs 169 configs = invoker.configs
168 testonly = true 170 testonly = true
169 171
170 deps = [] 172 deps = []
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 if (defined(invoker.output_name) && target_name != invoker.output_name) { 343 if (defined(invoker.output_name) && target_name != invoker.output_name) {
342 group("${invoker.output_name}_run") { 344 group("${invoker.output_name}_run") {
343 testonly = true 345 testonly = true
344 deps = [ 346 deps = [
345 ":${invoker.target_name}", 347 ":${invoker.target_name}",
346 ] 348 ]
347 } 349 }
348 } 350 }
349 } 351 }
350 } 352 }
OLDNEW
« build/config/android/rules.gni ('K') | « build/config/android/rules.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698