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

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

Issue 2523253002: Convert use_seccomp_bpf to the BUILDFLAG system. (Closed)
Patch Set: Rebase Created 4 years 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("//ppapi/features/features.gni") 8 import("//ppapi/features/features.gni")
9 import("//printing/features/features.gni") 9 import("//printing/features/features.gni")
10 import("//third_party/webrtc/build/webrtc.gni") 10 import("//third_party/webrtc/build/webrtc.gni")
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 ] 886 ]
887 887
888 deps += [ 888 deps += [
889 "//media/mojo/interfaces", 889 "//media/mojo/interfaces",
890 890
891 # Defines in mojo_media_config are also pulled in here. 891 # Defines in mojo_media_config are also pulled in here.
892 "//media/mojo/clients", 892 "//media/mojo/clients",
893 ] 893 ]
894 } 894 }
895 895
896 if (use_seccomp_bpf) { 896 if (is_linux || is_android) {
897 defines += [ "USE_SECCOMP_BPF" ] 897 deps += [ "//sandbox:sandbox_features" ]
898 } 898 }
899 899
900 if (use_ozone) { 900 if (use_ozone) {
901 deps += [ "//ui/ozone" ] 901 deps += [ "//ui/ozone" ]
902 } 902 }
903 903
904 if (enable_ipc_fuzzer) { 904 if (enable_ipc_fuzzer) {
905 configs += [ "//tools/ipc_fuzzer:ipc_fuzzer_config" ] 905 configs += [ "//tools/ipc_fuzzer:ipc_fuzzer_config" ]
906 } 906 }
907 } 907 }
908 908
909 # See comment at the top of //content/BUILD.gn for how this works. 909 # See comment at the top of //content/BUILD.gn for how this works.
910 group("for_content_tests") { 910 group("for_content_tests") {
911 visibility = [ "//content/test/*" ] 911 visibility = [ "//content/test/*" ]
912 912
913 if (enable_mojo_media) { 913 if (enable_mojo_media) {
914 # For the defines in mojo_media_config. 914 # For the defines in mojo_media_config.
915 public_configs = [ "//media/mojo/services:mojo_media_config" ] 915 public_configs = [ "//media/mojo/services:mojo_media_config" ]
916 } 916 }
917 917
918 if (!is_component_build) { 918 if (!is_component_build) {
919 public_deps = [ 919 public_deps = [
920 ":renderer", 920 ":renderer",
921 ] 921 ]
922 } 922 }
923 } 923 }
OLDNEW
« no previous file with comments | « content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc ('k') | content/renderer/renderer_main_platform_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698