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

Side by Side Diff: content/common/BUILD.gn

Issue 1542013005: Add a new driver bug workaround SANDBOX_START_EARLY Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and remove gyp support Created 4 years, 2 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
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/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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 "plugin_list.h", 495 "plugin_list.h",
496 ] 496 ]
497 } 497 }
498 498
499 if (!is_win || !use_aura) { 499 if (!is_win || !use_aura) {
500 sources -= [ "cursors/webcursor_aurawin.cc" ] 500 sources -= [ "cursors/webcursor_aurawin.cc" ]
501 } 501 }
502 502
503 if (use_seccomp_bpf) { 503 if (use_seccomp_bpf) {
504 defines += [ "USE_SECCOMP_BPF" ] 504 defines += [ "USE_SECCOMP_BPF" ]
505 if (is_linux && (!is_chromeos || target_cpu != "arm")) {
506 configs += [ "//build/config/linux/dri" ]
507 }
505 } else { 508 } else {
506 if (is_linux) { 509 if (is_linux) {
507 sources -= [ 510 sources -= [
508 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc", 511 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc",
509 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.h", 512 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.h",
510 "sandbox_linux/bpf_gpu_policy_linux.cc", 513 "sandbox_linux/bpf_gpu_policy_linux.cc",
511 "sandbox_linux/bpf_gpu_policy_linux.h", 514 "sandbox_linux/bpf_gpu_policy_linux.h",
512 "sandbox_linux/bpf_ppapi_policy_linux.cc", 515 "sandbox_linux/bpf_ppapi_policy_linux.cc",
513 "sandbox_linux/bpf_ppapi_policy_linux.h", 516 "sandbox_linux/bpf_ppapi_policy_linux.h",
514 "sandbox_linux/bpf_renderer_policy_linux.cc", 517 "sandbox_linux/bpf_renderer_policy_linux.cc",
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 "//ui/gfx/geometry/mojo", 593 "//ui/gfx/geometry/mojo",
591 "//ui/gfx/mojo", 594 "//ui/gfx/mojo",
592 "//url/mojo:url_mojom_gurl", 595 "//url/mojo:url_mojom_gurl",
593 "//url/mojo:url_mojom_origin", 596 "//url/mojo:url_mojom_origin",
594 ] 597 ]
595 598
596 export_class_attribute = "CONTENT_EXPORT" 599 export_class_attribute = "CONTENT_EXPORT"
597 export_define = "CONTENT_IMPLEMENTATION=1" 600 export_define = "CONTENT_IMPLEMENTATION=1"
598 export_header = "content/common/content_export.h" 601 export_header = "content/common/content_export.h"
599 } 602 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698