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("//media/media_options.gni") | 7 import("//media/media_options.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 9 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
10 if (is_mac) { | 10 if (is_mac) { |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 "plugin_list.h", | 491 "plugin_list.h", |
492 ] | 492 ] |
493 } | 493 } |
494 | 494 |
495 if (!is_win || !use_aura) { | 495 if (!is_win || !use_aura) { |
496 sources -= [ "cursors/webcursor_aurawin.cc" ] | 496 sources -= [ "cursors/webcursor_aurawin.cc" ] |
497 } | 497 } |
498 | 498 |
499 if (use_seccomp_bpf) { | 499 if (use_seccomp_bpf) { |
500 defines += [ "USE_SECCOMP_BPF" ] | 500 defines += [ "USE_SECCOMP_BPF" ] |
| 501 if (is_linux && (!is_chromeos || target_cpu != "arm")) { |
| 502 configs += [ "//build/config/linux/dri" ] |
| 503 } |
501 } else { | 504 } else { |
502 if (is_linux) { | 505 if (is_linux) { |
503 sources -= [ | 506 sources -= [ |
504 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc", | 507 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc", |
505 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.h", | 508 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.h", |
506 "sandbox_linux/bpf_gpu_policy_linux.cc", | 509 "sandbox_linux/bpf_gpu_policy_linux.cc", |
507 "sandbox_linux/bpf_gpu_policy_linux.h", | 510 "sandbox_linux/bpf_gpu_policy_linux.h", |
508 "sandbox_linux/bpf_ppapi_policy_linux.cc", | 511 "sandbox_linux/bpf_ppapi_policy_linux.cc", |
509 "sandbox_linux/bpf_ppapi_policy_linux.h", | 512 "sandbox_linux/bpf_ppapi_policy_linux.h", |
510 "sandbox_linux/bpf_renderer_policy_linux.cc", | 513 "sandbox_linux/bpf_renderer_policy_linux.cc", |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
594 "//ui/gfx/geometry/mojo", | 597 "//ui/gfx/geometry/mojo", |
595 "//ui/gfx/mojo", | 598 "//ui/gfx/mojo", |
596 "//url/mojo:url_mojom_gurl", | 599 "//url/mojo:url_mojom_gurl", |
597 "//url/mojo:url_mojom_origin", | 600 "//url/mojo:url_mojom_origin", |
598 ] | 601 ] |
599 | 602 |
600 export_class_attribute = "CONTENT_EXPORT" | 603 export_class_attribute = "CONTENT_EXPORT" |
601 export_define = "CONTENT_IMPLEMENTATION=1" | 604 export_define = "CONTENT_IMPLEMENTATION=1" |
602 export_header = "content/common/content_export.h" | 605 export_header = "content/common/content_export.h" |
603 } | 606 } |
OLD | NEW |