| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 # GN verison: //components/cdm/common | 8 # GN verison: //components/cdm/common |
| 9 'target_name': 'cdm_common', | 9 'target_name': 'cdm_common', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| 11 'dependencies': [ | 11 'dependencies': [ |
| 12 '../base/base.gyp:base', | 12 '../base/base.gyp:base', |
| 13 '../content/content.gyp:content_common', | 13 '../content/content.gyp:content_common', |
| 14 '../ipc/ipc.gyp:ipc', | 14 '../ipc/ipc.gyp:ipc', |
| 15 ], | 15 ], |
| 16 'sources': [ | 16 'sources': [ |
| 17 'cdm/common/cdm_message_generator.cc', | 17 'cdm/common/cdm_message_generator.cc', |
| 18 'cdm/common/cdm_message_generator.h', | 18 'cdm/common/cdm_message_generator.h', |
| 19 'cdm/common/cdm_messages_android.h', | 19 'cdm/common/cdm_messages_android.h', |
| 20 ], | 20 ], |
| 21 }, | 21 }, |
| 22 { | 22 { |
| 23 # GN version: //components/cdm/renderer | 23 # GN version: //components/cdm/renderer |
| 24 'target_name': 'cdm_renderer', | 24 'target_name': 'cdm_renderer', |
| 25 'type': 'static_library', | 25 'type': 'static_library', |
| 26 'dependencies': [ | 26 'dependencies': [ |
| 27 'cdm_common', | 27 'cdm_common', |
| 28 '../base/base.gyp:base', | 28 '../base/base.gyp:base', |
| 29 '../content/content.gyp:content_common', | |
| 30 '../content/content.gyp:content_renderer', | 29 '../content/content.gyp:content_renderer', |
| 31 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', | 30 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', |
| 32 ], | 31 ], |
| 33 'include_dirs': [ | 32 'include_dirs': [ |
| 34 # Needed by widevine_key_systems.cc. | 33 # Needed by widevine_key_systems.cc. |
| 35 '<(SHARED_INTERMEDIATE_DIR)', | 34 '<(SHARED_INTERMEDIATE_DIR)', |
| 36 ], | 35 ], |
| 37 'sources': [ | 36 'sources': [ |
| 38 'cdm/renderer/widevine_key_systems.cc', | 37 'cdm/renderer/widevine_key_systems.cc', |
| 39 'cdm/renderer/widevine_key_systems.h', | 38 'cdm/renderer/widevine_key_systems.h', |
| 40 ], | 39 ], |
| 41 'conditions': [ | 40 'conditions': [ |
| 42 ['OS == "android"', { | 41 ['OS == "android"', { |
| 43 'sources': [ | 42 'sources': [ |
| 44 'cdm/renderer/android_key_systems.cc', | 43 'cdm/renderer/android_key_systems.cc', |
| 45 'cdm/renderer/android_key_systems.h', | 44 'cdm/renderer/android_key_systems.h', |
| 46 » ], | 45 ], |
| 47 » }], | 46 }], |
| 48 ], | 47 ], |
| 49 }, | 48 }, |
| 50 ], | 49 ], |
| 51 'conditions': [ | 50 'conditions': [ |
| 52 ['OS == "android"', { | 51 ['OS == "android"', { |
| 53 'targets': [ | 52 'targets': [ |
| 54 { | 53 { |
| 55 # GN version: //components/cdm/browser | 54 # GN version: //components/cdm/browser |
| 56 'target_name': 'cdm_browser', | 55 'target_name': 'cdm_browser', |
| 57 'type': 'static_library', | 56 'type': 'static_library', |
| 58 'dependencies': [ | 57 'dependencies': [ |
| 59 'cdm_common', | 58 'cdm_common', |
| 60 '../base/base.gyp:base', | 59 '../base/base.gyp:base', |
| 61 '../content/content.gyp:content_browser', | 60 '../content/content.gyp:content_browser', |
| 62 '../content/content.gyp:content_common', | 61 '../content/content.gyp:content_common', |
| 63 '../media/media.gyp:media', | 62 '../media/media.gyp:media', |
| 64 ], | 63 ], |
| 65 'sources': [ | 64 'sources': [ |
| 66 'cdm/browser/cdm_message_filter_android.cc', | 65 'cdm/browser/cdm_message_filter_android.cc', |
| 67 'cdm/browser/cdm_message_filter_android.h', | 66 'cdm/browser/cdm_message_filter_android.h', |
| 68 ], | 67 ], |
| 69 }, | 68 }, |
| 70 ], | 69 ], |
| 71 }], | 70 }], |
| 72 ], | 71 ], |
| 73 } | 72 } |
| OLD | NEW |