Skip to content

Commit 26de7a0

Browse files
Cong LiuLin Sun
authored andcommitted
Updated package script to include mas scripts
1 parent f1b6264 commit 26de7a0

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

BUILD.gn

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,13 @@ if (is_mac) {
266266
}
267267
}
268268

269+
if (nwjs_mas) {
270+
copy("copy_mas") {
271+
sources = [ "tools/mas" ]
272+
outputs = [ "$root_out_dir/mas" ]
273+
}
274+
}
275+
269276
copy("copy_node") {
270277
if (is_debug) {
271278
node_dir = "$root_out_dir/../Debug/lib/"
@@ -427,6 +434,9 @@ if (!is_component_build) {
427434
if (nwjs_sdk && (is_mac || is_linux)) {
428435
deps += [ "//third_party/breakpad:minidump_stackwalk" ]
429436
}
437+
if (nwjs_mas) {
438+
deps += [ ":copy_mas" ]
439+
}
430440
}
431441
if (nwjs_sdk) {
432442
action("nwtest") {

tools/package_binaries.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ def generate_target_nw(platform_name, arch, version):
220220
target['input'].append('payload')
221221
target['input'].append('chromedriver')
222222
target['input'].append('minidump_stackwalk')
223+
elif flavor == 'mas':
224+
target['input'].append('mas')
223225
else:
224226
print 'Unsupported platform: ' + platform_name
225227
exit(-1)

0 commit comments

Comments
 (0)