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

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

Issue 2882813002: media: Convert mojo media defines to buildflags (Closed)
Patch Set: rebase Created 3 years, 7 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
« no previous file with comments | « content/gpu/gpu_service_factory.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/chromecast_build.gni") 5 import("//build/config/chromecast_build.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/split_static_library.gni") 8 import("//build/split_static_library.gni")
9 import("//content/common/features.gni") 9 import("//content/common/features.gni")
10 import("//media/media_options.gni") 10 import("//media/media_options.gni")
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 "//gpu/command_buffer/client:gles2_interface", 461 "//gpu/command_buffer/client:gles2_interface",
462 "//jingle:jingle_glue", 462 "//jingle:jingle_glue",
463 "//media", 463 "//media",
464 "//media/blink", 464 "//media/blink",
465 "//media/capture", 465 "//media/capture",
466 "//media/gpu", 466 "//media/gpu",
467 "//media/gpu/ipc/client", 467 "//media/gpu/ipc/client",
468 "//media/gpu/ipc/common", 468 "//media/gpu/ipc/common",
469 "//media/midi", 469 "//media/midi",
470 "//media/midi:mojo", 470 "//media/midi:mojo",
471 "//media/mojo:features",
471 "//media/mojo/interfaces:remoting", 472 "//media/mojo/interfaces:remoting",
472 "//mojo/common", 473 "//mojo/common",
473 "//mojo/edk/js", 474 "//mojo/edk/js",
474 "//mojo/public/cpp/bindings", 475 "//mojo/public/cpp/bindings",
475 "//mojo/public/js", 476 "//mojo/public/js",
476 "//net", 477 "//net",
477 "//ppapi/features", 478 "//ppapi/features",
478 "//printing/features", 479 "//printing/features",
479 "//sandbox", 480 "//sandbox",
480 "//services/device/public/interfaces", 481 "//services/device/public/interfaces",
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 deps += [ "//printing" ] 946 deps += [ "//printing" ]
946 } 947 }
947 948
948 if (enable_mojo_media) { 949 if (enable_mojo_media) {
949 sources += [ 950 sources += [
950 "media/media_interface_provider.cc", 951 "media/media_interface_provider.cc",
951 "media/media_interface_provider.h", 952 "media/media_interface_provider.h",
952 ] 953 ]
953 954
954 deps += [ 955 deps += [
956 "//media/mojo/clients",
955 "//media/mojo/interfaces", 957 "//media/mojo/interfaces",
956
957 # Defines in mojo_media_config are also pulled in here.
958 "//media/mojo/clients",
959 ] 958 ]
960 } 959 }
961 960
962 if (is_linux || is_android) { 961 if (is_linux || is_android) {
963 deps += [ "//sandbox:sandbox_features" ] 962 deps += [ "//sandbox:sandbox_features" ]
964 } 963 }
965 964
966 if (use_ozone) { 965 if (use_ozone) {
967 deps += [ "//ui/ozone" ] 966 deps += [ "//ui/ozone" ]
968 } 967 }
969 968
970 if (enable_ipc_fuzzer) { 969 if (enable_ipc_fuzzer) {
971 configs += [ "//tools/ipc_fuzzer:ipc_fuzzer_config" ] 970 configs += [ "//tools/ipc_fuzzer:ipc_fuzzer_config" ]
972 } 971 }
973 972
974 if (is_chromecast) { 973 if (is_chromecast) {
975 defines += [ "MEDIA_EVENT_LOG_UTILITY=LOG(INFO)" ] 974 defines += [ "MEDIA_EVENT_LOG_UTILITY=LOG(INFO)" ]
976 } 975 }
977 } 976 }
978 977
979 # See comment at the top of //content/BUILD.gn for how this works. 978 # See comment at the top of //content/BUILD.gn for how this works.
980 group("for_content_tests") { 979 group("for_content_tests") {
981 visibility = [ "//content/test/*" ] 980 visibility = [ "//content/test/*" ]
982 981
983 if (enable_mojo_media) {
984 # For the defines in mojo_media_config.
985 public_configs = [ "//media/mojo/services:mojo_media_config" ]
986 }
987
988 if (!is_component_build) { 982 if (!is_component_build) {
989 public_deps = [ 983 public_deps = [
990 ":renderer", 984 ":renderer",
991 ] 985 ]
992 } 986 }
993 } 987 }
OLDNEW
« no previous file with comments | « content/gpu/gpu_service_factory.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698