AIDEGen: Add the java sources of host java library modules into module-info.json.
Build module-info.json without this change: Build time: 2m50.172s File size: 21,598,737 Bytes Build module-info.json with this change: Build time: 2m50.428s File size: 21,977,565 Bytes Bug: 133148266 Test: 1. Checkout internal branch 2. Patch this CL 3. m -j out/target/product/generic_x86_64/module-info.json 4. Check the java file exists: "GtsBackupHostTestCases": { "srcs": [..., ".../BaseBackupRestoreHostSideTest.java", ...] Change-Id: I1e1b34592cb7d7abd4634d9cb1a3e276bc1dc7f1
This commit is contained in:
@@ -52,6 +52,8 @@ java_sources := $(addprefix $(LOCAL_PATH)/, $(filter %.java,$(LOCAL_SRC_FILES)))
|
|||||||
$(filter %.java,$(LOCAL_GENERATED_SOURCES))
|
$(filter %.java,$(LOCAL_GENERATED_SOURCES))
|
||||||
all_java_sources := $(java_sources)
|
all_java_sources := $(java_sources)
|
||||||
|
|
||||||
|
ALL_MODULES.$(my_register_name).SRCS := $(ALL_MODULES.$(my_register_name).SRCS) $(all_java_sources)
|
||||||
|
|
||||||
include $(BUILD_SYSTEM)/java_common.mk
|
include $(BUILD_SYSTEM)/java_common.mk
|
||||||
|
|
||||||
# The layers file allows you to enforce a layering between java packages.
|
# The layers file allows you to enforce a layering between java packages.
|
||||||
|
Reference in New Issue
Block a user