Merge "zygote: Remove NativeLoader initialization step" into nyc-dev

This commit is contained in:
Dimitry Ivanov
2016-04-27 23:37:10 +00:00
committed by Android (Google) Code Review
2 changed files with 0 additions and 3 deletions

View File

@@ -53,7 +53,6 @@ LOCAL_SHARED_LIBRARIES := \
libutils \ libutils \
liblog \ liblog \
libbinder \ libbinder \
libnativeloader \
libandroid_runtime \ libandroid_runtime \
$(app_process_common_shared_libs) \ $(app_process_common_shared_libs) \

View File

@@ -21,7 +21,6 @@
#include <cutils/properties.h> #include <cutils/properties.h>
#include <cutils/trace.h> #include <cutils/trace.h>
#include <android_runtime/AndroidRuntime.h> #include <android_runtime/AndroidRuntime.h>
#include <nativeloader/native_loader.h>
#include <private/android_filesystem_config.h> // for AID_SYSTEM #include <private/android_filesystem_config.h> // for AID_SYSTEM
namespace android { namespace android {
@@ -305,7 +304,6 @@ int main(int argc, char* const argv[])
} }
if (zygote) { if (zygote) {
InitializeNativeLoader();
runtime.start("com.android.internal.os.ZygoteInit", args, zygote); runtime.start("com.android.internal.os.ZygoteInit", args, zygote);
} else if (className) { } else if (className) {
runtime.start("com.android.internal.os.RuntimeInit", args, zygote); runtime.start("com.android.internal.os.RuntimeInit", args, zygote);