Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfd44220 authored by Colin Cross's avatar Colin Cross Committed by android-build-merger
Browse files

Merge "Fix missing dependency on R.java"

am: 227a1765

Change-Id: Iec4b54a1df71417756459c720a26dd5ea1dc664c
parents 40a16ea2 227a1765
Loading
Loading
Loading
Loading
+7 −8
Original line number Diff line number Diff line
@@ -485,6 +485,12 @@ LOCAL_INTERMEDIATE_SOURCES := \
			$(framework_res_source_path)/android/Manifest.java \
			$(framework_res_source_path)/com/android/internal/R.java

# Make sure that R.java and Manifest.java are built before we build
# the source for this library.
framework_res_R_stamp := \
	$(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
LOCAL_ADDITIONAL_DEPENDENCIES := $(framework_res_R_stamp)

LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES := core-oj core-libart core-lambda-stubs conscrypt okhttp core-junit bouncycastle ext
LOCAL_STATIC_JAVA_LIBRARIES := framework-protos
@@ -496,15 +502,8 @@ LOCAL_JACK_FLAGS := --multi-dex native
LOCAL_RMTYPEDEFS := true

include $(BUILD_JAVA_LIBRARY)
framework_module := $(LOCAL_INSTALLED_MODULE)

# Make sure that R.java and Manifest.java are built before we build
# the source for this library.
framework_res_R_stamp := \
	$(call intermediates-dir-for,APPS,framework-res,,COMMON)/src/R.stamp
$(full_classes_compiled_jar): $(framework_res_R_stamp)
$(built_dex_intermediate): $(framework_res_R_stamp)

framework_module := $(LOCAL_INSTALLED_MODULE)
$(framework_module): | $(dir $(framework_module))framework-res.apk

framework_built := $(call java-lib-deps,framework)