| 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("//chromecast/chromecast.gni") | 5 import("//chromecast/chromecast.gni") |
| 6 | 6 |
| 7 source_set("key_systems") { | 7 source_set("key_systems") { |
| 8 sources = [ | 8 sources = [ |
| 9 "key_systems_common.cc", | 9 "key_systems_common.cc", |
| 10 "key_systems_common.h", | 10 "key_systems_common.h", |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 "video_resolution_policy.h", | 44 "video_resolution_policy.h", |
| 45 ] | 45 ] |
| 46 } | 46 } |
| 47 | 47 |
| 48 public_deps = [ | 48 public_deps = [ |
| 49 ":key_systems", | 49 ":key_systems", |
| 50 "//chromecast/public/media", | 50 "//chromecast/public/media", |
| 51 ] | 51 ] |
| 52 | 52 |
| 53 deps = [ | 53 deps = [ |
| 54 ":libcast_media_1.0", | |
| 55 "//base", | 54 "//base", |
| 56 "//chromecast/base", | 55 "//chromecast/base", |
| 57 "//crypto", | 56 "//crypto", |
| 58 "//crypto:platform", | 57 "//crypto:platform", |
| 59 "//media", | 58 "//media", |
| 60 "//ui/gfx/geometry", | 59 "//ui/gfx/geometry", |
| 61 ] | 60 ] |
| 61 |
| 62 if (is_android) { |
| 63 deps += [ ":libcast_media_1.0_android" ] |
| 64 } else { |
| 65 deps += [ ":libcast_media_1.0" ] |
| 66 } |
| 62 } | 67 } |
| 63 | 68 |
| 64 # Target for OEM partners to override media shared library, i.e. | 69 # Target for OEM partners to override media shared library, i.e. |
| 65 # libcast_media_1.0.so. This target is only used to build executables | 70 # libcast_media_1.0.so. This target is only used to build executables |
| 66 # with correct linkage information. | 71 # with correct linkage information. |
| 67 shared_library("libcast_media_1.0") { | 72 shared_library("libcast_media_1.0") { |
| 68 sources = [ | 73 sources = [ |
| 69 "cast_media_dummy.cc", | 74 "cast_media_dummy.cc", |
| 70 ] | 75 ] |
| 71 | 76 |
| 72 public_deps = [ | 77 public_deps = [ |
| 73 "//chromecast/public", | 78 "//chromecast/public", |
| 74 ] | 79 ] |
| 75 } | 80 } |
| 76 | 81 |
| 82 # Target for Android implementation of libcast_media_1.0. |
| 83 shared_library("libcast_media_1.0_android") { |
| 84 sources = [ |
| 85 "cast_media_android.cc", |
| 86 ] |
| 87 |
| 88 deps = [ |
| 89 "//base", |
| 90 ] |
| 91 |
| 92 public_deps = [ |
| 93 "//chromecast/public", |
| 94 ] |
| 95 } |
| 96 |
| 77 # This target can be statically linked into unittests, but production | 97 # This target can be statically linked into unittests, but production |
| 78 # binaries should not depend on this target. | 98 # binaries should not depend on this target. |
| 79 source_set("libcast_media_1.0_default_core") { | 99 source_set("libcast_media_1.0_default_core") { |
| 80 sources = [ | 100 sources = [ |
| 81 "cast_media_default.cc", | 101 "cast_media_default.cc", |
| 82 ] | 102 ] |
| 83 | 103 |
| 84 public_deps = [ | 104 public_deps = [ |
| 85 "//chromecast/public", | 105 "//chromecast/public", |
| 86 "//chromecast/public/media", | 106 "//chromecast/public/media", |
| (...skipping 22 matching lines...) Expand all Loading... |
| 109 "//chromecast/public/media", | 129 "//chromecast/public/media", |
| 110 ] | 130 ] |
| 111 | 131 |
| 112 deps = [ | 132 deps = [ |
| 113 "//base", | 133 "//base", |
| 114 "//build/config/sanitizers:deps", | 134 "//build/config/sanitizers:deps", |
| 115 "//chromecast/base", | 135 "//chromecast/base", |
| 116 "//chromecast/media/cma/backend", | 136 "//chromecast/media/cma/backend", |
| 117 ] | 137 ] |
| 118 } | 138 } |
| OLD | NEW |