aosp_common.mk 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Copyright 2020 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. PRODUCT_USE_DYNAMIC_PARTITIONS := true
  16. #
  17. # All components inherited here go to system image
  18. #
  19. $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk)
  20. # Enable CSI checking
  21. PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
  22. $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk)
  23. #
  24. # All components inherited here go to system_ext image
  25. #
  26. $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk)
  27. $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
  28. #
  29. # All components inherited here go to product image
  30. #
  31. $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
  32. #
  33. # All components inherited here go to vendor image
  34. #
  35. # TODO(b/136525499): move *_vendor.mk into the vendor makefile later
  36. $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_vendor.mk)
  37. $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_vendor.mk)