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

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

Issue 566023003: Add "rt" to libs of GN build linux sandbox unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | no next file » | 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 ] 79 ]
80 80
81 deps = [ 81 deps = [
82 ":sandbox", 82 ":sandbox",
83 ":sandbox_linux_test_utils", 83 ":sandbox_linux_test_utils",
84 "//base", 84 "//base",
85 "//base/test:test_support", 85 "//base/test:test_support",
86 "//testing/gtest", 86 "//testing/gtest",
87 ] 87 ]
88 88
89 libs = [ "rt" ]
90
89 if (compile_suid_client) { 91 if (compile_suid_client) {
90 sources += [ 92 sources += [
91 "suid/client/setuid_sandbox_client_unittest.cc", 93 "suid/client/setuid_sandbox_client_unittest.cc",
92 ] 94 ]
93 } 95 }
94 if (use_seccomp_bpf) { 96 if (use_seccomp_bpf) {
95 sources += [ 97 sources += [
96 "bpf_dsl/bpf_dsl_unittest.cc", 98 "bpf_dsl/bpf_dsl_unittest.cc",
97 "bpf_dsl/cons_unittest.cc", 99 "bpf_dsl/cons_unittest.cc",
98 "seccomp-bpf-helpers/baseline_policy_unittest.cc", 100 "seccomp-bpf-helpers/baseline_policy_unittest.cc",
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 # 'type': 'none', 309 # 'type': 'none',
308 # 'variables': { 310 # 'variables': {
309 # 'test_suite_name': 'sandbox_linux_jni_unittests', 311 # 'test_suite_name': 'sandbox_linux_jni_unittests',
310 # }, 312 # },
311 # 'dependencies': [ 313 # 'dependencies': [
312 # 'sandbox_linux_jni_unittests', 314 # 'sandbox_linux_jni_unittests',
313 # ], 315 # ],
314 # 'includes': [ '../../build/apk_test.gypi' ], 316 # 'includes': [ '../../build/apk_test.gypi' ],
315 # } 317 # }
316 } 318 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698