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

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

Issue 2757463004: Restrict use of GN target //media/base/android:android (Closed)
Patch Set: changes 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
« no previous file with comments | « android_webview/native/BUILD.gn ('k') | chromecast/media/cdm/BUILD.gn » ('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 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 = [ 9 sources = [
10 "cast_media_client.cc", 10 "cast_media_client.cc",
11 "cast_media_client.h", 11 "cast_media_client.h",
12 ] 12 ]
13 13
14 deps = [ 14 deps = [
15 "//base", 15 "//base",
16 "//chromecast/media", 16 "//chromecast/media",
17 "//chromecast/media/cdm", 17 "//chromecast/media/cdm",
18 "//chromecast/public:public", 18 "//chromecast/public:public",
19 "//media", 19 "//media",
20 ] 20 ]
21 21
22 if (is_android) { 22 if (is_android) {
23 sources += [ 23 sources += [
24 "cast_media_client_android.cc", 24 "cast_media_client_android.cc",
25 "cast_media_client_android.h", 25 "cast_media_client_android.h",
26 ] 26 ]
27 deps += [ 27 deps += [
28 "//chromecast/media", 28 "//chromecast/media",
29 "//components/cdm/common", 29 "//components/cdm/common",
30 "//media/base/android",
31 ] 30 ]
32 } 31 }
33 32
34 if (use_playready) { 33 if (use_playready) {
35 public_configs = [ "//chromecast:playready_config" ] 34 public_configs = [ "//chromecast:playready_config" ]
36 } 35 }
37 } 36 }
38 37
39 mojom("interfaces") { 38 mojom("interfaces") {
40 sources = [ 39 sources = [
41 "media_caps.mojom", 40 "media_caps.mojom",
42 ] 41 ]
43 } 42 }
OLDNEW
« no previous file with comments | « android_webview/native/BUILD.gn ('k') | chromecast/media/cdm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698