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 21 matching lines...) Expand all Loading... |
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. | 41 # TODO(xhwang): Enable this for non-Chrome build if necessary. |
42 [ 'OS == "android"', { | 42 [ 'OS == "android" and google_tv != 1', { |
43 'widevine_cdm_version_h_file%': | 43 'widevine_cdm_version_h_file%': |
44 'android/widevine_cdm_version.h', | 44 'android/widevine_cdm_version.h', |
45 }], | 45 }], |
46 ], | 46 ], |
47 }], | 47 }], |
48 ], | 48 ], |
49 }, | 49 }, |
50 # 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 |
51 # 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). |
52 'targets': [ | 52 'targets': [ |
53 { | 53 { |
54 'target_name': 'widevinecdmadapter', | 54 'target_name': 'widevinecdmadapter', |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 ], | 126 ], |
127 'copies': [{ | 127 'copies': [{ |
128 # 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 |
129 # 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. |
130 'destination': '<(PRODUCT_DIR)', | 130 'destination': '<(PRODUCT_DIR)', |
131 'files': [ '<@(widevine_cdm_binary_files)' ], | 131 'files': [ '<@(widevine_cdm_binary_files)' ], |
132 }], | 132 }], |
133 }, | 133 }, |
134 ], | 134 ], |
135 } | 135 } |
OLD | NEW |