diff --git a/target/product/AndroidProducts.mk b/target/product/AndroidProducts.mk index 473a27555f..8787c59689 100644 --- a/target/product/AndroidProducts.mk +++ b/target/product/AndroidProducts.mk @@ -66,14 +66,11 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/mainline_system_x86_64.mk \ $(LOCAL_DIR)/mainline_system_x86_arm.mk \ $(LOCAL_DIR)/ndk.mk \ - $(LOCAL_DIR)/sdk_arm64.mk \ $(LOCAL_DIR)/sdk.mk \ $(LOCAL_DIR)/sdk_phone_arm64.mk \ $(LOCAL_DIR)/sdk_phone_armv7.mk \ $(LOCAL_DIR)/sdk_phone_x86_64.mk \ $(LOCAL_DIR)/sdk_phone_x86.mk \ - $(LOCAL_DIR)/sdk_x86_64.mk \ - $(LOCAL_DIR)/sdk_x86.mk \ endif diff --git a/target/product/sdk.mk b/target/product/sdk.mk index e4cb7ff4fb..fff8d4caa3 100644 --- a/target/product/sdk.mk +++ b/target/product/sdk.mk @@ -14,8 +14,19 @@ # limitations under the License. # -# Don't modify this file - It's just an alias! +# This is a simple product that uses configures the minimum amount +# needed to build the SDK (without the emulator). -$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_x86.mk) +# In order to build the bootclasspath sources, the bootclasspath needs to +# be setup via default_art_config.mk. The sources only really make sense +# together with a device (e.g. the emulator). So if the SDK sources change +# to be built with the device, this could be removed. +$(call inherit-product, $(SRC_TARGET_DIR)/product/default_art_config.mk) + +$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_default.mk) PRODUCT_NAME := sdk +PRODUCT_BRAND := Android +PRODUCT_DEVICE := mainline_x86 + +PRODUCT_NEXT_RELEASE_HIDE_FLAGGED_API := true diff --git a/target/product/sdk_arm64.mk b/target/product/sdk_arm64.mk deleted file mode 100644 index 3eb930435d..0000000000 --- a/target/product/sdk_arm64.mk +++ /dev/null @@ -1,26 +0,0 @@ -# -# Copyright (C) 2014 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_default.mk) - -TARGET_SUPPORTS_32_BIT_APPS := true -TARGET_SUPPORTS_64_BIT_APPS := true - -PRODUCT_NAME := sdk_arm64 -PRODUCT_BRAND := Android -PRODUCT_DEVICE := mainline_arm64 - -PRODUCT_NEXT_RELEASE_HIDE_FLAGGED_API := true diff --git a/target/product/sdk_x86.mk b/target/product/sdk_x86.mk deleted file mode 100644 index a6e3bcdab0..0000000000 --- a/target/product/sdk_x86.mk +++ /dev/null @@ -1,26 +0,0 @@ -# -# Copyright (C) 2014 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -# This is a simple product that uses configures the minimum amount -# needed to build the SDK (without the emulator). - -$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_default.mk) - -PRODUCT_NAME := sdk_x86_64 -PRODUCT_BRAND := Android -PRODUCT_DEVICE := mainline_x86 - -PRODUCT_NEXT_RELEASE_HIDE_FLAGGED_API := true diff --git a/target/product/sdk_x86_64.mk b/target/product/sdk_x86_64.mk deleted file mode 100644 index af73007a35..0000000000 --- a/target/product/sdk_x86_64.mk +++ /dev/null @@ -1,29 +0,0 @@ -# -# Copyright (C) 2014 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -# This is a simple product that uses configures the minimum amount -# needed to build the SDK (without the emulator). - -$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_default.mk) - -TARGET_SUPPORTS_32_BIT_APPS := true -TARGET_SUPPORTS_64_BIT_APPS := true - -PRODUCT_NAME := sdk_x86_64 -PRODUCT_BRAND := Android -PRODUCT_DEVICE := mainline_x86_64 - -PRODUCT_NEXT_RELEASE_HIDE_FLAGGED_API := true