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 'target_name': 'cdm_common', | 8 'target_name': 'cdm_common', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'dependencies': [ | 10 'dependencies': [ |
(...skipping 18 matching lines...) Expand all Loading... |
29 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', | 29 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', |
30 ], | 30 ], |
31 'include_dirs': [ | 31 'include_dirs': [ |
32 # Needed by widevine_key_systems.cc. | 32 # Needed by widevine_key_systems.cc. |
33 '<(SHARED_INTERMEDIATE_DIR)', | 33 '<(SHARED_INTERMEDIATE_DIR)', |
34 ], | 34 ], |
35 'sources': [ | 35 'sources': [ |
36 'cdm/renderer/widevine_key_systems.cc', | 36 'cdm/renderer/widevine_key_systems.cc', |
37 'cdm/renderer/widevine_key_systems.h', | 37 'cdm/renderer/widevine_key_systems.h', |
38 ], | 38 ], |
| 39 'conditions': [ |
| 40 ['OS == "android"', { |
| 41 'sources': [ |
| 42 'cdm/renderer/android_key_systems.cc', |
| 43 'cdm/renderer/android_key_systems.h', |
| 44 ], |
| 45 }], |
| 46 ], |
39 }, | 47 }, |
40 ], | 48 ], |
41 'conditions': [ | 49 'conditions': [ |
42 ['OS == "android"', { | 50 ['OS == "android"', { |
43 'targets': [ | 51 'targets': [ |
44 { | 52 { |
45 'target_name': 'cdm_browser', | 53 'target_name': 'cdm_browser', |
46 'type': 'static_library', | 54 'type': 'static_library', |
47 'dependencies': [ | 55 'dependencies': [ |
48 'cdm_common', | 56 'cdm_common', |
49 '../base/base.gyp:base', | 57 '../base/base.gyp:base', |
50 '../content/content.gyp:content_browser', | 58 '../content/content.gyp:content_browser', |
51 '../content/content.gyp:content_common', | 59 '../content/content.gyp:content_common', |
52 '../media/media.gyp:media', | 60 '../media/media.gyp:media', |
53 ], | 61 ], |
54 'sources': [ | 62 'sources': [ |
55 'cdm/browser/cdm_message_filter_android.cc', | 63 'cdm/browser/cdm_message_filter_android.cc', |
56 'cdm/browser/cdm_message_filter_android.h', | 64 'cdm/browser/cdm_message_filter_android.h', |
57 ], | 65 ], |
58 }, | 66 }, |
59 ], | 67 ], |
60 }], | 68 }], |
61 ], | 69 ], |
62 } | 70 } |
OLD | NEW |