Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 46afe63e authored by Jiyong Park's avatar Jiyong Park Committed by Jooyung Han
Browse files

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 3ab5c901)
parent 1e6cdac0
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -63,6 +63,7 @@ cc_library_static {
    name: "android.hardware.wifi@1.0-service-lib",
    name: "android.hardware.wifi@1.0-service-lib",
    defaults: ["android.hardware.wifi@1.0-service-cppflags-defaults"],
    defaults: ["android.hardware.wifi@1.0-service-cppflags-defaults"],
    proprietary: true,
    proprietary: true,
    compile_multilib: "first",
    cppflags: [
    cppflags: [
        "-Wall",
        "-Wall",
        "-Werror",
        "-Werror",
@@ -183,6 +184,7 @@ cc_binary {
cc_test {
cc_test {
    name: "android.hardware.wifi@1.0-service-tests",
    name: "android.hardware.wifi@1.0-service-tests",
    proprietary: true,
    proprietary: true,
    compile_multilib: "first",
    cppflags: [
    cppflags: [
        "-Wall",
        "-Wall",
        "-Werror",
        "-Werror",