Skip to content

Commit 6fb5fdc

Browse files
committed
Add layoutlib tests to DIST_DIR [DO NOT MERGE]
Add the layoutlib and layoutlib-create tests to DIST_DIR for sdk targets. These can be used for continuous testing on the build server. Change-Id: I747dddcddfd8009937668bec4d75cb99bf63235f (cherry picked from commit f9c749c9901c459f77ffc6f4fbbc15f4142c6e0a)
1 parent bd41331 commit 6fb5fdc

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

tools/layoutlib/bridge/tests/Android.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,8 @@ LOCAL_JAVA_LIBRARIES := layoutlib \
3434

3535
include $(BUILD_HOST_JAVA_LIBRARY)
3636

37+
# Copy the jar to DIST_DIR for sdk builds
38+
$(call dist-for-goals, sdk win_sdk, $(LOCAL_INSTALLED_MODULE))
39+
3740
# Build all sub-directories
3841
include $(call all-makefiles-under,$(LOCAL_PATH))

tools/layoutlib/create/tests/Android.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@ LOCAL_STATIC_JAVA_LIBRARIES := asm-4.0
2828

2929
include $(BUILD_HOST_JAVA_LIBRARY)
3030

31+
# Copy the jar to DIST_DIR for sdk builds
32+
$(call dist-for-goals, sdk win_sdk, $(LOCAL_INSTALLED_MODULE))
33+
3134
# Build all sub-directories
3235
include $(call all-makefiles-under,$(LOCAL_PATH))

0 commit comments

Comments
 (0)