Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v11.8.0 proposal #25687

Merged
merged 88 commits into from Jan 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
817b44d
test: refactor pummel/test-keep-alive
Trott Jan 14, 2019
69c0841
test: refactor pummel/test-net-connect-econnrefused
Trott Jan 14, 2019
307da2d
test: refactor pummel/test-net-many-clients
Trott Jan 14, 2019
6347940
test: refactor pummel/test-net-pingpong
Trott Jan 14, 2019
7ffa8ec
src: reset `StopTracingAgent()` before platform teardown
addaleax Jan 12, 2019
0897504
src: call `Environment::Exit()` for fatal exceptions
addaleax Jan 12, 2019
47d040d
build: introduce --openssl-is-fips flag
danbev Jan 9, 2019
03e05cb
src: fix FIPS section in Sign::SignFinal
danbev Jan 9, 2019
26c5bd8
doc: add metadata about ecdh curve options
sam-github Jan 14, 2019
ab86143
test: fix test-repl timeout and tmpdir refresh
mscdex Jan 9, 2019
07f1bb0
process: allow reading umask in workers
cjihrig Jan 15, 2019
4170230
doc: add Rich back to TSC list
mhdawson Jan 16, 2019
779ce29
test: add check for wrk to test-keep-alive
Trott Jan 15, 2019
35240ca
test: refactor min() in test-hash-seed
Trott Jan 15, 2019
cfcb759
test: prepare test-hash-seed for CI
Trott Jan 15, 2019
688fb8d
doc: fix typo in Buffer API
H1Gdev Jan 17, 2019
4c207d9
test: do not use uninitialized memory in common flags check
addaleax Jan 13, 2019
338f456
util: fix iterable types with special prototype
BridgeAR Jan 11, 2019
4e52b07
test: use fipsMode instead of common.hasFipsCrypto
danbev Jan 15, 2019
bb7f71a
crypto: fix key handle extraction
tniessen Jan 18, 2019
2112b70
test: improve code coverage for i18n
mhdawson Jan 10, 2019
b8d780c
test: ensure npm version is not release candidate
MylesBorins Jan 16, 2019
10bff7a
doc: add a note to `buf.fill()` description
vsemozhetbyt Jan 17, 2019
faa1776
test: relax chunk count expectations
gireeshpunathil Jan 9, 2019
58952a1
tls: make tls.connect() accept a timeout option
lpinca Jan 15, 2019
0c046e8
doc: correct my wrong note about buf.fill()
vsemozhetbyt Jan 19, 2019
e55c5c3
http: reuse noop function in socketOnError()
cjihrig Jan 18, 2019
c5d89e6
doc: reword stream docs to clarify that decodeStrings encodes strings
dgholz Jan 12, 2019
d9da4af
tools: update ESLint to 5.12.1
cjihrig Jan 18, 2019
3dcdf27
test: change ciphers from RC4 to no-such-cipher
danbev Jan 16, 2019
efe089e
test: use stronger curves for keygen
danbev Jan 16, 2019
291cedf
src: reduce includes of node_internals.h
joyeecheung Jan 13, 2019
5684da5
test: changed function to arrow function
Jan 11, 2019
92dd899
process: check env->EmitProcessEnvWarning() last
bcoe Jan 21, 2019
1cbadd8
tools: improve valgrind support
addaleax Dec 30, 2018
c3409f5
tls: do not free cert in `.getCertificate()`
addaleax Jan 14, 2019
65478fa
doc: hyperlink reference to process.nextTick
sam-github Jan 21, 2019
d6b50c6
http: make ClientRequest#setTimeout() noop at end
timdp Jan 16, 2019
aa9a86a
test,worker: verify that `.terminate()` breaks microtask queue
addaleax Jan 13, 2019
28894af
build: do not lint python scripts under test/fixtures
joyeecheung Jan 22, 2019
8cc936a
build: remove erroneous duplicate declaration from node_inspector.gypi
refack Jan 19, 2019
d9a8113
src: pass along errors from `--security-reverts`
addaleax Jan 12, 2019
6881454
test: replace common.PORT with `0` in https renegotiation test
Trott Jan 21, 2019
55768c0
src: restrict unloading addons to Worker threads
addaleax Jan 18, 2019
b2834ce
process: fix call process.reallyExit, vs., binding
bcoe Jan 23, 2019
34da9a3
build: make install.py python 3 compatiable
thefourtheye Jan 19, 2019
5a0332e
test: remove potential race condition in https renegotiation test
Trott Jan 21, 2019
ecd358b
test: revoke flaky designation for tests
gireeshpunathil Jan 21, 2019
647a37f
process: clarify the pre- and post-condition of esm setup
joyeecheung Jan 13, 2019
3c661f0
console: refactor inspector console extension installation
joyeecheung Jan 15, 2019
9a410a1
http2: allow fully synchronous `_final()`
addaleax Jan 21, 2019
593714e
events: show inspected error in uncaught 'error' message
addaleax Jan 21, 2019
7490fc8
test: switch to native v8 coverage
bcoe Jan 18, 2019
eac438a
doc: running coverage for individual suites
bcoe Jan 22, 2019
da8c526
policy: manifest with subresource integrity checks
bmeck Sep 13, 2018
219b1b8
worker: enable passing command line flags
yaelhe Jan 4, 2019
549216a
src: merge into core
gireeshpunathil Sep 5, 2018
4f38106
doc: add node-report documentation
vipinmenon Sep 5, 2018
0800f91
test: add node-report tests
LakshmiSwethaG Sep 5, 2018
8f42c9e
src: silence compiler warning in node_report.cc
danbev Jan 18, 2019
c0859d7
deps: upgrade to libuv 1.25.0
cjihrig Jan 18, 2019
dbecc82
src: remove outdated `Neuter()` call in `node_buffer.cc`
addaleax Jan 13, 2019
5440f9d
doc: use correct placeholder for policy docs
addaleax Jan 21, 2019
2b18582
n-api: mark thread-safe function as stable
Jan 18, 2019
42bbe58
report: remove unnecessary intermediate variable
cjihrig Jan 20, 2019
213eddd
report: remove unnecessary includes
cjihrig Jan 20, 2019
c598d98
report: use uv_pid_t instead of custom PID_TYPE
cjihrig Jan 20, 2019
a02b621
report: simplify option checking
cjihrig Jan 20, 2019
0f91e03
report: simplify rlimit to JSON logic
cjihrig Jan 20, 2019
f688e73
n-api: change #ifdef to #if in node_api_types
danbev Jan 22, 2019
0ebe6eb
os: implement os.release() using uv_os_uname()
cjihrig Jan 21, 2019
4031b5c
report: remove `InitializeReport()`
addaleax Jan 21, 2019
5fab92c
build: remove AIX/ppc (32bit) dead code
refack Jan 15, 2019
90a64ab
test: add stdio checks to cp-exec-maxBuffer
Fishrock123 Dec 11, 2018
ac5fa2c
child_process: truncate output when maxBuffer is exceeded
Fishrock123 Dec 11, 2018
f415069
crypto: add crypto modules to cannotUseCache
danbev Jan 21, 2019
c59edca
src: remove using v8::Function in node_os.cc
cjihrig Jan 21, 2019
572a70f
test: pull html/webappapis/microtask-queuing WPT
joyeecheung Jan 21, 2019
74ee8d3
test: run html/webappapis/microtask-queuing WPT
joyeecheung Jan 21, 2019
08ade9b
test: clarify the path relativeness of WPT runner classes
joyeecheung Jan 21, 2019
a9ffce9
test: fix pummel/test-exec
Trott Jan 24, 2019
9d8a225
doc: add note regarding pushing release tags
MylesBorins Jan 18, 2019
64959b6
report: remove `internalBinding('config').hasReport`
addaleax Jan 21, 2019
a161a9b
src: remove unnecessary `filename` variable
addaleax Jan 21, 2019
07a0dc8
report: roll extra loop iteration in `PrintNativeStack()`
addaleax Jan 21, 2019
03ba344
report: downgrade reinterpret_cast to static_cast
addaleax Jan 21, 2019
f3d0591
report: use `uv_handle_type_name()` to get handle type
addaleax Jan 21, 2019
11ee794
2019-01-24, Version 11.8.0 (Current)
MylesBorins Jan 24, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 11 additions & 4 deletions BUILDING.md
Expand Up @@ -281,7 +281,8 @@ the first command `./configure --coverage`).
_Generating a test coverage report can take several minutes._

