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

Side by Side Diff: testing/test.gni

Issue 2884303002: android: Remove _apk_run targets (Closed)
Patch Set: mb Created 3 years, 7 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 | tools/mb/mb.py » ('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 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 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 } else { 213 } else {
214 deps += [ ":$_test_runner_target" ] 214 deps += [ ":$_test_runner_target" ]
215 } 215 }
216 } 216 }
217 generated_script = "$root_build_dir/$_output_name" 217 generated_script = "$root_build_dir/$_output_name"
218 incremental_install = _incremental_apk_only 218 incremental_install = _incremental_apk_only
219 test_name = _output_name 219 test_name = _output_name
220 test_suite = _output_name 220 test_suite = _output_name
221 test_type = "gtest" 221 test_type = "gtest"
222 } 222 }
223
224 # TODO(GYP_GONE): Delete this after we've converted everything to GN.
225 # The _run targets exist only for compatibility w/ GYP.
226 group("${target_name}_apk_run") {
227 testonly = true
228 deps = [
229 ":${invoker.target_name}",
230 ]
231 }
232 } else if (is_ios) { 223 } else if (is_ios) {
233 import("//build/config/ios/ios_sdk.gni") 224 import("//build/config/ios/ios_sdk.gni")
234 import("//build/config/ios/rules.gni") 225 import("//build/config/ios/rules.gni")
235 226
236 _test_target = target_name 227 _test_target = target_name
237 _resources_bundle_data = target_name + "_resources_bundle_data" 228 _resources_bundle_data = target_name + "_resources_bundle_data"
238 229
239 bundle_data(_resources_bundle_data) { 230 bundle_data(_resources_bundle_data) {
240 visibility = [ ":$_test_target" ] 231 visibility = [ ":$_test_target" ]
241 sources = [ 232 sources = [
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 } 291 }
301 292
302 # Test defaults. 293 # Test defaults.
303 set_defaults("test") { 294 set_defaults("test") {
304 if (is_android) { 295 if (is_android) {
305 configs = default_shared_library_configs 296 configs = default_shared_library_configs
306 } else { 297 } else {
307 configs = default_executable_configs 298 configs = default_executable_configs
308 } 299 }
309 } 300 }
OLDNEW
« no previous file with comments | « no previous file | tools/mb/mb.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698