mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Build libwifi-hal-* modules only for the first arch
Previously, the build rules assumed that the target supports both 64 and
32 bit architectures, which isn't true for 32-bit-only targets. That
caused build breakage on such targets. Fixing that by building the
modules only for the first architecture (64 on 64-only or 64/32 target,
and 32 on 32-only target).
Bug: 241916304
Test: build the 32-bit-only target
Merged-In: I5353ab1561622eae12e2dff87eb0f17b47c3773d
Change-Id: I5353ab1561622eae12e2dff87eb0f17b47c3773d
(cherry picked from commit 3ab5c90104)
This commit is contained in:
@@ -63,6 +63,7 @@ cc_library_static {
|
||||
name: "android.hardware.wifi@1.0-service-lib",
|
||||
defaults: ["android.hardware.wifi@1.0-service-cppflags-defaults"],
|
||||
proprietary: true,
|
||||
compile_multilib: "first",
|
||||
cppflags: [
|
||||
"-Wall",
|
||||
"-Werror",
|
||||
@@ -183,6 +184,7 @@ cc_binary {
|
||||
cc_test {
|
||||
name: "android.hardware.wifi@1.0-service-tests",
|
||||
proprietary: true,
|
||||
compile_multilib: "first",
|
||||
cppflags: [
|
||||
"-Wall",
|
||||
"-Werror",
|
||||
|
||||
Reference in New Issue
Block a user