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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/utility/DEPS » ('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/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 7
8 gypi_values = exec_script("//build/gypi_to_gn.py", 8 gypi_values = exec_script("//build/gypi_to_gn.py",
9 [ rebase_path("../chrome_utility.gypi") ], 9 [ rebase_path("../chrome_utility.gypi") ],
10 "scope", 10 "scope",
(...skipping 12 matching lines...) Expand all
23 "//content/public/common", 23 "//content/public/common",
24 "//content/public/utility", 24 "//content/public/utility",
25 "//media", 25 "//media",
26 "//skia", 26 "//skia",
27 "//third_party/libxml", 27 "//third_party/libxml",
28 "//chrome:resources", 28 "//chrome:resources",
29 "//chrome:strings", 29 "//chrome:strings",
30 "//chrome/common", 30 "//chrome/common",
31 ] 31 ]
32 32
33 if (!is_android) { 33 if (is_android) {
34 if (use_seccomp_bpf) {
35 deps += [ "//sandbox/linux:seccomp_bpf" ]
36 defines += [ "USE_SECCOMP_BPF" ]
37 }
38 } else {
34 deps += [ "//net:net_utility_services" ] 39 deps += [ "//net:net_utility_services" ]
35 sources += 40 sources +=
36 rebase_path(gypi_values.chrome_utility_importer_sources, ".", "..") 41 rebase_path(gypi_values.chrome_utility_importer_sources, ".", "..")
37 } 42 }
38 43
39 if (enable_extensions) { 44 if (enable_extensions) {
40 deps += [ 45 deps += [
41 "//chrome/common/extensions/api", 46 "//chrome/common/extensions/api",
42 "//extensions/utility", 47 "//extensions/utility",
43 ] 48 ]
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 sources -= [ 111 sources -= [
107 "local_discovery/service_discovery_message_handler.cc", 112 "local_discovery/service_discovery_message_handler.cc",
108 "local_discovery/service_discovery_message_handler.h", 113 "local_discovery/service_discovery_message_handler.h",
109 ] 114 ]
110 } 115 }
111 116
112 if (safe_browsing_mode == 1) { 117 if (safe_browsing_mode == 1) {
113 defines += [ "FULL_SAFE_BROWSING" ] 118 defines += [ "FULL_SAFE_BROWSING" ]
114 } 119 }
115 } 120 }
OLDNEW
« 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