Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ platforms. This is true regardless of entries in the table below.
| SmartOS | x64 | >= 18 | Tier 2 | |
| AIX | ppc64be >=power8 | >= 7.2 TL04 | Tier 2 | |
| FreeBSD | x64 | >= 13.2 | Experimental | |
| OpenHarmony | arm64 | >= 5.0 | Experimental | |

<!--lint disable final-definition-->

Expand Down
10 changes: 5 additions & 5 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
['target_arch in "ppc64 s390x"', {
'v8_enable_backtrace': 1,
}],
['OS=="linux"', {
['OS=="linux" or OS=="openharmony"', {
'node_section_ordering_info%': ''
}],
['OS == "zos"', {
Expand Down Expand Up @@ -202,7 +202,7 @@
'LLVM_LTO': 'YES',
},
}],
['OS=="linux"', {
['OS=="linux" or OS=="openharmony"', {
'conditions': [
['node_section_ordering_info!=""', {
'cflags': [
Expand Down Expand Up @@ -230,7 +230,7 @@
# frames otherwise, even with --call-graph dwarf.
'cflags': [ '-fno-omit-frame-pointer' ],
}],
['OS=="linux"', {
['OS=="linux" or OS=="openharmony"', {
'conditions': [
['enable_pgo_generate=="true"', {
'cflags': ['<(pgo_generate)'],
Expand Down Expand Up @@ -498,11 +498,11 @@
'NOMINMAX',
],
}],
[ 'OS in "linux freebsd openbsd solaris aix os400"', {
[ 'OS in "linux freebsd openbsd solaris aix os400 openharmony"', {
'cflags': [ '-pthread' ],
'ldflags': [ '-pthread' ],
}],
[ 'OS in "linux freebsd openbsd solaris android aix os400 cloudabi"', {
[ 'OS in "linux freebsd openbsd solaris android aix os400 cloudabi openharmony"', {
'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ],
'cflags_cc': [
'-fno-rtti',
Expand Down
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
parser = argparse.ArgumentParser()

valid_os = ('win', 'mac', 'solaris', 'freebsd', 'openbsd', 'linux',
'android', 'aix', 'cloudabi', 'os400', 'ios')
'android', 'aix', 'cloudabi', 'os400', 'ios', 'openharmony')
valid_arch = ('arm', 'arm64', 'ia32', 'mips', 'mipsel', 'mips64el',
'ppc64', 'x64', 'x86', 'x86_64', 's390x', 'riscv64', 'loong64')
valid_arm_float_abi = ('soft', 'softfp', 'hard')
Expand Down
4 changes: 4 additions & 0 deletions deps/cares/cares.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@
'-lnsl'
]
}
}],
[ 'OS=="openharmony"', {
'include_dirs': [ 'config/openharmony' ],
'sources': [ 'config/openharmony/ares_config.h' ],
}]
]
}
Expand Down
Loading
Loading