Introduce the product sdk_with_runtime_apis
This product is an extension of the sdk product, and allows the "runtime" api stub artifacts are exported to the dist directory and used to generate the stubs. Test: lunch sdk_with_runtime_apis-trunk_staging-eng && m sdk dist Bug: 326312949 Change-Id: I96f6c1f5a5e7b40165d55ea4c0898a880ed62c96
This commit is contained in:
@@ -67,6 +67,7 @@ PRODUCT_MAKEFILES := \
|
|||||||
$(LOCAL_DIR)/mainline_system_x86_arm.mk \
|
$(LOCAL_DIR)/mainline_system_x86_arm.mk \
|
||||||
$(LOCAL_DIR)/ndk.mk \
|
$(LOCAL_DIR)/ndk.mk \
|
||||||
$(LOCAL_DIR)/sdk.mk \
|
$(LOCAL_DIR)/sdk.mk \
|
||||||
|
$(LOCAL_DIR)/sdk_with_runtime_apis.mk \
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
22
target/product/sdk_with_runtime_apis.mk
Normal file
22
target/product/sdk_with_runtime_apis.mk
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2024 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/sdk.mk)
|
||||||
|
|
||||||
|
PRODUCT_NAME := sdk_with_runtime_apis
|
||||||
|
|
||||||
|
PRODUCT_HIDDEN_API_EXPORTABLE_STUBS := true
|
||||||
|
PRODUCT_EXPORT_RUNTIME_APIS := true
|
Reference in New Issue
Block a user