| OLD | NEW |
| 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 Loading... |
| 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 (is_chromecast_chrome_branded) { | 38 if (chromecast_branding != "public") { |
| 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 } |
| OLD | NEW |