| 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 = [ | 45 widevine_cdm_binary_files = [ "mac/$widevine_arch/libwidevinecdm.dylib" ] |
| 46 "mac/$widevine_arch/libwidevinecdm.dylib", | |
| 47 "mac/$widevine_arch/libwidevinecdm.dylib.sig", | |
| 48 ] | |
| 49 widevine_cdm_manifest_file = [ "mac/$widevine_arch/manifest.json" ] | 46 widevine_cdm_manifest_file = [ "mac/$widevine_arch/manifest.json" ] |
| 50 } else { | 47 } else { |
| 51 # Other platforms, use the default one. | 48 # Other platforms, use the default one. |
| 52 widevine_cdm_version_h_file = "widevine_cdm_version.h" | 49 widevine_cdm_version_h_file = "widevine_cdm_version.h" |
| 53 } | 50 } |
| 54 } else if (enable_widevine) { | 51 } else if (enable_widevine) { |
| 55 widevine_cdm_version_h_file = "stub/widevine_cdm_version.h" | 52 widevine_cdm_version_h_file = "stub/widevine_cdm_version.h" |
| 56 widevine_cdm_manifest_file = [ "stub/manifest.json" ] | 53 widevine_cdm_manifest_file = [ "stub/manifest.json" ] |
| 57 } else { | 54 } else { |
| 58 # No branding, use the default one. | 55 # No branding, use the default one. |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 "../scripts/signer.py", | 204 "../scripts/signer.py", |
| 208 ] | 205 ] |
| 209 outputs = [ | 206 outputs = [ |
| 210 "$root_out_dir/installer/widevine/{{source_file_part}}", | 207 "$root_out_dir/installer/widevine/{{source_file_part}}", |
| 211 ] | 208 ] |
| 212 } | 209 } |
| 213 } else { | 210 } else { |
| 214 group("widevine_signature_scripts") { | 211 group("widevine_signature_scripts") { |
| 215 } | 212 } |
| 216 } | 213 } |
| OLD | NEW |