aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2022-03-24 04:59:39 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-03-24 04:59:39 +0000
commit64e00f31038f45e57568250dfae32f2234af3241 (patch)
treee4479a8c649612fad184d16be69818b3adac28bd
parent85a6ca1d325e4ee3c7d13106207ec1e165280083 (diff)
parent09313306516e1ae0a03e0f09a28ddd34bcce9dc5 (diff)
downloadcpython3-android13-qpr2-s10-release.tar.gz
Regen darwin_x86_64 for Python 3.10 am: 106922c9ca am: a9af619e12 am: 0931330651t_frc_odp_330442040t_frc_odp_330442000t_frc_ase_330444010android-13.0.0_r83android-13.0.0_r82android-13.0.0_r81android-13.0.0_r80android-13.0.0_r79android-13.0.0_r78android-13.0.0_r77android-13.0.0_r76android-13.0.0_r75android-13.0.0_r74android-13.0.0_r73android-13.0.0_r72android-13.0.0_r71android-13.0.0_r70android-13.0.0_r69android-13.0.0_r68android-13.0.0_r67android-13.0.0_r66android-13.0.0_r65android-13.0.0_r64android-13.0.0_r63android-13.0.0_r62android-13.0.0_r61android-13.0.0_r60android-13.0.0_r59android-13.0.0_r58android-13.0.0_r57android-13.0.0_r56android-13.0.0_r54android-13.0.0_r53android-13.0.0_r52android-13.0.0_r51android-13.0.0_r50android-13.0.0_r49android-13.0.0_r48android-13.0.0_r47android-13.0.0_r46android-13.0.0_r45android-13.0.0_r44android-13.0.0_r43android-13.0.0_r42android-13.0.0_r41android-13.0.0_r40android-13.0.0_r39android-13.0.0_r38android-13.0.0_r37android-13.0.0_r36android-13.0.0_r35android-13.0.0_r34android-13.0.0_r33android-13.0.0_r32android13-qpr3-s9-releaseandroid13-qpr3-s8-releaseandroid13-qpr3-s7-releaseandroid13-qpr3-s6-releaseandroid13-qpr3-s5-releaseandroid13-qpr3-s4-releaseandroid13-qpr3-s3-releaseandroid13-qpr3-s2-releaseandroid13-qpr3-s14-releaseandroid13-qpr3-s13-releaseandroid13-qpr3-s12-releaseandroid13-qpr3-s11-releaseandroid13-qpr3-s10-releaseandroid13-qpr3-s1-releaseandroid13-qpr3-releaseandroid13-qpr3-c-s8-releaseandroid13-qpr3-c-s7-releaseandroid13-qpr3-c-s6-releaseandroid13-qpr3-c-s5-releaseandroid13-qpr3-c-s4-releaseandroid13-qpr3-c-s3-releaseandroid13-qpr3-c-s2-releaseandroid13-qpr3-c-s12-releaseandroid13-qpr3-c-s11-releaseandroid13-qpr3-c-s10-releaseandroid13-qpr3-c-s1-releaseandroid13-qpr2-s9-releaseandroid13-qpr2-s8-releaseandroid13-qpr2-s7-releaseandroid13-qpr2-s6-releaseandroid13-qpr2-s5-releaseandroid13-qpr2-s3-releaseandroid13-qpr2-s2-releaseandroid13-qpr2-s12-releaseandroid13-qpr2-s11-releaseandroid13-qpr2-s10-releaseandroid13-qpr2-s1-releaseandroid13-qpr2-releaseandroid13-qpr2-b-s1-releaseandroid13-frc-odp-releaseandroid13-devandroid13-d4-s2-releaseandroid13-d4-s1-releaseandroid13-d4-releaseandroid13-d3-s1-release
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/2037673 Change-Id: Iad9bf5e0ccbb4f090487f5a1cb967f834d10822b
-rw-r--r--Android-darwin_x86_64.bp2
-rw-r--r--android/darwin_x86_64/config.c6
-rw-r--r--android/darwin_x86_64/pyconfig/pyconfig.h76
3 files changed, 54 insertions, 30 deletions
diff --git a/Android-darwin_x86_64.bp b/Android-darwin_x86_64.bp
index ec05518980..a6b7c262e3 100644
--- a/Android-darwin_x86_64.bp
+++ b/Android-darwin_x86_64.bp
@@ -37,7 +37,6 @@ filegroup {
"Modules/_multiprocessing/semaphore.c",
"Modules/_opcode.c",
"Modules/_operator.c",
- "Modules/_peg_parser.c",
"Modules/_pickle.c",
"Modules/_posixsubprocess.c",
"Modules/_queuemodule.c",
@@ -73,7 +72,6 @@ filegroup {
"Modules/mathmodule.c",
"Modules/md5module.c",
"Modules/mmapmodule.c",
- "Modules/parsermodule.c",
"Modules/posixmodule.c",
"Modules/pwdmodule.c",
"Modules/pyexpat.c",
diff --git a/android/darwin_x86_64/config.c b/android/darwin_x86_64/config.c
index 5badcb86fe..a120f36956 100644
--- a/android/darwin_x86_64/config.c
+++ b/android/darwin_x86_64/config.c
@@ -38,7 +38,6 @@ extern PyObject* PyInit__random(void);
extern PyObject* PyInit__bisect(void);
extern PyObject* PyInit__heapq(void);
extern PyObject* PyInit__pickle(void);
-extern PyObject* PyInit_atexit(void);
extern PyObject* PyInit__json(void);
extern PyObject* PyInit__lsprof(void);
extern PyObject* PyInit_unicodedata(void);
@@ -51,7 +50,6 @@ extern PyObject* PyInit_fcntl(void);
extern PyObject* PyInit_pwd(void);
extern PyObject* PyInit_grp(void);
extern PyObject* PyInit_select(void);
-extern PyObject* PyInit_parser(void);
extern PyObject* PyInit_mmap(void);
extern PyObject* PyInit_syslog(void);
extern PyObject* PyInit__xxsubinterpreters(void);
@@ -99,7 +97,6 @@ extern PyObject* PyInit__locale(void);
extern PyObject* PyInit__io(void);
extern PyObject* PyInit_faulthandler(void);
extern PyObject* PyInit__tracemalloc(void);
-extern PyObject* PyInit__peg_parser(void);
extern PyObject* PyInit__symtable(void);
extern PyObject* PyInit_xxsubtype(void);
@@ -129,7 +126,6 @@ struct _inittab _PyImport_Inittab[] = {
{"_bisect", PyInit__bisect},
{"_heapq", PyInit__heapq},
{"_pickle", PyInit__pickle},
- {"atexit", PyInit_atexit},
{"_json", PyInit__json},
{"_lsprof", PyInit__lsprof},
{"unicodedata", PyInit_unicodedata},
@@ -142,7 +138,6 @@ struct _inittab _PyImport_Inittab[] = {
{"pwd", PyInit_pwd},
{"grp", PyInit_grp},
{"select", PyInit_select},
- {"parser", PyInit_parser},
{"mmap", PyInit_mmap},
{"syslog", PyInit_syslog},
{"_xxsubinterpreters", PyInit__xxsubinterpreters},
@@ -190,7 +185,6 @@ struct _inittab _PyImport_Inittab[] = {
{"_io", PyInit__io},
{"faulthandler", PyInit_faulthandler},
{"_tracemalloc", PyInit__tracemalloc},
- {"_peg_parser", PyInit__peg_parser},
{"_symtable", PyInit__symtable},
{"xxsubtype", PyInit_xxsubtype},
diff --git a/android/darwin_x86_64/pyconfig/pyconfig.h b/android/darwin_x86_64/pyconfig/pyconfig.h
index 4deb9a07b5..60c2c911ed 100644
--- a/android/darwin_x86_64/pyconfig/pyconfig.h
+++ b/android/darwin_x86_64/pyconfig/pyconfig.h
@@ -17,6 +17,12 @@
support for AIX C++ shared extension modules. */
/* #undef AIX_GENUINE_CPLUSPLUS */
+/* The normal alignment of `long', in bytes. */
+#define ALIGNOF_LONG 8
+
+/* The normal alignment of `size_t', in bytes. */
+#define ALIGNOF_SIZE_T 8
+
/* Alternative SOABI used in debug build to load C extensions built in release
mode */
/* #undef ALT_SOABI */
@@ -39,6 +45,9 @@
/* Define if --enable-ipv6 is specified */
#define ENABLE_IPV6 1
+/* Better isolate subinterpreters, experimental build mode. */
+/* #undef EXPERIMENTAL_ISOLATED_SUBINTERPRETERS */
+
/* Define to 1 if your system stores words within floats with the most
significant word first */
/* #undef FLOAT_WORDS_BIGENDIAN */
@@ -113,7 +122,7 @@
/* Define if `unsetenv` does not return an int. */
/* #undef HAVE_BROKEN_UNSETENV */
-/* Has builtin atomics */
+/* Has builtin __atomic_load_n() and __atomic_store_n() functions */
#define HAVE_BUILTIN_ATOMIC 1
/* Define to 1 if you have the 'chflags' function. */
@@ -137,6 +146,9 @@
/* Define to 1 if you have the `clock_settime' function. */
#define HAVE_CLOCK_SETTIME 1
+/* Define to 1 if you have the `close_range' function. */
+/* #undef HAVE_CLOSE_RANGE */
+
/* Define if the C compiler supports computed gotos. */
#define HAVE_COMPUTED_GOTOS 1
@@ -282,6 +294,9 @@
/* Define to 1 if you have the `dup3' function. */
/* #undef HAVE_DUP3 */
+/* Define if you have the '_dyld_shared_cache_contains_path' function. */
+#define HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH 1
+
/* Defined when any dynamic module loading is enabled. */
#define HAVE_DYNAMIC_LOADING 1
@@ -303,6 +318,9 @@
/* Define to 1 if you have the <errno.h> header file. */
#define HAVE_ERRNO_H 1
+/* Define if you have the 'eventfd' function. */
+/* #undef HAVE_EVENTFD */
+
/* Define to 1 if you have the `execv' function. */
#define HAVE_EXECV 1
@@ -391,7 +409,7 @@
#define HAVE_FTRUNCATE 1
/* Define to 1 if you have the `futimens' function. */
-/* #undef HAVE_FUTIMENS */
+#define HAVE_FUTIMENS 1
/* Define to 1 if you have the `futimes' function. */
#define HAVE_FUTIMES 1
@@ -425,7 +443,7 @@
#define HAVE_GETC_UNLOCKED 1
/* Define to 1 if you have the `getentropy' function. */
-/* #undef HAVE_GETENTROPY */
+#define HAVE_GETENTROPY 1
/* Define to 1 if you have the `getgrgid_r' function. */
#define HAVE_GETGRGID_R 1
@@ -599,7 +617,7 @@
/* Define to 1 if you have the <libintl.h> header file. */
/* #undef HAVE_LIBINTL_H */
-/* Define if you have the readline library (-lreadline). */
+/* Define to build the readline module. */
#define HAVE_LIBREADLINE 1
/* Define to 1 if you have the `resolv' library (-lresolv). */
@@ -611,12 +629,18 @@
/* Define to 1 if you have the <libutil.h> header file. */
/* #undef HAVE_LIBUTIL_H */
+/* Define to 1 if you have the `uuid' library (-luuid). */
+/* #undef HAVE_LIBUUID */
+
/* Define if you have the 'link' function. */
#define HAVE_LINK 1
/* Define to 1 if you have the `linkat' function. */
#define HAVE_LINKAT 1
+/* Define to 1 if you have the <linux/auxvec.h> header file. */
+/* #undef HAVE_LINUX_AUXVEC_H */
+
/* Define to 1 if you have the <linux/can/bcm.h> header file. */
/* #undef HAVE_LINUX_CAN_BCM_H */
@@ -731,6 +755,10 @@
/* Define to 1 if you have the `nice' function. */
#define HAVE_NICE 1
+/* Define if the internal form of wchar_t in non-Unicode locales is not
+ Unicode. */
+/* #undef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION */
+
/* Define to 1 if you have the `openat' function. */
#define HAVE_OPENAT 1
@@ -779,9 +807,6 @@
/* Define if you have the 'prlimit' functions. */
/* #undef HAVE_PRLIMIT */
-/* Define if you have the '_dyld_shared_cache_contains_path' function. */
-/* #undef HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH */
-
/* Define to 1 if you have the <process.h> header file. */
/* #undef HAVE_PROCESS_H */
@@ -884,6 +909,9 @@
/* Define to 1 if you have the `sched_setscheduler' function. */
/* #undef HAVE_SCHED_SETSCHEDULER */
+/* Define to 1 if you have the `sem_clockwait' function. */
+/* #undef HAVE_SEM_CLOCKWAIT */
+
/* Define to 1 if you have the `sem_getvalue' function. */
#define HAVE_SEM_GETVALUE 1
@@ -1010,6 +1038,9 @@
/* Define to 1 if you have the <spawn.h> header file. */
#define HAVE_SPAWN_H 1
+/* Define to 1 if you have the `splice' function. */
+/* #undef HAVE_SPLICE */
+
/* Define if your compiler provides ssize_t */
#define HAVE_SSIZE_T 1
@@ -1035,9 +1066,6 @@
/* Has stdatomic.h with atomic_int and atomic_uintptr_t */
#define HAVE_STD_ATOMIC 1
-/* Define to 1 if you have the `strdup' function. */
-#define HAVE_STRDUP 1
-
/* Define to 1 if you have the `strftime' function. */
#define HAVE_STRFTIME 1
@@ -1117,6 +1145,9 @@
/* Define to 1 if you have the <sys/epoll.h> header file. */
/* #undef HAVE_SYS_EPOLL_H */
+/* Define to 1 if you have the <sys/eventfd.h> header file. */
+/* #undef HAVE_SYS_EVENTFD_H */
+
/* Define to 1 if you have the <sys/event.h> header file. */
#define HAVE_SYS_EVENT_H 1
@@ -1273,13 +1304,13 @@
/* Define if you have a useable wchar_t type defined in wchar.h; useable means
wchar_t must be an unsigned type with at least 16 bits. (see
Include/unicodeobject.h). */
-#define HAVE_USABLE_WCHAR_T 1
+/* #undef HAVE_USABLE_WCHAR_T */
/* Define to 1 if you have the <util.h> header file. */
#define HAVE_UTIL_H 1
/* Define to 1 if you have the `utimensat' function. */
-/* #undef HAVE_UTIMENSAT */
+#define HAVE_UTIMENSAT 1
/* Define to 1 if you have the `utimes' function. */
#define HAVE_UTIMES 1
@@ -1302,6 +1333,9 @@
/* Define to 1 if you have the <uuid/uuid.h> header file. */
#define HAVE_UUID_UUID_H 1
+/* Define to 1 if you have the `vfork' function. */
+#define HAVE_VFORK 1
+
/* Define to 1 if you have the `wait3' function. */
#define HAVE_WAIT3 1
@@ -1336,9 +1370,6 @@
/* Define to 1 if you have the `writev' function. */
#define HAVE_WRITEV 1
-/* Define if libssl has X509_VERIFY_PARAM_set1_host and related function */
-/* #undef HAVE_X509_VERIFY_PARAM_SET1_HOST */
-
/* Define if the zlib library has inflateCopy */
#define HAVE_ZLIB_COPY 1
@@ -1381,7 +1412,7 @@
/* #undef PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT */
/* Defined if PTHREAD_SCOPE_SYSTEM supported. */
-/* #undef PTHREAD_SYSTEM_SCHED_SUPPORTED */
+#define PTHREAD_SYSTEM_SCHED_SUPPORTED 1
/* Define as the preferred size in bits of long digits */
/* #undef PYLONG_BITS_IN_DIGIT */
@@ -1425,7 +1456,7 @@
/* #undef SHM_NEEDS_LIBRT */
/* Define if i>>j for signed int i does not extend the sign bit when i < 0 */
-#define SIGNED_RIGHT_SHIFT_ZERO_FILLS 1
+/* #undef SIGNED_RIGHT_SHIFT_ZERO_FILLS */
/* The size of `double', as computed by sizeof. */
#define SIZEOF_DOUBLE 8
@@ -1488,6 +1519,9 @@
(which you can't on SCO ODT 3.0). */
#define SYS_SELECT_WITH_SYS_TIME 1
+/* Custom thread stack size depending on chosen sanitizer runtimes. */
+#define THREAD_STACK_SIZE 0x1000000
+
/* Library needed by timemodule.c: librt may be needed for clock_gettime() */
/* #undef TIMEMODULE_LIB */
@@ -1540,6 +1574,9 @@
Dyld is necessary to support frameworks. */
#define WITH_DYLD 1
+/* Define to build the readline module against Editline. */
+/* #undef WITH_EDITLINE */
+
/* Define to 1 if libintl is needed for locale functions. */
/* #undef WITH_LIBINTL */
@@ -1623,11 +1660,6 @@
/* Define on FreeBSD to activate all library features */
#define __BSD_VISIBLE 1
-/* Define to 1 if type `char' is unsigned and you are not using gcc. */
-#ifndef __CHAR_UNSIGNED__
-/* # undef __CHAR_UNSIGNED__ */
-#endif
-
/* Define to 'long' if <time.h> doesn't define. */
/* #undef clock_t */