To collect coverage for a subset of tests you can set the `CI_JS_SUITES` and
`CI_NATIVE_SUITES` variables:
`CI_NATIVE_SUITES` variables (to run specific suites, e.g., `child-process`, in
isolation, unset the opposing `_SUITES` variable):

```text
$ CI_JS_SUITES=child-process CI_NATIVE_SUITES= make coverage
Expand All @@ -290,9 +291,15 @@ $ CI_JS_SUITES=child-process CI_NATIVE_SUITES= make coverage
The above command executes tests for the `child-process` subsystem and
outputs the resulting coverage report.

The `make coverage` command downloads some tools to the project root directory
and overwrites the `lib/` directory. To clean up after generating the coverage
reports:
Alternatively, you can run `make coverage-run-js`, to execute JavaScript tests
independently of the C++ test suite:

```text
$ CI_JS_SUITES=fs CI_NATIVE_SUITES= make coverage-run-js
```

The `make coverage` command downloads some tools to the project root directory.
To clean up after generating the coverage reports:

```console
$ make coverage-clean
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -28,7 +28,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V11.md#11.7.0">11.7.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V11.md#11.8.0">11.8.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V11.md#11.7.0">11.7.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V11.md#11.6.0">11.6.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V11.md#11.5.0">11.5.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V11.md#11.4.0">11.4.0</a><br/>
Expand Down
52 changes: 28 additions & 24 deletions Makefile
Expand Up @@ -11,6 +11,7 @@ STAGINGSERVER ?= node-www
LOGLEVEL ?= silent
OSTYPE := $(shell uname -s | tr '[A-Z]' '[a-z]')
COVTESTS ?= test-cov
COV_SKIP_TESTS ?= core_line_numbers.js,testFinalizer.js,test_function/test.js
GTEST_FILTER ?= "*"
GNUMAKEFLAGS += --no-print-directory
GCOV ?= gcov
Expand Down Expand Up @@ -181,7 +182,6 @@ coverage-clean:
$(RM) -r node_modules
$(RM) -r gcovr build
$(RM) -r out/$(BUILDTYPE)/.coverage
$(RM) -r .cov_tmp
$(RM) out/$(BUILDTYPE)/obj.target/node/gen/*.gcda
$(RM) out/$(BUILDTYPE)/obj.target/node/src/*.gcda
$(RM) out/$(BUILDTYPE)/obj.target/node/src/tracing/*.gcda
Expand All @@ -201,55 +201,51 @@ coverage: coverage-test ## Run the tests and generate a coverage report.

.PHONY: coverage-build
coverage-build: all
mkdir -p node_modules
if [ ! -d node_modules/nyc ]; then \
$(NODE) ./deps/npm install nyc@13 --no-save --no-package-lock; fi
-$(MAKE) coverage-build-js
if [ ! -d gcovr ]; then git clone -b 3.4 --depth=1 \
--single-branch https://github.com/gcovr/gcovr.git; fi
if [ ! -d build ]; then git clone --depth=1 \
--single-branch https://github.com/nodejs/build.git; fi
if [ ! -f gcovr/scripts/gcovr.orig ]; then \
(cd gcovr && patch -N -p1 < \
"$(CURDIR)/build/jenkins/scripts/coverage/gcovr-patches-3.4.diff"); fi
if [ -d lib_ ]; then $(RM) -r lib; mv lib_ lib; fi
mv lib lib_
NODE_DEBUG=nyc $(NODE) ./node_modules/.bin/nyc instrument --extension .js \
--extension .mjs --exit-on-error lib_/ lib/
$(MAKE)

.PHONY: coverage-build-js
coverage-build-js:
mkdir -p node_modules
if [ ! -d node_modules/c8 ]; then \
$(NODE) ./deps/npm install c8@next --no-save --no-package-lock;\
fi

.PHONY: coverage-test
coverage-test: coverage-build
$(RM) -r out/$(BUILDTYPE)/.coverage
$(RM) -r .cov_tmp
$(RM) out/$(BUILDTYPE)/obj.target/node/gen/*.gcda
$(RM) out/$(BUILDTYPE)/obj.target/node/src/*.gcda
$(RM) out/$(BUILDTYPE)/obj.target/node/src/tracing/*.gcda
$(RM) out/$(BUILDTYPE)/obj.target/node_lib/gen/*.gcda
$(RM) out/$(BUILDTYPE)/obj.target/node_lib/src/*.gcda
$(RM) out/$(BUILDTYPE)/obj.target/node_lib/src/tracing/*.gcda
-$(MAKE) $(COVTESTS)
mv lib lib__
mv lib_ lib
mkdir -p coverage .cov_tmp
$(NODE) ./node_modules/.bin/nyc merge 'out/Release/.coverage' \
.cov_tmp/libcov.json
(cd lib && .$(NODE) ../node_modules/.bin/nyc report \
--temp-dir "$(CURDIR)/.cov_tmp" \
--report-dir "$(CURDIR)/coverage" \
--reporter html)
-NODE_V8_COVERAGE=out/$(BUILDTYPE)/.coverage $(MAKE) $(COVTESTS)
$(MAKE) coverage-report-js
-(cd out && "../gcovr/scripts/gcovr" --gcov-exclude='.*deps' \
--gcov-exclude='.*usr' -v -r Release/obj.target \
--html --html-detail -o ../coverage/cxxcoverage.html \
--gcov-executable="$(GCOV)")
mv lib lib_
mv lib__ lib
@echo -n "Javascript coverage %: "
@grep -B1 Lines coverage/index.html | head -n1 \
| sed 's/<[^>]*>//g'| sed 's/ //g'
@echo -n "C++ coverage %: "
@grep -A3 Lines coverage/cxxcoverage.html | grep style \
| sed 's/<[^>]*>//g'| sed 's/ //g'

.PHONY: coverage-report-js
coverage-report-js:
$(NODE) ./node_modules/.bin/c8 report --reporter=html \
--temp-directory=out/$(BUILDTYPE)/.coverage --omit-relative=false \
--resolve=./lib --exclude="deps/" --exclude="test/" --exclude="tools/" \
--wrapper-length=0

.PHONY: cctest
# Runs the C++ tests using the built `cctest` executable.
cctest: all
Expand All @@ -276,6 +272,14 @@ jstest: build-addons build-js-native-api-tests build-node-api-tests ## Runs addo
$(CI_JS_SUITES) \
$(CI_NATIVE_SUITES)

.PHONY: coverage-run-js
coverage-run-js:
$(RM) -r out/$(BUILDTYPE)/.coverage
$(MAKE) coverage-build-js
-NODE_V8_COVERAGE=out/$(BUILDTYPE)/.coverage CI_SKIP_TESTS=$(COV_SKIP_TESTS) \
$(MAKE) jstest
$(MAKE) coverage-report-js

.PHONY: test
# This does not run tests of third-party libraries inside deps.
test: all ## Runs default tests, linters, and builds docs.
Expand All @@ -300,7 +304,7 @@ test-cov: all
$(MAKE) build-js-native-api-tests
$(MAKE) build-node-api-tests
# $(MAKE) cctest
CI_SKIP_TESTS=core_line_numbers.js $(MAKE) jstest
CI_SKIP_TESTS=$(COV_SKIP_TESTS) $(MAKE) jstest

test-parallel: all
$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) parallel
Expand Down Expand Up @@ -1290,7 +1294,7 @@ ifneq ("","$(wildcard tools/pip/site-packages)")
lint-py:
PYTHONPATH=tools/pip $(PYTHON) -m flake8 . \
--count --show-source --statistics --select=E901,E999,F821,F822,F823 \
--exclude=.git,deps,lib,src,tools/*_macros.py,tools/gyp,tools/inspector_protocol,tools/jinja2,tools/markupsafe,tools/pip
--exclude=.git,deps,lib,src,test/fixtures,tools/*_macros.py,tools/gyp,tools/inspector_protocol,tools/jinja2,tools/markupsafe,tools/pip
else
lint-py:
@echo "Python linting with flake8 is not avalible"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -202,6 +202,8 @@ For information about the governance of the Node.js project, see
**Michaël Zasso** &lt;targos@protonmail.com&gt; (he/him)
* [thefourtheye](https://github.com/thefourtheye) -
**Sakthipriyan Vairamani** &lt;thechargingvolcano@gmail.com&gt; (he/him)
* [Trott](https://github.com/Trott) -
**Rich Trott** &lt;rtrott@gmail.com&gt; (he/him)

### TSC Emeriti

Expand Down Expand Up @@ -233,8 +235,6 @@ For information about the governance of the Node.js project, see
**Tiancheng "Timothy" Gu** &lt;timothygu99@gmail.com&gt; (he/him)
* [trevnorris](https://github.com/trevnorris) -
**Trevor Norris** &lt;trev.norris@gmail.com&gt;
* [Trott](https://github.com/Trott) -
**Rich Trott** &lt;rtrott@gmail.com&gt; (he/him)

### Collaborators

Expand Down
77 changes: 27 additions & 50 deletions common.gypi
Expand Up @@ -116,28 +116,8 @@
'msvs_configuration_platform': 'x64',
}],
['OS=="aix"', {
'variables': {'real_os_name': '<!(uname -s)',},
'cflags': [ '-gxcoff' ],
'ldflags': [ '-Wl,-bbigtoc' ],
'conditions': [
['target_arch=="ppc64"', {
'ldflags': [
'-Wl,-blibpath:/usr/lib:/lib:'
'/opt/freeware/lib/pthread/ppc64'
],
}],
['target_arch=="ppc"', {
'ldflags': [
'-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread'
],
}],
['"<(real_os_name)"=="OS400"', {
'ldflags': [
'-Wl,-blibpath:/QOpenSys/pkgs/lib:/QOpenSys/usr/lib',
'-Wl,-brtl',
],
}],
],
}],
['OS == "android"', {
'cflags': [ '-fPIE' ],
Expand Down Expand Up @@ -414,9 +394,9 @@
'ldflags': [ '-m32' ],
}],
[ 'target_arch=="ppc64" and OS!="aix"', {
'cflags': [ '-m64', '-mminimal-toc' ],
'ldflags': [ '-m64' ],
}],
'cflags': [ '-m64', '-mminimal-toc' ],
'ldflags': [ '-m64' ],
}],
[ 'target_arch=="s390"', {
'cflags': [ '-m31', '-march=z196' ],
'ldflags': [ '-m31', '-march=z196' ],
Expand All @@ -431,38 +411,35 @@
'cflags!': [ '-pthread' ],
'ldflags!': [ '-pthread' ],
}],
[ 'OS=="aix"', {
'variables': {'real_os_name': '<!(uname -s)',},
'conditions': [
[ 'target_arch=="ppc"', {
'ldflags': [
'-Wl,-bmaxdata:0x60000000/dsa',
'-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread',
],
}],
[ 'target_arch=="ppc64"', {
'cflags': [ '-maix64' ],
'ldflags': [
'-maix64',
'-Wl,-blibpath:/usr/lib:/lib:'
'/opt/freeware/lib/pthread/ppc64',
],
}],
['"<(real_os_name)"=="OS400"', {
'ldflags': [
'-Wl,-blibpath:/QOpenSys/pkgs/lib:/QOpenSys/usr/lib',
'-Wl,-brtl',
],
}],
],
'ldflags': [ '-Wl,-bbigtoc' ],
'ldflags!': [ '-rdynamic' ],
}],
[ 'node_shared=="true"', {
'cflags': [ '-fPIC' ],
}],
],
}],
[ 'OS=="aix"', {
'variables': {
# Used to differentiate `AIX` and `OS400`(IBM i).
'aix_variant_name': '<!(uname -s)',
},
'cflags': [ '-maix64', ],
'ldflags!': [ '-rdynamic', ],
'ldflags': [
'-Wl,-bbigtoc',
'-maix64',
],
'conditions': [
[ '"<(aix_variant_name)"=="OS400"', { # a.k.a. `IBM i`
'ldflags': [
'-Wl,-blibpath:/QOpenSys/pkgs/lib:/QOpenSys/usr/lib',
'-Wl,-brtl',
],
}, { # else it's `AIX`
'ldflags': [
'-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread/ppc64',
],
}],
],
}],
['OS=="android"', {
'target_conditions': [
['_toolset=="target"', {
Expand Down
12 changes: 12 additions & 0 deletions configure.py
Expand Up @@ -173,6 +173,11 @@
dest='openssl_fips',
help='Build OpenSSL using FIPS canister .o file in supplied folder')

parser.add_option('--openssl-is-fips',
action='store_true',
dest='openssl_is_fips',
help='specifies that the OpenSSL library is FIPS compatible')

parser.add_option('--openssl-use-def-ca-store',
action='store_true',
dest='use_openssl_ca_store',
Expand Down Expand Up @@ -488,6 +493,11 @@
dest='without_npm',
help='do not install the bundled npm (package manager)')

parser.add_option('--without-report',
action='store_true',
dest='without_report',
help='build without report')

# Dummy option for backwards compatibility
parser.add_option('--with-snapshot',
action='store_true',
Expand Down Expand Up @@ -933,6 +943,7 @@ def configure_node(o):
o['variables']['OS'] = 'android'
o['variables']['node_prefix'] = options.prefix
o['variables']['node_install_npm'] = b(not options.without_npm)
o['variables']['node_report'] = b(not options.without_report)
o['default_configuration'] = 'Debug' if options.debug else 'Release'

host_arch = host_arch_win() if os.name == 'nt' else host_arch_cc()
Expand Down Expand Up @@ -1190,6 +1201,7 @@ def configure_openssl(o):
variables = o['variables']
variables['node_use_openssl'] = b(not options.without_ssl)
variables['node_shared_openssl'] = b(options.shared_openssl)
variables['openssl_is_fips'] = b(options.openssl_is_fips)
variables['openssl_fips'] = ''

if options.openssl_no_asm:
Expand Down
1 change: 1 addition & 0 deletions deps/uv/.mailmap
Expand Up @@ -45,3 +45,4 @@ Yazhong Liu <yorkiefixer@gmail.com>
Yuki Okumura <mjt@cltn.org>
jBarz <jBarz@users.noreply.github.com> <jbarboza@ca.ibm.com>
jBarz <jBarz@users.noreply.github.com> <jbarz@users.noreply.github.com>
ptlomholt <pt@lomholt.com>
4 changes: 4 additions & 0 deletions deps/uv/AUTHORS
Expand Up @@ -362,3 +362,7 @@ Ashe Connor <ashe@kivikakk.ee>
Rick <lcw0622@163.com>
Ivan Krylov <krylov.r00t@gmail.com>
Michael Meier <michael.meier@leica-geosystems.com>
ptlomholt <pt@lomholt.com>
Victor Costan <pwnall@chromium.org>
sid <sidyhe@hotmail.com>
Kevin Adler <kadler@us.ibm.com>
3 changes: 2 additions & 1 deletion deps/uv/CMakeLists.txt
Expand Up @@ -167,6 +167,7 @@ set(uv_test_sources
test/test-udp-send-immediate.c
test/test-udp-send-unreachable.c
test/test-udp-try-send.c
test/test-uname.c
test/test-walk-handles.c
test/test-watcher-cross-stop.c)

Expand Down Expand Up @@ -211,7 +212,7 @@ if(WIN32)
else()
list(APPEND uv_defines _FILE_OFFSET_BITS=64 _LARGEFILE_SOURCE)
if(NOT CMAKE_SYSTEM_NAME STREQUAL "Android")
# Android has pthread as part of its c library, not as a separate
# Android has pthread as part of its c library, not as a separate
# libpthread.so.
list(APPEND uv_libraries pthread)
endif()
Expand Down