Convert to Android.bp

See build/soong/README.md for more information

Test: mmma hardware/libhardware
Change-Id: Ibb7e2af9d55f581e951d8996cea5e52cd0766b04
This commit is contained in:
Dan Willemsen
2017-12-18 21:10:37 -08:00
parent 1d83294190
commit 86e247ae89
46 changed files with 788 additions and 830 deletions

View File

@@ -4,14 +4,14 @@
#include <pthread.h>
#include <cutils/atomic.h>
#include "SensorEventQueue.cpp"
#include "SensorEventQueue.h"
// Unit tests for the SensorEventQueue.
// Run it like this:
//
// make sensorstests -j32 && \
// out/host/linux-x86/obj/EXECUTABLES/sensorstests_intermediates/sensorstests
// m sensorstests && \
// out/host/linux-x86/nativetest64/sensorstests/sensorstests
bool checkWritableBufferSize(SensorEventQueue* queue, int requested, int expected) {
sensors_event_t* buffer;