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

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

Issue 2712983004: Simplify/Cleanup MediaClient (Closed)
Patch Set: Created 3 years, 9 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("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 7
8 source_set("media") { 8 source_set("media") {
9 sources = [
10 "cast_media_client.cc",
11 "cast_media_client.h",
12 ]
13
14 deps = [
15 "//base",
16 "//chromecast/media",
17 "//chromecast/media/cdm",
18 "//chromecast/public:public",
19 "//media",
20 ]
21
22 if (is_android) { 9 if (is_android) {
23 sources += [ 10 sources = [
24 "cast_media_client_android.cc", 11 "cast_media_client_android.cc",
25 "cast_media_client_android.h", 12 "cast_media_client_android.h",
26 ] 13 ]
27 deps += [ 14 deps = [
15 "//base",
28 "//chromecast/media", 16 "//chromecast/media",
17 "//chromecast/media/cdm",
29 "//components/cdm/common", 18 "//components/cdm/common",
30 "//media/base/android", 19 "//media/base/android",
31 ] 20 ]
32 } 21 }
33 22
34 if (use_playready) { 23 if (use_playready) {
35 public_configs = [ "//chromecast:playready_config" ] 24 public_configs = [ "//chromecast:playready_config" ]
36 } 25 }
37 } 26 }
38 27
39 mojom("interfaces") { 28 mojom("interfaces") {
40 sources = [ 29 sources = [
41 "media_caps.mojom", 30 "media_caps.mojom",
42 ] 31 ]
43 } 32 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698