Re: [RESEND PATCH 1/2] binder: Add binder skeletal code.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 16, 2016 at 04:39:28PM -0800, Roshan Pius wrote:
> Since we use libbinder, the binder interface codebase needs to be
> written in c++ and can only be compiled on Android platform
> for now.

That's somewhat unfortunate from the view point of automated testing
setup that I'm currently using. I guess I should finally add Android
builds to the automated compilation check, but even with that, actual
functionality of the binder interface would not be covered at all with
the hwsim test cases.

> The aidl files define binder RPC interfaces. The android build system
> generates the corresponding c++ interface classes which needs to be
> implemented by the server process.

Hmm.. Should this happen automatically when running mm or the command
you mentioned below?

> TEST: `mmm -j32 external/wpa_supplicant_8/wpa_supplicant` with
> CONFIG_CTRL_IFACE_BINDER=y.

This is failing for me due to missing header files like this:

In file included from
external/hostap/wpa_supplicant/binder/binder_manager.h:16:0,
                 from external/hostap/wpa_supplicant/binder/binder.cpp:14:
external/hostap/wpa_supplicant/binder/supplicant.h:13:47: fatal error: fi/w1/wpa_supplicant/BnSupplicant.h: No such file or directory
 #include "fi/w1/wpa_supplicant/BnSupplicant.h"


This is on top of Android M release from AOSP. external/hostap is the
hostap.git android-m branch rebased on top of the current master branch
and these two patches.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux