build android source: 我应该构建哪个模块?
build android source: which module should I build?
我在 android-4.4.2_r2 上对文件 /frameworks/base/core/java/com/android/internal/os/ZygoteConnection.java
做了一些修改(只是添加了一些日志),现在我想构建一个尽可能小的模块.
我试过 make frameworks
但它说 nothing to be done for frameworks
。
那么我应该构建哪个模块?你怎么知道的?谢谢!
是make framework2
来自 frameworks/base/Android.mk,第 339-352 行:
# Build part 2 of the framework library.
# ============================================================
include $(CLEAR_VARS)
LOCAL_MODULE := framework2
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_STATIC_JAVA_LIBRARIES := framework-base
LOCAL_DX_FLAGS := --core-library
# Packages to include, use \* wildcard to include descendants.
LOCAL_JAR_PACKAGES := com\* javax\*
include $(BUILD_JAVA_LIBRARY)
我在 android-4.4.2_r2 上对文件 /frameworks/base/core/java/com/android/internal/os/ZygoteConnection.java
做了一些修改(只是添加了一些日志),现在我想构建一个尽可能小的模块.
我试过 make frameworks
但它说 nothing to be done for frameworks
。
那么我应该构建哪个模块?你怎么知道的?谢谢!
是make framework2
来自 frameworks/base/Android.mk,第 339-352 行:
# Build part 2 of the framework library.
# ============================================================
include $(CLEAR_VARS)
LOCAL_MODULE := framework2
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_STATIC_JAVA_LIBRARIES := framework-base
LOCAL_DX_FLAGS := --core-library
# Packages to include, use \* wildcard to include descendants.
LOCAL_JAR_PACKAGES := com\* javax\*
include $(BUILD_JAVA_LIBRARY)