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

Side by Side Diff: sandbox/linux/BUILD.gn

Issue 1662053002: Move gn _run target generation into test(). (RELAND) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: +kbr changes Created 4 years, 10 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 | « remoting/BUILD.gn ('k') | skia/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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/nacl/config.gni") 6 import("//build/config/nacl/config.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 "bpf_dsl/golden/x86-64/NegativeConstantsPolicy.txt", 185 "bpf_dsl/golden/x86-64/NegativeConstantsPolicy.txt",
186 "bpf_dsl/golden/x86-64/SwitchPolicy.txt", 186 "bpf_dsl/golden/x86-64/SwitchPolicy.txt",
187 ] 187 ]
188 outputs = [ 188 outputs = [
189 "$target_gen_dir/bpf_dsl/golden/golden_files.h", 189 "$target_gen_dir/bpf_dsl/golden/golden_files.h",
190 ] 190 ]
191 args = 191 args =
192 rebase_path(outputs, root_build_dir) + rebase_path(inputs, root_build_dir) 192 rebase_path(outputs, root_build_dir) + rebase_path(inputs, root_build_dir)
193 } 193 }
194 194
195 # TODO(GYP): Delete this after we've converted everything to GN. 195 # TODO(GYP): Delete these after we've converted everything to GN.
196 # The _run targets exist only for compatibility w/ GYP. 196 # The _run targets exist only for compatibility w/ GYP.
197 group("sandbox_linux_unittests_run") { 197 group("sandbox_linux_unittests_run") {
198 testonly = true 198 testonly = true
199 deps = [ 199 deps = [
200 ":sandbox_linux_unittests", 200 ":sandbox_linux_unittests",
201 ] 201 ]
202 } 202 }
203 203
204 if (is_android) {
205 group("sandbox_linux_unittests_apk_run") {
206 testonly = true
207 deps = [
208 ":sandbox_linux_unittests",
209 ]
210 }
211 }
212
204 # The main sandboxing test target. "sandbox_linux_unittests" cannot use the 213 # The main sandboxing test target. "sandbox_linux_unittests" cannot use the
205 # test() template because the test is run as an executable not as an APK on 214 # test() template because the test is run as an executable not as an APK on
206 # Android. 215 # Android.
207 executable("sandbox_linux_unittests") { 216 executable("sandbox_linux_unittests") {
208 testonly = true 217 testonly = true
209 deps = [ 218 deps = [
210 ":sandbox_linux_unittests_sources", 219 ":sandbox_linux_unittests_sources",
211 "//build/config/sanitizers:deps", 220 "//build/config/sanitizers:deps",
212 ] 221 ]
213 } 222 }
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 } 464 }
456 } 465 }
457 466
458 test_runner_script("sandbox_linux_unittests__test_runner_script") { 467 test_runner_script("sandbox_linux_unittests__test_runner_script") {
459 test_name = "sandbox_linux_unittests" 468 test_name = "sandbox_linux_unittests"
460 test_type = "gtest" 469 test_type = "gtest"
461 test_suite = "sandbox_linux_unittests" 470 test_suite = "sandbox_linux_unittests"
462 isolate_file = "//sandbox/sandbox_linux_unittests_android.isolate" 471 isolate_file = "//sandbox/sandbox_linux_unittests_android.isolate"
463 } 472 }
464 } 473 }
OLDNEW
« no previous file with comments | « remoting/BUILD.gn ('k') | skia/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698