diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2019-05-14 03:11:00 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-05-14 03:11:00 +0000 |
commit | 326a1ead7c5fdc4a7440aa0814df55071ddd1dc4 (patch) | |
tree | d761d6ddba2816e934d559d2c5c3a36ef182e4b1 | |
parent | 19d8880b3215b7d3d2e77545a7fe13cc3efa0776 (diff) | |
parent | 6a8782c7506c89c95cd7443580458a49559f8291 (diff) | |
download | libiio-326a1ead7c5fdc4a7440aa0814df55071ddd1dc4.tar.gz |
Snap for 5562851 from 6a8782c7506c89c95cd7443580458a49559f8291 to rvc-release
Change-Id: I016e09b5782c8d9a0d6c373979a2994895e4fc98
-rw-r--r-- | Android.bp | 26 | ||||
l--------- | include/iio.h | 1 | ||||
-rw-r--r-- | src/iio-config.h | 30 |
3 files changed, 57 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..dfc81e3 --- /dev/null +++ b/Android.bp @@ -0,0 +1,26 @@ +// Copyright 2019 The Android Open Source Project + +cc_library_headers { + name: "libiio_headers", + export_include_dirs: ["include"], +} + +cc_library_shared { + name: "libiio", + srcs: [ + "src/backend.c", + "src/buffer.c", + "src/channel.c", + "src/context.c", + "src/device.c", + "src/local.c", + "src/scan.c", + "src/utilities.c", + ], + + cflags: [ + "-Wall", + "-Werror", + "-Wno-unused-parameter", + ], +} diff --git a/include/iio.h b/include/iio.h new file mode 120000 index 0000000..4d63392 --- /dev/null +++ b/include/iio.h @@ -0,0 +1 @@ +../src/iio.h
\ No newline at end of file diff --git a/src/iio-config.h b/src/iio-config.h new file mode 100644 index 0000000..312c7a7 --- /dev/null +++ b/src/iio-config.h @@ -0,0 +1,30 @@ +#ifndef IIO_CONFIG_H +#define IIO_CONFIG_H + +#define LIBIIO_VERSION_MAJOR 0 +#define LIBIIO_VERSION_MINOR 15 +#define LIBIIO_VERSION_GIT "19d8880" + +#define LOG_LEVEL Info + +#define WITH_LOCAL_BACKEND +#undef WITH_XML_BACKEND +#undef WITH_NETWORK_BACKEND +#undef WITH_USB_BACKEND +#undef WITH_SERIAL_BACKEND +#undef WITH_MATLAB_BINDINGS_API + +#undef WITH_NETWORK_GET_BUFFER +#undef WITH_NETWORK_EVENTFD +#undef WITH_IIOD_USBD +#undef WITH_LOCAL_CONFIG +#define HAS_PIPE2 +#define HAS_STRDUP +#define HAS_STRERROR_R +#define HAS_NEWLOCALE +#define HAS_PTHREAD_SETNAME_NP +#undef HAVE_IPV6 +#undef HAVE_AVAHI +#undef NO_THREADS + +#endif /* IIO_CONFIG_H */ |