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 # Allow widevinecdmadapter to be built in Chromium. | 7 # Allow widevinecdmadapter to be built in Chromium. |
8 'variables': { | 8 'variables': { |
9 'enable_widevine%': 0, | 9 'enable_widevine%': 0, |
10 }, | 10 }, |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 [ 'OS == "android"', { | 55 [ 'OS == "android"', { |
56 'widevine_cdm_version_h_file%': | 56 'widevine_cdm_version_h_file%': |
57 'android/widevine_cdm_version.h', | 57 'android/widevine_cdm_version.h', |
58 }], | 58 }], |
59 [ 'branding != "Chrome" and OS != "android" and enable_widevine == 1', { | 59 [ 'branding != "Chrome" and OS != "android" and enable_widevine == 1', { |
60 # If enable_widevine==1 then create a dummy widevinecdm. On Win/Mac | 60 # If enable_widevine==1 then create a dummy widevinecdm. On Win/Mac |
61 # the component updater will get the latest version and use it. | 61 # the component updater will get the latest version and use it. |
62 # Other systems are not currently supported. | 62 # Other systems are not currently supported. |
63 'widevine_cdm_version_h_file%': | 63 'widevine_cdm_version_h_file%': |
64 'stub/widevine_cdm_version.h', | 64 'stub/widevine_cdm_version.h', |
| 65 'widevine_cdm_manifest_file%': [ |
| 66 'stub/manifest.json', |
| 67 ], |
65 }], | 68 }], |
66 ], | 69 ], |
67 }, | 70 }, |
68 'includes': [ | 71 'includes': [ |
69 '../../../build/util/version.gypi', | 72 '../../../build/util/version.gypi', |
70 '../../../media/cdm_paths.gypi', | 73 '../../../media/cdm_paths.gypi', |
71 ], | 74 ], |
72 # Always provide a target, so we can put the logic about whether there's | 75 # Always provide a target, so we can put the logic about whether there's |
73 # anything to be done in this file (instead of a higher-level .gyp file). | 76 # anything to be done in this file (instead of a higher-level .gyp file). |
74 'targets': [ | 77 'targets': [ |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 'conditions': [ | 236 'conditions': [ |
234 [ 'branding == "Chrome" and OS == "linux"', { | 237 [ 'branding == "Chrome" and OS == "linux"', { |
235 'dependencies': [ | 238 'dependencies': [ |
236 '<(DEPTH)/third_party/widevine/test/license_server/license_server.gy
p:test_license_server', | 239 '<(DEPTH)/third_party/widevine/test/license_server/license_server.gy
p:test_license_server', |
237 ], | 240 ], |
238 }], | 241 }], |
239 ], | 242 ], |
240 }, | 243 }, |
241 ], | 244 ], |
242 } | 245 } |
OLD | NEW |