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 [ 'enable_widevine_cdm == 1', { |
11 'conditions': [ | 11 'conditions': [ |
| 12 [ 'OS == "android"', { |
| 13 'widevine_cdm_version_h_file%': |
| 14 'android/widevine_cdm_version.h', |
| 15 }], |
12 [ 'chromeos == 1', { | 16 [ 'chromeos == 1', { |
13 'widevine_cdm_version_h_file%': | 17 'widevine_cdm_version_h_file%': |
14 'chromeos/<(target_arch)/widevine_cdm_version.h', | 18 'chromeos/<(target_arch)/widevine_cdm_version.h', |
15 'widevine_cdm_binary_files%': [ | 19 'widevine_cdm_binary_files%': [ |
16 'chromeos/<(target_arch)/libwidevinecdm.so', | 20 'chromeos/<(target_arch)/libwidevinecdm.so', |
17 ], | 21 ], |
18 }], | 22 }], |
19 [ 'OS == "linux" and chromeos == 0', { | 23 [ 'OS == "linux" and chromeos == 0', { |
20 'widevine_cdm_version_h_file%': | 24 'widevine_cdm_version_h_file%': |
21 'linux/<(target_arch)/widevine_cdm_version.h', | 25 'linux/<(target_arch)/widevine_cdm_version.h', |
(...skipping 11 matching lines...) Expand all Loading... |
33 [ 'OS == "win"', { | 37 [ 'OS == "win"', { |
34 'widevine_cdm_version_h_file%': | 38 'widevine_cdm_version_h_file%': |
35 'win/<(target_arch)/widevine_cdm_version.h', | 39 'win/<(target_arch)/widevine_cdm_version.h', |
36 'widevine_cdm_binary_files%': [ | 40 'widevine_cdm_binary_files%': [ |
37 'win/<(target_arch)/widevinecdm.dll', | 41 'win/<(target_arch)/widevinecdm.dll', |
38 'win/<(target_arch)/widevinecdm.dll.lib', | 42 'win/<(target_arch)/widevinecdm.dll.lib', |
39 ], | 43 ], |
40 }], | 44 }], |
41 ], | 45 ], |
42 }], | 46 }], |
43 [ 'OS == "android"', { | |
44 'widevine_cdm_version_h_file%': | |
45 'android/widevine_cdm_version.h', | |
46 }], | |
47 ], | 47 ], |
48 }, | 48 }, |
49 'includes': [ | 49 'includes': [ |
50 '../../../build/util/version.gypi', | 50 '../../../build/util/version.gypi', |
51 ], | 51 ], |
52 | 52 |
53 # Always provide a target, so we can put the logic about whether there's | 53 # Always provide a target, so we can put the logic about whether there's |
54 # anything to be done in this file (instead of a higher-level .gyp file). | 54 # anything to be done in this file (instead of a higher-level .gyp file). |
55 'targets': [ | 55 'targets': [ |
56 { | 56 { |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 'conditions': [ | 152 'conditions': [ |
153 [ 'branding == "Chrome" and OS == "linux"', { | 153 [ 'branding == "Chrome" and OS == "linux"', { |
154 'dependencies': [ | 154 'dependencies': [ |
155 '<(DEPTH)/third_party/widevine/test/license_server/license_server.gy
p:test_license_server', | 155 '<(DEPTH)/third_party/widevine/test/license_server/license_server.gy
p:test_license_server', |
156 ], | 156 ], |
157 }], | 157 }], |
158 ], | 158 ], |
159 }, | 159 }, |
160 ], | 160 ], |
161 } | 161 } |
OLD | NEW |