OLD | NEW |
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 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//content/common/common.gni") | 7 import("//content/common/common.gni") |
8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
9 import("//mojo/public/tools/bindings/mojom.gni") | 9 import("//mojo/public/tools/bindings/mojom.gni") |
10 if (is_mac) { | 10 if (is_mac) { |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 "plugin_list.h", | 171 "plugin_list.h", |
172 ] | 172 ] |
173 } | 173 } |
174 | 174 |
175 if (!is_win || !use_aura) { | 175 if (!is_win || !use_aura) { |
176 sources -= [ "cursors/webcursor_aurawin.cc" ] | 176 sources -= [ "cursors/webcursor_aurawin.cc" ] |
177 } | 177 } |
178 | 178 |
179 if (use_seccomp_bpf) { | 179 if (use_seccomp_bpf) { |
180 defines += [ "USE_SECCOMP_BPF" ] | 180 defines += [ "USE_SECCOMP_BPF" ] |
| 181 if (is_linux && (!is_chromeos || target_cpu != "arm")) { |
| 182 configs += [ "//build/config/linux/dri" ] |
| 183 } |
181 } else { | 184 } else { |
182 if (is_linux) { | 185 if (is_linux) { |
183 sources -= [ | 186 sources -= [ |
184 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc", | 187 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc", |
185 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.h", | 188 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.h", |
186 "sandbox_linux/bpf_gpu_policy_linux.cc", | 189 "sandbox_linux/bpf_gpu_policy_linux.cc", |
187 "sandbox_linux/bpf_gpu_policy_linux.h", | 190 "sandbox_linux/bpf_gpu_policy_linux.h", |
188 "sandbox_linux/bpf_ppapi_policy_linux.cc", | 191 "sandbox_linux/bpf_ppapi_policy_linux.cc", |
189 "sandbox_linux/bpf_ppapi_policy_linux.h", | 192 "sandbox_linux/bpf_ppapi_policy_linux.h", |
190 "sandbox_linux/bpf_renderer_policy_linux.cc", | 193 "sandbox_linux/bpf_renderer_policy_linux.cc", |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 public_deps = [ | 240 public_deps = [ |
238 "//components/leveldb/public/interfaces", | 241 "//components/leveldb/public/interfaces", |
239 "//components/mus/public/interfaces", | 242 "//components/mus/public/interfaces", |
240 "//services/shell/public/interfaces", | 243 "//services/shell/public/interfaces", |
241 "//skia/public/interfaces", | 244 "//skia/public/interfaces", |
242 "//third_party/WebKit/public:mojo_bindings", | 245 "//third_party/WebKit/public:mojo_bindings", |
243 "//ui/mojo/geometry:interfaces", | 246 "//ui/mojo/geometry:interfaces", |
244 "//url/mojo:url_mojom_origin", | 247 "//url/mojo:url_mojom_origin", |
245 ] | 248 ] |
246 } | 249 } |
OLD | NEW |