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 22 matching lines...) Expand all Loading... |
33 [ 'OS == "win"', { | 33 [ 'OS == "win"', { |
34 'widevine_cdm_version_h_file%': | 34 'widevine_cdm_version_h_file%': |
35 'win/<(target_arch)/widevine_cdm_version.h', | 35 'win/<(target_arch)/widevine_cdm_version.h', |
36 'widevine_cdm_binary_files%': [ | 36 'widevine_cdm_binary_files%': [ |
37 'win/<(target_arch)/widevinecdm.dll', | 37 'win/<(target_arch)/widevinecdm.dll', |
38 'win/<(target_arch)/widevinecdm.dll.lib', | 38 'win/<(target_arch)/widevinecdm.dll.lib', |
39 ], | 39 ], |
40 }], | 40 }], |
41 ], | 41 ], |
42 }], | 42 }], |
43 [ 'OS == "android" and google_tv != 1', { | 43 [ 'OS == "android"', { |
44 'widevine_cdm_version_h_file%': | 44 'widevine_cdm_version_h_file%': |
45 'android/widevine_cdm_version.h', | 45 'android/widevine_cdm_version.h', |
46 }], | 46 }], |
47 ], | 47 ], |
48 }, | 48 }, |
49 # Always provide a target, so we can put the logic about whether there's | 49 # Always provide a target, so we can put the logic about whether there's |
50 # anything to be done in this file (instead of a higher-level .gyp file). | 50 # anything to be done in this file (instead of a higher-level .gyp file). |
51 'targets': [ | 51 'targets': [ |
52 { | 52 { |
53 'target_name': 'widevinecdmadapter', | 53 'target_name': 'widevinecdmadapter', |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 ], | 103 ], |
104 'copies': [{ | 104 'copies': [{ |
105 # TODO(ddorwin): Do we need a sub-directory? We either need a | 105 # TODO(ddorwin): Do we need a sub-directory? We either need a |
106 # sub-directory or to rename manifest.json before we can copy it. | 106 # sub-directory or to rename manifest.json before we can copy it. |
107 'destination': '<(PRODUCT_DIR)', | 107 'destination': '<(PRODUCT_DIR)', |
108 'files': [ '<@(widevine_cdm_binary_files)' ], | 108 'files': [ '<@(widevine_cdm_binary_files)' ], |
109 }], | 109 }], |
110 }, | 110 }, |
111 ], | 111 ], |
112 } | 112 } |
OLD | NEW |