OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 6 'variables': { |
7 'widevine_cdm_version_h_file%': 'widevine_cdm_version.h', | 7 'widevine_cdm_version_h_file%': 'widevine_cdm_version.h', |
8 'widevine_cdm_binary_files%': [], | 8 'widevine_cdm_binary_files%': [], |
9 'conditions': [ | 9 'conditions': [ |
10 [ 'branding == "Chrome"', { | 10 [ 'branding == "Chrome"', { |
(...skipping 20 matching lines...) Expand all Loading... |
31 ], | 31 ], |
32 }], | 32 }], |
33 [ 'OS == "win"', { | 33 [ 'OS == "win"', { |
34 'widevine_cdm_version_h_file%': | 34 'widevine_cdm_version_h_file%': |
35 'symbols/win/<(target_arch)/widevine_cdm_version.h', | 35 'symbols/win/<(target_arch)/widevine_cdm_version.h', |
36 'widevine_cdm_binary_files%': [ | 36 'widevine_cdm_binary_files%': [ |
37 'binaries/win/<(target_arch)/widevinecdm.dll', | 37 'binaries/win/<(target_arch)/widevinecdm.dll', |
38 'binaries/win/<(target_arch)/widevinecdm.dll.lib', | 38 'binaries/win/<(target_arch)/widevinecdm.dll.lib', |
39 ], | 39 ], |
40 }], | 40 }], |
| 41 # TODO(xhwang): Enable this for non-Chrome build if necessary. |
| 42 [ 'OS == "android"', { |
| 43 'widevine_cdm_version_h_file%': |
| 44 'android/widevine_cdm_version.h', |
| 45 }], |
41 ], | 46 ], |
42 }], | 47 }], |
43 ], | 48 ], |
44 }, | 49 }, |
45 # Always provide a target, so we can put the logic about whether there's | 50 # Always provide a target, so we can put the logic about whether there's |
46 # anything to be done in this file (instead of a higher-level .gyp file). | 51 # anything to be done in this file (instead of a higher-level .gyp file). |
47 'targets': [ | 52 'targets': [ |
48 { | 53 { |
49 'target_name': 'widevinecdmadapter', | 54 'target_name': 'widevinecdmadapter', |
50 'type': 'none', | 55 'type': 'none', |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 ], | 126 ], |
122 'copies': [{ | 127 'copies': [{ |
123 # TODO(ddorwin): Do we need a sub-directory? We either need a | 128 # TODO(ddorwin): Do we need a sub-directory? We either need a |
124 # sub-directory or to rename manifest.json before we can copy it. | 129 # sub-directory or to rename manifest.json before we can copy it. |
125 'destination': '<(PRODUCT_DIR)', | 130 'destination': '<(PRODUCT_DIR)', |
126 'files': [ '<@(widevine_cdm_binary_files)' ], | 131 'files': [ '<@(widevine_cdm_binary_files)' ], |
127 }], | 132 }], |
128 }, | 133 }, |
129 ], | 134 ], |
130 } | 135 } |
OLD | NEW |