构建android源码:我应该构建哪个模块?

时间:2015-03-05 05:52:46

标签: android android-source

我对android-4.4.2_r2上的文件/frameworks/base/core/java/com/android/internal/os/ZygoteConnection.java进行了一些修改(只是添加了一些日志),现在我想构建尽可能小的模块。

我尝试make frameworks,但它说nothing to be done for frameworks

我应该构建哪个模块?你怎么知道的?谢谢!

1 个答案:

答案 0 :(得分:0)

它是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)