Add an ndk product and device
This adds a product that generates a soong.variables config similar to the one manually maintained for the ndk build at the moment. Bug: 174315599 Test: TARGET_PRODUCT=ndk m nothing && inspect out/soong/soong.variables Change-Id: Ia10079b8a1ed8edf4efa2a6a5b04a079eece5360
This commit is contained in:
parent
b52c28d026
commit
3327b9fc79
|
@ -0,0 +1,21 @@
|
|||
# Copyright (C) 2022 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.
|
||||
#
|
||||
|
||||
TARGET_ARCH_SUITE := ndk
|
||||
TARGET_USES_64_BIT_BINDER := true
|
||||
|
||||
MALLOC_SVELTE := true
|
||||
|
||||
USE_SAFESTACK := false
|
|
@ -0,0 +1,2 @@
|
|||
This device is suitable for a soong-only build that builds for all the architectures
|
||||
needed for the ndk.
|
|
@ -61,6 +61,7 @@ PRODUCT_MAKEFILES := \
|
|||
$(LOCAL_DIR)/mainline_system_x86.mk \
|
||||
$(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 \
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
# Copyright (C) 2022 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 device is suitable for soong-only build that builds for all the architectures
|
||||
# needed for the ndk. It is not going to work for normal `lunch <foo> && m` workflows.
|
||||
|
||||
PRODUCT_NAME := ndk
|
||||
PRODUCT_BRAND := Android
|
||||
PRODUCT_DEVICE := ndk
|
Loading…
Reference in New Issue