9e0998b777
This change introduces `PRODUCT_BUILD_FROM_SOURCE_STUB` product variable, which is set to true for sdk targets. This change resubmits https://r.android.com/2834692. Test: m TARGET_PRODUCT=sdk TARGET_RELEASE=trunk_staging sdk and inspect ninja query to verify that stubs are built from source Bug: 311203379 Change-Id: I7d9f833ae76ceabbf2ce4df0141688e24ea164c8
34 lines
No EOL
1.3 KiB
Makefile
34 lines
No EOL
1.3 KiB
Makefile
#
|
|
# 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).
|
|
|
|
# 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
|
|
|
|
PRODUCT_BUILD_FROM_SOURCE_STUB := true
|