Ying Wang | 09a4e68 | 2014-04-29 12:48:06 -0700 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2009 The Android Open Source Project |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
bohu | 11eadcc | 2019-08-29 22:52:20 -0700 | [diff] [blame] | 16 | QEMU_USE_SYSTEM_EXT_PARTITIONS := true |
Steve Muckle | 1e1514a | 2020-04-13 17:30:57 -0700 | [diff] [blame] | 17 | PRODUCT_USE_DYNAMIC_PARTITIONS := true |
| 18 | |
| 19 | # This is a build configuration for a full-featured build of the |
| 20 | # Open-Source part of the tree. It's geared toward a US-centric |
| 21 | # build quite specifically for the emulator, and might not be |
| 22 | # entirely appropriate to inherit from for on-device configurations. |
| 23 | |
SzuWei Lin | c73db78 | 2020-05-18 17:39:00 +0800 | [diff] [blame] | 24 | # Enable mainline checking for exact this product name |
| 25 | ifeq (sdk_phone_arm64,$(TARGET_PRODUCT)) |
| 26 | PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed |
| 27 | endif |
| 28 | |
Steve Muckle | 1e1514a | 2020-04-13 17:30:57 -0700 | [diff] [blame] | 29 | # |
| 30 | # All components inherited here go to system image |
| 31 | # |
| 32 | $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) |
| 33 | $(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk) |
| 34 | |
| 35 | # |
| 36 | # All components inherited here go to system_ext image |
| 37 | # |
| 38 | $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) |
| 39 | $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) |
| 40 | |
| 41 | # |
| 42 | # All components inherited here go to product image |
| 43 | # |
| 44 | $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) |
| 45 | |
| 46 | # |
| 47 | # All components inherited here go to vendor or vendor_boot image |
| 48 | # |
| 49 | $(call inherit-product-if-exists, device/generic/goldfish/arm64-vendor.mk) |
| 50 | $(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk) |
| 51 | $(call inherit-product, $(SRC_TARGET_DIR)/board/emulator_arm64/device.mk) |
bohu | 4a6cc6a | 2017-06-22 22:03:32 -0700 | [diff] [blame] | 52 | |
bohu | 19481ce | 2018-06-19 20:15:20 -0700 | [diff] [blame] | 53 | # Define the host tools and libs that are parts of the SDK. |
| 54 | $(call inherit-product, sdk/build/product_sdk.mk) |
| 55 | $(call inherit-product, development/build/product_sdk.mk) |
Bo Hu | c82af2f | 2018-06-19 22:19:47 +0000 | [diff] [blame] | 56 | |
bohu | 19481ce | 2018-06-19 20:15:20 -0700 | [diff] [blame] | 57 | # keep this apk for sdk targets for now |
Bo Hu | c82af2f | 2018-06-19 22:19:47 +0000 | [diff] [blame] | 58 | PRODUCT_PACKAGES += \ |
bohu | 19481ce | 2018-06-19 20:15:20 -0700 | [diff] [blame] | 59 | EmulatorSmokeTests |
Bjoern Johansson | d2cd53a | 2015-11-18 10:04:21 -0800 | [diff] [blame] | 60 | |
Ying Wang | 09a4e68 | 2014-04-29 12:48:06 -0700 | [diff] [blame] | 61 | # Overrides |
Vince Harron | 5806531 | 2015-10-29 10:08:23 -0700 | [diff] [blame] | 62 | PRODUCT_BRAND := Android |
Ying Wang | 1f371a1 | 2014-07-18 15:36:30 -0700 | [diff] [blame] | 63 | PRODUCT_NAME := sdk_phone_arm64 |
Steve Muckle | 1e1514a | 2020-04-13 17:30:57 -0700 | [diff] [blame] | 64 | PRODUCT_DEVICE := emulator_arm64 |
Ying Wang | 1f371a1 | 2014-07-18 15:36:30 -0700 | [diff] [blame] | 65 | PRODUCT_MODEL := Android SDK built for arm64 |
bohu | 813249b | 2017-08-10 00:20:01 -0700 | [diff] [blame] | 66 | |
Inseob Kim | ba36f4c | 2019-10-17 10:30:35 +0000 | [diff] [blame] | 67 | |