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("//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 Loading... |
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 } |
OLD | NEW |