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

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

Issue 551933002: Mark gtest and gmock as testonly in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testonly
Patch Set: android Created 6 years, 3 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 | « mojo/public/cpp/test_support/BUILD.gn ('k') | sql/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 6
7 declare_args() { 7 declare_args() {
8 compile_suid_client = is_linux 8 compile_suid_client = is_linux
9 9
10 compile_credentials = is_linux 10 compile_credentials = is_linux
(...skipping 17 matching lines...) Expand all
28 } 28 }
29 if (use_seccomp_bpf) { 29 if (use_seccomp_bpf) {
30 deps += [ 30 deps += [
31 ":seccomp_bpf", 31 ":seccomp_bpf",
32 ":seccomp_bpf_helpers", 32 ":seccomp_bpf_helpers",
33 ] 33 ]
34 } 34 }
35 } 35 }
36 36
37 source_set("sandbox_linux_test_utils") { 37 source_set("sandbox_linux_test_utils") {
38 testonly = true
38 sources = [ 39 sources = [
39 "tests/sandbox_test_runner.cc", 40 "tests/sandbox_test_runner.cc",
40 "tests/sandbox_test_runner.h", 41 "tests/sandbox_test_runner.h",
41 "tests/sandbox_test_runner_function_pointer.cc", 42 "tests/sandbox_test_runner_function_pointer.cc",
42 "tests/sandbox_test_runner_function_pointer.h", 43 "tests/sandbox_test_runner_function_pointer.h",
43 "tests/test_utils.cc", 44 "tests/test_utils.cc",
44 "tests/test_utils.h", 45 "tests/test_utils.h",
45 "tests/unit_tests.cc", 46 "tests/unit_tests.cc",
46 "tests/unit_tests.h", 47 "tests/unit_tests.h",
47 ] 48 ]
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 # 'type': 'none', 316 # 'type': 'none',
316 # 'variables': { 317 # 'variables': {
317 # 'test_suite_name': 'sandbox_linux_jni_unittests', 318 # 'test_suite_name': 'sandbox_linux_jni_unittests',
318 # }, 319 # },
319 # 'dependencies': [ 320 # 'dependencies': [
320 # 'sandbox_linux_jni_unittests', 321 # 'sandbox_linux_jni_unittests',
321 # ], 322 # ],
322 # 'includes': [ '../../build/apk_test.gypi' ], 323 # 'includes': [ '../../build/apk_test.gypi' ],
323 # } 324 # }
324 } 325 }
OLDNEW
« no previous file with comments | « mojo/public/cpp/test_support/BUILD.gn ('k') | sql/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698