| 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 # GYP target: chromecast/media.gyp:media_cdm | 7 # GYP target: chromecast/media.gyp:media_cdm |
| 8 source_set("cdm") { | 8 source_set("cdm") { |
| 9 sources = [ | 9 sources = [ |
| 10 "cast_cdm.cc", | 10 "cast_cdm.cc", |
| 11 "cast_cdm.h", | 11 "cast_cdm.h", |
| 12 "cast_cdm_context.cc", | 12 "cast_cdm_context.cc", |
| 13 "cast_cdm_context.h", | 13 "cast_cdm_context.h", |
| 14 "cast_cdm_proxy.cc", | 14 "cast_cdm_proxy.cc", |
| 15 "cast_cdm_proxy.h", | 15 "cast_cdm_proxy.h", |
| 16 "chromecast_init_data.cc", | 16 "chromecast_init_data.cc", |
| 17 "chromecast_init_data.h", | 17 "chromecast_init_data.h", |
| 18 ] | 18 ] |
| 19 | 19 |
| 20 configs += [ "//media/mojo/services:mojo_media_config" ] | 20 configs += [ "//media/mojo/services:mojo_media_config" ] |
| 21 | 21 |
| 22 deps = [ | 22 deps = [ |
| 23 "//base", | 23 "//base", |
| 24 "//chromecast/media/base", | 24 "//chromecast/media/base", |
| 25 "//media", | 25 "//media", |
| 26 "//url:url", |
| 26 ] | 27 ] |
| 27 | 28 |
| 28 if (is_android && use_playready) { | 29 if (is_android && use_playready) { |
| 29 sources += [ | 30 sources += [ |
| 30 "playready_drm_delegate_android.cc", | 31 "playready_drm_delegate_android.cc", |
| 31 "playready_drm_delegate_android.h", | 32 "playready_drm_delegate_android.h", |
| 32 ] | 33 ] |
| 33 | 34 |
| 34 deps += [ "//media/base/android" ] | 35 deps += [ "//media/base/android" ] |
| 35 } | 36 } |
| 36 } | 37 } |
| OLD | NEW |