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

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

Issue 1664653003: Revert of Move gn _run target generation into test(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 these after we've converted everything to GN. 195 # TODO(GYP): Delete this 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
213 # The main sandboxing test target. "sandbox_linux_unittests" cannot use the 204 # The main sandboxing test target. "sandbox_linux_unittests" cannot use the
214 # test() template because the test is run as an executable not as an APK on 205 # test() template because the test is run as an executable not as an APK on
215 # Android. 206 # Android.
216 executable("sandbox_linux_unittests") { 207 executable("sandbox_linux_unittests") {
217 testonly = true 208 testonly = true
218 deps = [ 209 deps = [
219 ":sandbox_linux_unittests_sources", 210 ":sandbox_linux_unittests_sources",
220 "//build/config/sanitizers:deps", 211 "//build/config/sanitizers:deps",
221 ] 212 ]
222 } 213 }
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 } 455 }
465 } 456 }
466 457
467 test_runner_script("sandbox_linux_unittests__test_runner_script") { 458 test_runner_script("sandbox_linux_unittests__test_runner_script") {
468 test_name = "sandbox_linux_unittests" 459 test_name = "sandbox_linux_unittests"
469 test_type = "gtest" 460 test_type = "gtest"
470 test_suite = "sandbox_linux_unittests" 461 test_suite = "sandbox_linux_unittests"
471 isolate_file = "//sandbox/sandbox_linux_unittests_android.isolate" 462 isolate_file = "//sandbox/sandbox_linux_unittests_android.isolate"
472 } 463 }
473 } 464 }
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