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

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

Issue 2902943002: Revert of media: Add experimental feature to enable Mojo CDM on desktop Chromium (Closed)
Patch Set: 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/renderer/render_frame_impl.cc ('k') | content/utility/utility_service_factory.cc » ('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("//ppapi/features/features.gni") 5 import("//media/media_options.gni")
6 6
7 source_set("utility") { 7 source_set("utility") {
8 # Only the public target should depend on this. All other targets (even 8 # Only the public target should depend on this. All other targets (even
9 # internal content ones other than test) should depend on the public one. 9 # internal content ones other than test) should depend on the public one.
10 visibility = [ 10 visibility = [
11 ":for_content_tests", 11 ":for_content_tests",
12 "//content/app:*", 12 "//content/app:*",
13 "//content/public/utility:utility_sources", 13 "//content/public/utility:utility_sources",
14 ] 14 ]
15 15
(...skipping 11 matching lines...) Expand all
27 27
28 configs += [ "//content:content_implementation" ] 28 configs += [ "//content:content_implementation" ]
29 29
30 deps = [ 30 deps = [
31 "//base", 31 "//base",
32 "//content:export", 32 "//content:export",
33 "//content/child", 33 "//content/child",
34 "//content/network:network_sources", 34 "//content/network:network_sources",
35 "//content/public/child:child_sources", 35 "//content/public/child:child_sources",
36 "//content/public/common:common_sources", 36 "//content/public/common:common_sources",
37 "//media/mojo:features",
37 "//mojo/common", 38 "//mojo/common",
38 "//mojo/public/cpp/bindings", 39 "//mojo/public/cpp/bindings",
39 "//ppapi/features", 40 "//ppapi/features",
40 "//sandbox", 41 "//sandbox",
41 "//services/data_decoder:lib", 42 "//services/data_decoder:lib",
42 "//services/data_decoder/public/cpp", 43 "//services/data_decoder/public/cpp",
43 "//services/service_manager", 44 "//services/service_manager",
44 "//services/service_manager/public/cpp", 45 "//services/service_manager/public/cpp",
45 "//services/service_manager/public/interfaces", 46 "//services/service_manager/public/interfaces",
46 "//services/shape_detection:lib", 47 "//services/shape_detection:lib",
47 "//services/shape_detection/public/interfaces", 48 "//services/shape_detection/public/interfaces",
48 "//services/video_capture:lib", 49 "//services/video_capture:lib",
49 "//services/video_capture/public/interfaces:constants", 50 "//services/video_capture/public/interfaces:constants",
50 "//third_party/WebKit/public:blink_headers", 51 "//third_party/WebKit/public:blink_headers",
51 "//third_party/WebKit/public:mojo_bindings", 52 "//third_party/WebKit/public:mojo_bindings",
52 "//url", 53 "//url",
53 ] 54 ]
54 55
55 # When pepper CDMs are supported, we also support running the CDM in the 56 if (mojo_media_host == "utility") {
56 # utility process using mojo MediaService. 57 deps += [ "//media/mojo/services" ]
57 # TODO(xhwang): Replace "enable_pepper_cdms" with a better buildflag. See
58 # http://crbug.com/725394
59 if (enable_pepper_cdms) {
60 deps += [
61 "//media",
62 "//media/mojo:features",
63 "//media/mojo/services",
64 ]
65 } 58 }
66 } 59 }
67 60
68 # See comment at the top of //content/BUILD.gn for how this works. 61 # See comment at the top of //content/BUILD.gn for how this works.
69 group("for_content_tests") { 62 group("for_content_tests") {
70 visibility = [ "//content/test/*" ] 63 visibility = [ "//content/test/*" ]
71 if (!is_component_build) { 64 if (!is_component_build) {
72 public_deps = [ 65 public_deps = [
73 ":utility", 66 ":utility",
74 ] 67 ]
75 } 68 }
76 } 69 }
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/utility/utility_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698