Devices are all using 64 bit binder, and mainline_sdk should too. According the comment here: https://cs.android.com/android/platform/superproject/+/master:build/make/target/board/BoardConfigMainlineCommon.mk;l=25;drc=6e7693f1597a0934833a72faf35e918dfbdb6ecd, this flag is required even for non-64 bit devices. `libbinder` doesn't compile on host with 32 bit binder. Test: packages/modules/common/build/mainline_modules_sdks.sh \ --build-platform-sdks-for-mainline --build-release=latest Change-Id: I357ce42e88ad13ed259d573b9dd2bbfc27b82687
24 lines
799 B
Makefile
24 lines
799 B
Makefile
# Copyright (C) 2020 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 := mainline_sdk
|
|
|
|
HOST_CROSS_OS := linux_bionic
|
|
HOST_CROSS_ARCH := x86_64
|
|
HOST_CROSS_2ND_ARCH :=
|
|
|
|
# Required flag for non-64 bit devices from P.
|
|
TARGET_USES_64_BIT_BINDER := true
|