mirror of
https://gitee.com/openharmony/developtools_ace_js2bundle
synced 2024-11-27 01:20:27 +00:00
!543 Update nodejs from 12.18.4 to 14.21.1
Merge pull request !543 from lubinglun/nodejs
This commit is contained in:
commit
afa8b40f17
19
BUILD.gn
19
BUILD.gn
@ -47,24 +47,7 @@ action("build_ace_loader_library") {
|
||||
_uglify_source_js,
|
||||
]
|
||||
|
||||
# different host platform nodejs tool directory
|
||||
if (host_os == "linux") {
|
||||
if (is_standard_system) {
|
||||
nodejs_path = "//prebuilts/build-tools/common/nodejs/node-v12.18.4-linux-x64/bin/node"
|
||||
} else {
|
||||
nodejs_path =
|
||||
"//prebuilts/ace-toolkit/nodejs/node-v12.18.4-linux-x64/bin/node"
|
||||
}
|
||||
} else if (host_os == "mac") {
|
||||
if (is_standard_system) {
|
||||
nodejs_path = "//prebuilts/build-tools/common/nodejs/node-v12.18.4-darwin-x64/bin/node"
|
||||
} else {
|
||||
nodejs_path =
|
||||
"//prebuilts/ace-toolkit/nodejs/node-v12.18.4-darwin-x64/bin/node"
|
||||
}
|
||||
} else {
|
||||
assert(false, "Unsupported host_os: $host_os")
|
||||
}
|
||||
nodejs_path = "//prebuilts/build-tools/common/nodejs/current/bin/node"
|
||||
|
||||
args = [
|
||||
"--depfile",
|
||||
|
Loading…
Reference in New Issue
Block a user