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

Side by Side Diff: chromecast/browser/media/BUILD.gn

Issue 1968833002: media: Make media mojo services a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gn style Created 4 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//chromecast/chromecast.gni") 5 import("//chromecast/chromecast.gni")
6 import("//media/media_options.gni") 6 import("//media/media_options.gni")
7 7
8 source_set("media") { 8 source_set("media") {
9 sources = [ 9 sources = [
10 "cast_browser_cdm_factory.cc", 10 "cast_browser_cdm_factory.cc",
(...skipping 14 matching lines...) Expand all
25 ] 25 ]
26 } 26 }
27 27
28 if (use_playready) { 28 if (use_playready) {
29 public_configs = [ "//chromecast:playready_config" ] 29 public_configs = [ "//chromecast:playready_config" ]
30 } 30 }
31 31
32 if (mojo_media_host == "browser") { 32 if (mojo_media_host == "browser") {
33 public_deps = [ 33 public_deps = [
34 "//media/mojo/interfaces", 34 "//media/mojo/interfaces",
35 "//media/mojo/services:application", 35 "//media/mojo/services",
36 "//services/shell/public/cpp", 36 "//services/shell/public/cpp",
37 ] 37 ]
38 } 38 }
39 39
40 deps = [ 40 deps = [
41 "//base", 41 "//base",
42 "//chromecast/base", 42 "//chromecast/base",
43 "//chromecast/common/media", 43 "//chromecast/common/media",
44 "//chromecast/media", 44 "//chromecast/media",
45 "//content/public/browser", 45 "//content/public/browser",
46 "//media", 46 "//media",
47 ] 47 ]
48 48
49 if (is_android) { 49 if (is_android) {
50 deps += [ "//components/cdm/common" ] 50 deps += [ "//components/cdm/common" ]
51 } else { 51 } else {
52 sources += [ 52 sources += [
53 "cma_message_filter_host.cc", 53 "cma_message_filter_host.cc",
54 "cma_message_filter_host.h", 54 "cma_message_filter_host.h",
55 ] 55 ]
56 } 56 }
57 } 57 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698