| OLD | NEW |
| (Empty) |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'targets': [ | |
| 7 { | |
| 8 # GN verison: //components/cdm/common | |
| 9 'target_name': 'cdm_common', | |
| 10 'type': 'static_library', | |
| 11 'dependencies': [ | |
| 12 '../base/base.gyp:base', | |
| 13 '../content/content.gyp:content_common', | |
| 14 '../ipc/ipc.gyp:ipc', | |
| 15 ], | |
| 16 'sources': [ | |
| 17 'cdm/common/cdm_message_generator.cc', | |
| 18 'cdm/common/cdm_message_generator.h', | |
| 19 'cdm/common/cdm_messages_android.h', | |
| 20 ], | |
| 21 'conditions': [ | |
| 22 ['OS == "android"', { | |
| 23 'sources': [ | |
| 24 'cdm/common/widevine_drm_delegate_android.cc', | |
| 25 'cdm/common/widevine_drm_delegate_android.h', | |
| 26 ], | |
| 27 }], | |
| 28 ], | |
| 29 }, | |
| 30 { | |
| 31 # GN version: //components/cdm/renderer | |
| 32 'target_name': 'cdm_renderer', | |
| 33 'type': 'static_library', | |
| 34 'dependencies': [ | |
| 35 'cdm_common', | |
| 36 '../base/base.gyp:base', | |
| 37 '../content/content.gyp:content_renderer', | |
| 38 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', | |
| 39 ], | |
| 40 'include_dirs': [ | |
| 41 # Needed by widevine_key_system_properties.cc. | |
| 42 '<(SHARED_INTERMEDIATE_DIR)', | |
| 43 ], | |
| 44 'sources': [ | |
| 45 'cdm/renderer/widevine_key_system_properties.cc', | |
| 46 'cdm/renderer/widevine_key_system_properties.h', | |
| 47 ], | |
| 48 'conditions': [ | |
| 49 ['OS == "android"', { | |
| 50 'sources': [ | |
| 51 'cdm/renderer/android_key_systems.cc', | |
| 52 'cdm/renderer/android_key_systems.h', | |
| 53 ], | |
| 54 }], | |
| 55 ], | |
| 56 }, | |
| 57 ], | |
| 58 'conditions': [ | |
| 59 ['OS == "android"', { | |
| 60 'targets': [ | |
| 61 { | |
| 62 # GN version: //components/cdm/browser | |
| 63 'target_name': 'cdm_browser', | |
| 64 'type': 'static_library', | |
| 65 'dependencies': [ | |
| 66 'cdm_common', | |
| 67 '../base/base.gyp:base', | |
| 68 '../content/content.gyp:content_browser', | |
| 69 '../content/content.gyp:content_common', | |
| 70 '../media/media.gyp:media', | |
| 71 ], | |
| 72 'sources': [ | |
| 73 'cdm/browser/cdm_message_filter_android.cc', | |
| 74 'cdm/browser/cdm_message_filter_android.h', | |
| 75 ], | |
| 76 }, | |
| 77 ], | |
| 78 }], | |
| 79 ], | |
| 80 } | |
| OLD | NEW |