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/chromecast_build.gni") |
5 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
7 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
8 import("//ppapi/features/features.gni") | 9 import("//ppapi/features/features.gni") |
9 import("//printing/features/features.gni") | 10 import("//printing/features/features.gni") |
10 import("//third_party/webrtc/build/webrtc.gni") | 11 import("//third_party/webrtc/build/webrtc.gni") |
11 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 12 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
12 | 13 |
13 if (is_component_build) { | 14 if (is_component_build) { |
14 link_target_type = "source_set" | 15 link_target_type = "source_set" |
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
894 deps += [ "//sandbox:sandbox_features" ] | 895 deps += [ "//sandbox:sandbox_features" ] |
895 } | 896 } |
896 | 897 |
897 if (use_ozone) { | 898 if (use_ozone) { |
898 deps += [ "//ui/ozone" ] | 899 deps += [ "//ui/ozone" ] |
899 } | 900 } |
900 | 901 |
901 if (enable_ipc_fuzzer) { | 902 if (enable_ipc_fuzzer) { |
902 configs += [ "//tools/ipc_fuzzer:ipc_fuzzer_config" ] | 903 configs += [ "//tools/ipc_fuzzer:ipc_fuzzer_config" ] |
903 } | 904 } |
| 905 |
| 906 if (is_chromecast) { |
| 907 defines += [ "MEDIA_EVENT_LOG_UTILITY=VLOG(1)" ] |
| 908 } |
904 } | 909 } |
905 | 910 |
906 # See comment at the top of //content/BUILD.gn for how this works. | 911 # See comment at the top of //content/BUILD.gn for how this works. |
907 group("for_content_tests") { | 912 group("for_content_tests") { |
908 visibility = [ "//content/test/*" ] | 913 visibility = [ "//content/test/*" ] |
909 | 914 |
910 if (enable_mojo_media) { | 915 if (enable_mojo_media) { |
911 # For the defines in mojo_media_config. | 916 # For the defines in mojo_media_config. |
912 public_configs = [ "//media/mojo/services:mojo_media_config" ] | 917 public_configs = [ "//media/mojo/services:mojo_media_config" ] |
913 } | 918 } |
914 | 919 |
915 if (!is_component_build) { | 920 if (!is_component_build) { |
916 public_deps = [ | 921 public_deps = [ |
917 ":renderer", | 922 ":renderer", |
918 ] | 923 ] |
919 } | 924 } |
920 } | 925 } |
OLD | NEW |