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

Commit f62d73ab authored by Logan Chien's avatar Logan Chien Committed by Android (Google) Code Review
Browse files

Merge "Fix PDK build"

parents acdc3e67 887adabb
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -16,6 +16,12 @@

LOCAL_PATH := $(call my-dir)

ifneq ($(TARGET_BUILD_PDK),true)
# Build MediaComponents only if this is not a PDK build.  MediaComponents won't
# build in PDK builds because frameworks/base/core/java is not available but
# IMediaSession2.aidl and IMediaSession2Callback.aidl are using classes from
# frameworks/base/core/java.

include $(CLEAR_VARS)

LOCAL_PACKAGE_NAME := MediaComponents
@@ -60,4 +66,6 @@ LOCAL_USE_AAPT2 := true

include $(BUILD_PACKAGE)

endif  # ifneq ($(TARGET_BUILD_PDK),true)

include $(call all-makefiles-under,$(LOCAL_PATH))