summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-12-10 17:45:42 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-12-10 22:28:08 +0100
commitd0e8ef2e22f0f8126760019d104b8858daf7cfa1 (patch)
tree539907875724993bd98484ee258e2a46c5876066 /deps
parent68874a617b5f6b43480f87bf18b681605a2f6f8c (diff)
downloadandroid-node-v8-d0e8ef2e22f0f8126760019d104b8858daf7cfa1.tar.gz
android-node-v8-d0e8ef2e22f0f8126760019d104b8858daf7cfa1.tar.bz2
android-node-v8-d0e8ef2e22f0f8126760019d104b8858daf7cfa1.zip
android build
Diffstat (limited to 'deps')
-rw-r--r--deps/cares/config/android/ares_config.h2
-rw-r--r--deps/openssl/openssl-cl_no_asm.gypi2
-rw-r--r--deps/openssl/openssl_no_asm.gypi2
-rw-r--r--deps/uvwasi/src/uvwasi.c18
-rw-r--r--deps/v8/DEPS1
-rwxr-xr-xdeps/v8/tools/node/fetch_deps.py1
6 files changed, 8 insertions, 18 deletions
diff --git a/deps/cares/config/android/ares_config.h b/deps/cares/config/android/ares_config.h
index 1a5265a509..2d469d5ca7 100644
--- a/deps/cares/config/android/ares_config.h
+++ b/deps/cares/config/android/ares_config.h
@@ -128,7 +128,7 @@
#define HAVE_GETNAMEINFO 1
/* Define to 1 if you have the getservbyport_r function. */
-#define HAVE_GETSERVBYPORT_R 1
+#undef HAVE_GETSERVBYPORT_R
/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
diff --git a/deps/openssl/openssl-cl_no_asm.gypi b/deps/openssl/openssl-cl_no_asm.gypi
index bb9e55de91..5152774241 100644
--- a/deps/openssl/openssl-cl_no_asm.gypi
+++ b/deps/openssl/openssl-cl_no_asm.gypi
@@ -14,6 +14,8 @@
'includes': ['config/archs/linux64-s390x/no-asm/openssl-cl.gypi'],
}, 'target_arch=="arm" and OS=="linux"', {
'includes': ['config/archs/linux-armv4/no-asm/openssl-cl.gypi'],
+ }, 'target_arch=="arm" and OS=="android"', {
+ 'includes': ['config/archs/linux-armv4/no-asm/openssl-cl.gypi'],
}, 'target_arch=="arm64" and OS=="linux"', {
'includes': ['config/archs/linux-aarch64/no-asm/openssl-cl.gypi'],
}, 'target_arch=="arm64" and OS=="win"', {
diff --git a/deps/openssl/openssl_no_asm.gypi b/deps/openssl/openssl_no_asm.gypi
index 8eb61d9703..bf7d48749a 100644
--- a/deps/openssl/openssl_no_asm.gypi
+++ b/deps/openssl/openssl_no_asm.gypi
@@ -15,6 +15,8 @@
'includes': ['config/archs/linux64-s390x/no-asm/openssl.gypi'],
}, 'target_arch=="arm" and OS=="linux"', {
'includes': ['config/archs/linux-armv4/no-asm/openssl.gypi'],
+ }, 'target_arch=="arm" and OS=="android"', {
+ 'includes': ['config/archs/linux-armv4/no-asm/openssl.gypi'],
}, 'target_arch=="arm64" and OS=="linux"', {
'includes': ['config/archs/linux-aarch64/no-asm/openssl.gypi'],
}, 'target_arch=="ia32" and OS=="freebsd"', {
diff --git a/deps/uvwasi/src/uvwasi.c b/deps/uvwasi/src/uvwasi.c
index 0f7c4c5d3a..728443d57a 100644
--- a/deps/uvwasi/src/uvwasi.c
+++ b/deps/uvwasi/src/uvwasi.c
@@ -1187,12 +1187,7 @@ uvwasi_errno_t uvwasi_fd_readdir(uvwasi_t* uvwasi,
dir->nentries = UVWASI__READDIR_NUM_ENTRIES;
uv_fs_req_cleanup(&req);
-#ifndef _WIN32
- /* TODO(cjihrig): Need a Windows equivalent of this logic. */
- /* Seek to the proper location in the directory. */
- if (cookie != UVWASI_DIRCOOKIE_START)
- seekdir(dir->dir, cookie);
-#endif
+ /* seekdir does not exist on android */
/* Read the directory entries into the provided buffer. */
err = UVWASI_ESUCCESS;
@@ -1209,16 +1204,9 @@ uvwasi_errno_t uvwasi_fd_readdir(uvwasi_t* uvwasi,
consistently across platforms. In other words, d_next should always
be 8 bytes, d_ino should always be 8 bytes, d_namlen should always be
4 bytes, and d_type should always be 1 byte. */
-#ifndef _WIN32
- tell = telldir(dir->dir);
- if (tell < 0) {
- err = uvwasi__translate_uv_error(uv_translate_sys_error(errno));
- uv_fs_req_cleanup(&req);
- goto exit;
- }
-#else
+
+ /* seekdir does not exist on android */
tell = 0; /* TODO(cjihrig): Need to support Windows. */
-#endif /* _WIN32 */
name_len = strlen(dirents[i].name);
dirent.d_next = (uvwasi_dircookie_t) tell;
diff --git a/deps/v8/DEPS b/deps/v8/DEPS
index 0faa57e5b0..83752a4acc 100644
--- a/deps/v8/DEPS
+++ b/deps/v8/DEPS
@@ -168,7 +168,6 @@ deps = {
},
'v8/third_party/catapult': {
'url': Var('chromium_url') + '/catapult.git' + '@' + 'b9fad2fbcc499b984d88f4c4aec26d162297efae',
- 'condition': 'checkout_android',
},
'v8/third_party/colorama/src': {
'url': Var('chromium_url') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
diff --git a/deps/v8/tools/node/fetch_deps.py b/deps/v8/tools/node/fetch_deps.py
index ee5b629e2b..00eb4fc92d 100755
--- a/deps/v8/tools/node/fetch_deps.py
+++ b/deps/v8/tools/node/fetch_deps.py
@@ -35,7 +35,6 @@ GCLIENT_SOLUTION = [
"v8/test/test262/harness" : None,
"v8/third_party/android_ndk" : None,
"v8/third_party/android_sdk" : None,
- "v8/third_party/catapult" : None,
"v8/third_party/colorama/src" : None,
"v8/third_party/fuchsia-sdk" : None,
"v8/third_party/instrumented_libraries" : None,