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

Side by Side Diff: third_party/widevine/cdm/widevine.gni

Issue 2647393004: Add Widevine signature files into Mac build (Closed)
Patch Set: template 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
« no previous file with comments | « third_party/widevine/cdm/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 declare_args() { 5 declare_args() {
6 # Allow widevinecdmadapter to be built in Chromium. 6 # Allow widevinecdmadapter to be built in Chromium.
7 enable_widevine = false 7 enable_widevine = false
8 } 8 }
9
10 template("widevine_sign_file") {
xhwang 2017/01/28 05:21:53 Please add a comment about what this template is d
jrummell 2017/01/31 22:29:18 Done.
11 action(target_name) {
12 forward_variables_from(invoker,
13 [
14 "file",
15 "deps",
xhwang 2017/01/28 05:21:53 Is "deps" needed? Seems not used in this template.
jrummell 2017/01/31 22:29:18 We need the generated action to have a deps so it
16 ])
17 script = "//third_party/widevine/scripts/signature_generator.py"
18 sources = [
19 "$file",
20 ]
21 outputs = [
22 "$file.sig",
23 ]
24 args = [
25 "--input_file",
26 rebase_path("$file", root_build_dir),
27 "--output_file",
28 rebase_path("$file.sig", root_build_dir),
29 ]
30 }
31 }
OLDNEW
« no previous file with comments | « third_party/widevine/cdm/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698