Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: third_party/widevine/cdm/BUILD.gn

Issue 2647393004: Add Widevine signature files into Mac build (Closed)
Patch Set: rebase with version changes Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 23 matching lines...) Expand all
34 ] 34 ]
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 ] 40 ]
41 widevine_cdm_manifest_file = [ "win/$widevine_arch/manifest.json" ] 41 widevine_cdm_manifest_file = [ "win/$widevine_arch/manifest.json" ]
42 } else if (is_mac) { 42 } else if (is_mac) {
43 widevine_cdm_version_h_file = "mac/$widevine_arch/widevine_cdm_version.h" 43 widevine_cdm_version_h_file = "mac/$widevine_arch/widevine_cdm_version.h"
44 widevine_cdm_binary_files = [ "mac/$widevine_arch/libwidevinecdm.dylib" ] 44 widevine_cdm_binary_files = [
45 "mac/$widevine_arch/libwidevinecdm.dylib",
46 "mac/$widevine_arch/libwidevinecdm.dylib.sig",
47 ]
45 widevine_cdm_manifest_file = [ "mac/$widevine_arch/manifest.json" ] 48 widevine_cdm_manifest_file = [ "mac/$widevine_arch/manifest.json" ]
46 } else { 49 } else {
47 # Other platforms, use the default one. 50 # Other platforms, use the default one.
48 widevine_cdm_version_h_file = "widevine_cdm_version.h" 51 widevine_cdm_version_h_file = "widevine_cdm_version.h"
49 } 52 }
50 } else if (enable_widevine) { 53 } else if (enable_widevine) {
51 widevine_cdm_version_h_file = "stub/widevine_cdm_version.h" 54 widevine_cdm_version_h_file = "stub/widevine_cdm_version.h"
52 widevine_cdm_manifest_file = [ "stub/manifest.json" ] 55 widevine_cdm_manifest_file = [ "stub/manifest.json" ]
53 } else { 56 } else {
54 # No branding, use the default one. 57 # No branding, use the default one.
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 "../scripts/signer.py", 206 "../scripts/signer.py",
204 ] 207 ]
205 outputs = [ 208 outputs = [
206 "$root_out_dir/installer/widevine/{{source_file_part}}", 209 "$root_out_dir/installer/widevine/{{source_file_part}}",
207 ] 210 ]
208 } 211 }
209 } else { 212 } else {
210 group("widevine_signature_scripts") { 213 group("widevine_signature_scripts") {
211 } 214 }
212 } 215 }
OLDNEW
« chrome/BUILD.gn ('K') | « chrome/BUILD.gn ('k') | third_party/widevine/cdm/widevine.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698