Android.mk 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # Copyright (C) 2015 The Android Open Source Project
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. #
  15. LOCAL_PATH := $(call my-dir)
  16. #
  17. # Build rule for Launcher3Tests
  18. #
  19. include $(CLEAR_VARS)
  20. LOCAL_MODULE_TAGS := tests
  21. LOCAL_STATIC_JAVA_LIBRARIES := \
  22. androidx.test.runner \
  23. androidx.test.rules \
  24. androidx.test.uiautomator_uiautomator \
  25. mockito-target-minus-junit4 \
  26. launcher_log_protos_lite
  27. LOCAL_PRIVATE_PLATFORM_APIS := true
  28. LOCAL_STATIC_JAVA_LIBRARIES += launcher-aosp-tapl
  29. LOCAL_SRC_FILES := \
  30. $(call all-java-files-under, src) \
  31. $(call all-java-files-under, src_common)
  32. LOCAL_FULL_LIBS_MANIFEST_FILES := $(LOCAL_PATH)/AndroidManifest-common.xml
  33. LOCAL_PACKAGE_NAME := Launcher3Tests
  34. LOCAL_INSTRUMENTATION_FOR := Launcher3
  35. LOCAL_TEST_CONFIG := Launcher3Tests.xml
  36. LOCAL_COMPATIBILITY_SUPPORT_FILES := $(call intermediates-dir-for,APPS,Launcher3)/package.apk:Launcher3.apk
  37. LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
  38. LOCAL_LICENSE_CONDITIONS := notice
  39. LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../NOTICE
  40. include $(BUILD_PACKAGE)
  41. include $(call all-makefiles-under,$(LOCAL_PATH))