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

Unified Diff: sandbox/linux/BUILD.gn

Issue 997463002: Add SetCapabilities for setting capabilities to an exact set. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update BUILD.gn. Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/linux/rpm/expected_deps_x86_64 ('k') | sandbox/linux/sandbox_linux.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/BUILD.gn
diff --git a/sandbox/linux/BUILD.gn b/sandbox/linux/BUILD.gn
index 3b340bda2f58f921fdefb178a1b4e6820bdd37ff..211c22bd3dd7bf4c9ba7c5d0df8f0e3daf9ceb4b 100644
--- a/sandbox/linux/BUILD.gn
+++ b/sandbox/linux/BUILD.gn
@@ -126,6 +126,9 @@ source_set("sandbox_linux_unittests_sources") {
"services/namespace_sandbox_unittest.cc",
"services/namespace_utils_unittest.cc",
]
+
+ # For credentials_unittest.cc
+ configs += [ "//build/config/linux:libcap" ]
}
}
@@ -265,6 +268,10 @@ component("sandbox_services") {
defines = [ "SANDBOX_IMPLEMENTATION" ]
+ deps = [
+ "//base",
+ ]
+
if (compile_credentials) {
sources += [
"services/credentials.cc",
@@ -275,13 +282,8 @@ component("sandbox_services") {
"services/namespace_utils.h",
]
- # For capabilities.cc.
- configs += [ "//build/config/linux:libcap" ]
+ deps += [ ":sandbox_services_headers" ]
}
-
- deps = [
- "//base",
- ]
}
source_set("sandbox_services_headers") {
« no previous file with comments | « chrome/installer/linux/rpm/expected_deps_x86_64 ('k') | sandbox/linux/sandbox_linux.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698