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 # TODO(brettw) this file is a work in progress, it is not currently hooked up | 5 # TODO(brettw) this file is a work in progress, it is not currently hooked up |
6 # to the build, but currently represents the state of content/common's deps. | 6 # to the build, but currently represents the state of content/common's deps. |
7 | 7 |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("//content/common/common.gni") | 10 import("//content/common/common.gni") |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 #"//media", | 230 #"//media", |
231 "//ui/gl", | 231 "//ui/gl", |
232 ] | 232 ] |
233 | 233 |
234 # TODO(GYP): extract_xinput action. | 234 # TODO(GYP): extract_xinput action. |
235 } | 235 } |
236 | 236 |
237 if (!is_win || !use_aura) { | 237 if (!is_win || !use_aura) { |
238 sources -= [ "cursors/webcursor_aurawin.cc" ] | 238 sources -= [ "cursors/webcursor_aurawin.cc" ] |
239 } | 239 } |
240 if (!use_aura || !use_x11) { | |
241 sources -= [ "cursors/webcursor_aurax11.cc" ] | |
242 } | |
243 | 240 |
244 if (use_seccomp_bpf) { | 241 if (use_seccomp_bpf) { |
245 defines += [ "USE_SECCOMP_BPF" ] | 242 defines += [ "USE_SECCOMP_BPF" ] |
246 } else { | 243 } else { |
247 if (is_linux) { | 244 if (is_linux) { |
248 sources -= [ | 245 sources -= [ |
249 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc", | 246 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc", |
250 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.h", | 247 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.h", |
251 "sandbox_linux/bpf_gpu_policy_linux.cc", | 248 "sandbox_linux/bpf_gpu_policy_linux.cc", |
252 "sandbox_linux/bpf_gpu_policy_linux.h", | 249 "sandbox_linux/bpf_gpu_policy_linux.h", |
253 "sandbox_linux/bpf_ppapi_policy_linux.cc", | 250 "sandbox_linux/bpf_ppapi_policy_linux.cc", |
254 "sandbox_linux/bpf_ppapi_policy_linux.h", | 251 "sandbox_linux/bpf_ppapi_policy_linux.h", |
255 "sandbox_linux/bpf_renderer_policy_linux.cc", | 252 "sandbox_linux/bpf_renderer_policy_linux.cc", |
256 "sandbox_linux/bpf_renderer_policy_linux.h", | 253 "sandbox_linux/bpf_renderer_policy_linux.h", |
257 "sandbox_linux/sandbox_bpf_base_policy_linux.cc", | 254 "sandbox_linux/sandbox_bpf_base_policy_linux.cc", |
258 "sandbox_linux/sandbox_bpf_base_policy_linux.h", | 255 "sandbox_linux/sandbox_bpf_base_policy_linux.h", |
259 ] | 256 ] |
260 } | 257 } |
261 if (is_android) { | 258 if (is_android) { |
262 sources -= [ | 259 sources -= [ |
263 "sandbox_linux/android/sandbox_bpf_base_policy_android.cc", | 260 "sandbox_linux/android/sandbox_bpf_base_policy_android.cc", |
264 "sandbox_linux/android/sandbox_bpf_base_policy_android.h", | 261 "sandbox_linux/android/sandbox_bpf_base_policy_android.h", |
265 ] | 262 ] |
266 } | 263 } |
267 } | 264 } |
268 } | 265 } |
269 | 266 |
OLD | NEW |