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

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

Issue 1266723002: Revert of [Chromecast] Change chromecast_branding to public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | « chromecast/chromecast_tests.gypi ('k') | chromecast/media/media.gyp » ('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("//build/config/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//chromecast/chromecast.gni") 6 import("//chromecast/chromecast.gni")
7 7
8 declare_args() { 8 declare_args() {
9 libcast_media_target = "" 9 libcast_media_target = ""
10 } 10 }
(...skipping 17 matching lines...) Expand all
28 configs += [ "//chromecast:config" ] 28 configs += [ "//chromecast:config" ]
29 29
30 deps = [ 30 deps = [
31 "//base", 31 "//base",
32 "//crypto", 32 "//crypto",
33 "//crypto:platform", 33 "//crypto:platform",
34 "//media", 34 "//media",
35 "//third_party/widevine/cdm:version_h", 35 "//third_party/widevine/cdm:version_h",
36 ] 36 ]
37 37
38 if (chromecast_branding != "public") { 38 if (is_chromecast_chrome_branded) {
39 deps += [ 39 deps += [
40 "${libcast_media_target}", 40 "${libcast_media_target}",
41 # TODO(gyp): add dependency on internal/chromecast_internal:media_base_int ernal 41 # TODO(gyp): add dependency on internal/chromecast_internal:media_base_int ernal
42 ] 42 ]
43 } else { 43 } else {
44 sources += [ "key_systems_common_simple.cc" ] 44 sources += [ "key_systems_common_simple.cc" ]
45 45
46 deps += [ ":libcast_media_default" ] 46 deps += [ ":libcast_media_default" ]
47 } 47 }
48 } 48 }
49 49
50 shared_library("libcast_media_default") { 50 shared_library("libcast_media_default") {
51 output_name = "libcast_media_1.0" 51 output_name = "libcast_media_1.0"
52 52
53 sources = [ 53 sources = [
54 "cast_media_default.cc", 54 "cast_media_default.cc",
55 ] 55 ]
56 56
57 configs += [ "//chromecast:config" ] 57 configs += [ "//chromecast:config" ]
58 58
59 deps = [ 59 deps = [
60 "//chromecast/public", 60 "//chromecast/public",
61 ] 61 ]
62 } 62 }
OLDNEW
« no previous file with comments | « chromecast/chromecast_tests.gypi ('k') | chromecast/media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698