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

Commit 659edf0d authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder_ndk: use __assert on host

The problem is that the arguments were out of order. I was lazy here
before because binder couldn't actually run on host, but it's different
now with RPC binder.

Bug: email thread "AIDL and host_supported"
Test: bindeRpcTest
Change-Id: I98313004ab1e3dac6833bd326e7a7f997a017a8b
parent b4b5b8d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ cc_defaults {
        host: {
            cflags: [
                "-D__INTRODUCED_IN(n)=",
                "-D__assert(a,b,c)=",
                "-D__assert(a,b,c)=do { syslog(LOG_ERR, a \": \" c); abort(); } while(false)",
                // We want all the APIs to be available on the host.
                "-D__ANDROID_API__=10000",
            ],