OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//chrome/process_version_rc_template.gni") | 7 import("//chrome/process_version_rc_template.gni") |
8 import("//media/cdm/ppapi/cdm_paths.gni") | 8 import("//media/cdm/ppapi/cdm_paths.gni") |
9 import("//media/cdm/ppapi/ppapi_cdm_adapter.gni") | 9 import("//media/cdm/ppapi/ppapi_cdm_adapter.gni") |
10 import("//ppapi/features/features.gni") | 10 import("//ppapi/features/features.gni") |
(...skipping 24 matching lines...) Expand all Loading... |
35 } else if (is_win) { | 35 } else if (is_win) { |
36 widevine_cdm_version_h_file = "win/$widevine_arch/widevine_cdm_version.h" | 36 widevine_cdm_version_h_file = "win/$widevine_arch/widevine_cdm_version.h" |
37 widevine_cdm_binary_files = [ | 37 widevine_cdm_binary_files = [ |
38 "win/$widevine_arch/widevinecdm.dll", | 38 "win/$widevine_arch/widevinecdm.dll", |
39 "win/$widevine_arch/widevinecdm.dll.lib", | 39 "win/$widevine_arch/widevinecdm.dll.lib", |
40 "win/$widevine_arch/widevinecdm.dll.sig", | 40 "win/$widevine_arch/widevinecdm.dll.sig", |
41 ] | 41 ] |
42 widevine_cdm_manifest_file = [ "win/$widevine_arch/manifest.json" ] | 42 widevine_cdm_manifest_file = [ "win/$widevine_arch/manifest.json" ] |
43 } else if (is_mac) { | 43 } else if (is_mac) { |
44 widevine_cdm_version_h_file = "mac/$widevine_arch/widevine_cdm_version.h" | 44 widevine_cdm_version_h_file = "mac/$widevine_arch/widevine_cdm_version.h" |
45 widevine_cdm_binary_files = [ "mac/$widevine_arch/libwidevinecdm.dylib" ] | 45 widevine_cdm_binary_files = [ |
| 46 "mac/$widevine_arch/libwidevinecdm.dylib", |
| 47 "mac/$widevine_arch/libwidevinecdm.dylib.sig", |
| 48 ] |
46 widevine_cdm_manifest_file = [ "mac/$widevine_arch/manifest.json" ] | 49 widevine_cdm_manifest_file = [ "mac/$widevine_arch/manifest.json" ] |
47 } else { | 50 } else { |
48 # Other platforms, use the default one. | 51 # Other platforms, use the default one. |
49 widevine_cdm_version_h_file = "widevine_cdm_version.h" | 52 widevine_cdm_version_h_file = "widevine_cdm_version.h" |
50 } | 53 } |
51 } else if (enable_widevine) { | 54 } else if (enable_widevine) { |
52 widevine_cdm_version_h_file = "stub/widevine_cdm_version.h" | 55 widevine_cdm_version_h_file = "stub/widevine_cdm_version.h" |
53 widevine_cdm_manifest_file = [ "stub/manifest.json" ] | 56 widevine_cdm_manifest_file = [ "stub/manifest.json" ] |
54 } else { | 57 } else { |
55 # No branding, use the default one. | 58 # No branding, use the default one. |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 "../scripts/signer.py", | 207 "../scripts/signer.py", |
205 ] | 208 ] |
206 outputs = [ | 209 outputs = [ |
207 "$root_out_dir/installer/widevine/{{source_file_part}}", | 210 "$root_out_dir/installer/widevine/{{source_file_part}}", |
208 ] | 211 ] |
209 } | 212 } |
210 } else { | 213 } else { |
211 group("widevine_signature_scripts") { | 214 group("widevine_signature_scripts") { |
212 } | 215 } |
213 } | 216 } |
OLD | NEW |