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

Unified Diff: chrome/utility/BUILD.gn

Issue 1018953004: Add SeccompSupportDetector for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More 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/common/chrome_utility_messages.h ('k') | chrome/utility/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/BUILD.gn
diff --git a/chrome/utility/BUILD.gn b/chrome/utility/BUILD.gn
index 07fc83c173506bac7431c2e74391620219644fef..d67c23850730de6495c0b36aae3784a92910af8c 100644
--- a/chrome/utility/BUILD.gn
+++ b/chrome/utility/BUILD.gn
@@ -30,7 +30,12 @@ static_library("utility") {
"//chrome/common",
]
- if (!is_android) {
+ if (is_android) {
+ if (use_seccomp_bpf) {
+ deps += [ "//sandbox/linux:seccomp_bpf" ]
+ defines += [ "USE_SECCOMP_BPF" ]
+ }
+ } else {
deps += [ "//net:net_utility_services" ]
sources +=
rebase_path(gypi_values.chrome_utility_importer_sources, ".", "..")
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/utility/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698