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

Commit 7ece0423 authored by Steven Timotius's avatar Steven Timotius
Browse files

Convert Activity and WindowManager Tests to Device Side

The proto-full library used the the existing hostsidetests
is not available to device side test APKs.
This new module uses proto-nano which is available to
device side test APKs.

Bug: 64807080
Test: cts-tradefed run commandAndExit cts-dev --module CtsWindowManagerDeviceTestCases
Test: cts-tradefed run commandAndExit cts-dev --module CtsServicesDeviceTestCases

Change-Id: I85c63b545d07a053aa7e5fa551681d0e170786eb
parent 9840ea9a
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -1582,6 +1582,20 @@ LOCAL_SRC_FILES := \
    $(call all-proto-files-under, libs/incident/proto)
include $(BUILD_HOST_JAVA_LIBRARY)

# ====  java proto device library (for test only)  ==============================
include $(CLEAR_VARS)
LOCAL_MODULE := platformprotosnano
LOCAL_MODULE_TAGS := tests optional
LOCAL_PROTOC_OPTIMIZE_TYPE := nano
LOCAL_PROTOC_FLAGS := \
    -Iexternal/protobuf/src
LOCAL_PROTO_JAVA_OUTPUT_PARAMS := \
    store_unknown_fields = true
LOCAL_JAVA_LIBRARIES := core-oj core-libart
LOCAL_SRC_FILES := \
    $(call all-proto-files-under, core/proto)
include $(BUILD_STATIC_JAVA_LIBRARY)


# Include subdirectory makefiles
# ============================================================