From e9680c2212b91d315a09f7c3f713b3f1d86fb217 Mon Sep 17 00:00:00 2001 From: Yabin Cui Date: Wed, 12 Nov 2014 17:15:30 -0800 Subject: [PATCH] kill HAVE_FORKEXEC Bug: 18317407 Change-Id: Idaff8a161305325dbb0a9e00764afe98b66e3312 --- core/combo/include/arch/darwin-x86/AndroidConfig.h | 8 -------- core/combo/include/arch/linux-arm/AndroidConfig.h | 8 -------- core/combo/include/arch/linux-arm64/AndroidConfig.h | 8 -------- core/combo/include/arch/linux-mips/AndroidConfig.h | 8 -------- core/combo/include/arch/linux-mips64/AndroidConfig.h | 8 -------- core/combo/include/arch/linux-x86/AndroidConfig.h | 8 -------- .../include/arch/target_linux-x86/AndroidConfig.h | 8 -------- core/combo/include/arch/windows/AndroidConfig.h | 12 ------------ 8 files changed, 68 deletions(-) diff --git a/core/combo/include/arch/darwin-x86/AndroidConfig.h b/core/combo/include/arch/darwin-x86/AndroidConfig.h index 27769e4f58..44c6da1432 100644 --- a/core/combo/include/arch/darwin-x86/AndroidConfig.h +++ b/core/combo/include/arch/darwin-x86/AndroidConfig.h @@ -41,14 +41,6 @@ */ #define HAVE_PTHREADS -/* - * Process creation model. Choose one: - * - * HAVE_FORKEXEC - use fork() and exec() - * HAVE_WIN32_PROC - use CreateProcess() - */ -#define HAVE_FORKEXEC - /* * Define this if you have */ diff --git a/core/combo/include/arch/linux-arm/AndroidConfig.h b/core/combo/include/arch/linux-arm/AndroidConfig.h index 1569ca1979..392c94d81c 100644 --- a/core/combo/include/arch/linux-arm/AndroidConfig.h +++ b/core/combo/include/arch/linux-arm/AndroidConfig.h @@ -41,14 +41,6 @@ */ #define HAVE_PTHREADS -/* - * Process creation model. Choose one: - * - * HAVE_FORKEXEC - use fork() and exec() - * HAVE_WIN32_PROC - use CreateProcess() - */ -#define HAVE_FORKEXEC - /* * Define this if you have */ diff --git a/core/combo/include/arch/linux-arm64/AndroidConfig.h b/core/combo/include/arch/linux-arm64/AndroidConfig.h index 5624ae7268..23143cd9ff 100644 --- a/core/combo/include/arch/linux-arm64/AndroidConfig.h +++ b/core/combo/include/arch/linux-arm64/AndroidConfig.h @@ -41,14 +41,6 @@ */ #define HAVE_PTHREADS -/* - * Process creation model. Choose one: - * - * HAVE_FORKEXEC - use fork() and exec() - * HAVE_WIN32_PROC - use CreateProcess() - */ -#define HAVE_FORKEXEC - /* * Define this if you have */ diff --git a/core/combo/include/arch/linux-mips/AndroidConfig.h b/core/combo/include/arch/linux-mips/AndroidConfig.h index 1f103e48cb..7205d67a73 100644 --- a/core/combo/include/arch/linux-mips/AndroidConfig.h +++ b/core/combo/include/arch/linux-mips/AndroidConfig.h @@ -41,14 +41,6 @@ */ #define HAVE_PTHREADS -/* - * Process creation model. Choose one: - * - * HAVE_FORKEXEC - use fork() and exec() - * HAVE_WIN32_PROC - use CreateProcess() - */ -#define HAVE_FORKEXEC - /* * Define this if you have */ diff --git a/core/combo/include/arch/linux-mips64/AndroidConfig.h b/core/combo/include/arch/linux-mips64/AndroidConfig.h index 495f1faac3..ee5074bcbd 100644 --- a/core/combo/include/arch/linux-mips64/AndroidConfig.h +++ b/core/combo/include/arch/linux-mips64/AndroidConfig.h @@ -41,14 +41,6 @@ */ #define HAVE_PTHREADS -/* - * Process creation model. Choose one: - * - * HAVE_FORKEXEC - use fork() and exec() - * HAVE_WIN32_PROC - use CreateProcess() - */ -#define HAVE_FORKEXEC - /* * Define this if you have */ diff --git a/core/combo/include/arch/linux-x86/AndroidConfig.h b/core/combo/include/arch/linux-x86/AndroidConfig.h index 28b76a8d5d..61c3abe7ee 100644 --- a/core/combo/include/arch/linux-x86/AndroidConfig.h +++ b/core/combo/include/arch/linux-x86/AndroidConfig.h @@ -41,14 +41,6 @@ */ #define HAVE_PTHREADS -/* - * Process creation model. Choose one: - * - * HAVE_FORKEXEC - use fork() and exec() - * HAVE_WIN32_PROC - use CreateProcess() - */ -#define HAVE_FORKEXEC - /* * Define this if you have */ diff --git a/core/combo/include/arch/target_linux-x86/AndroidConfig.h b/core/combo/include/arch/target_linux-x86/AndroidConfig.h index 548e63f898..8191327b77 100644 --- a/core/combo/include/arch/target_linux-x86/AndroidConfig.h +++ b/core/combo/include/arch/target_linux-x86/AndroidConfig.h @@ -27,14 +27,6 @@ */ #define HAVE_PTHREADS -/* - * Process creation model. Choose one: - * - * HAVE_FORKEXEC - use fork() and exec() - * HAVE_WIN32_PROC - use CreateProcess() - */ -#define HAVE_FORKEXEC - /* * Define this if you have */ diff --git a/core/combo/include/arch/windows/AndroidConfig.h b/core/combo/include/arch/windows/AndroidConfig.h index 0e91d8522e..2ebbf5890c 100644 --- a/core/combo/include/arch/windows/AndroidConfig.h +++ b/core/combo/include/arch/windows/AndroidConfig.h @@ -63,18 +63,6 @@ */ #define HAVE_WIN32_THREADS -/* - * Process creation model. Choose one: - * - * HAVE_FORKEXEC - use fork() and exec() - * HAVE_WIN32_PROC - use CreateProcess() - */ -#ifdef __CYGWIN__ -# define HAVE_FORKEXEC -#else -# define HAVE_WIN32_PROC -#endif - /* TODO: replace references to this. */ #define HAVE_WIN32_IPC