forked from brave/Sparkle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.gn
32 lines (25 loc) · 872 Bytes
/
BUILD.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
assert(is_mac)
bundle_data("sparkle_framework_bundle_data") {
public_deps = [ ":build_sparkle_framework" ]
sources = [ "$root_out_dir/Sparkle.framework" ]
outputs = [ "{{bundle_contents_dir}}/Frameworks/{{source_file_part}}" ]
}
action("build_sparkle_framework") {
script="build_sparkle_framework.py"
outputs = [
"$root_out_dir/Sparkle.framework",
"$root_out_dir/BinaryDelta",
"$root_out_dir/generate_keys",
"$root_out_dir/sign_update",
"$root_out_dir/generate_appcast",
]
}
copy("copy_old_sign_update") {
sources = [ "bin/old_dsa_scripts/sign_update" ]
outputs = [
"$root_out_dir/old_dsa_scripts/{{source_file_part}}",
]
}