Commit graph

10 commits

Author SHA1 Message Date
Josh Gao
b789fb14d6 Move adbd authentication into its own library.
As part of moving adbd into a module, split authentication out into a
library with a stable ABI that lives on the system image.

Bug: http://b/137798163
Test: for i in `seq 1 100000`; do echo $i; adb wait-for-device shell "su 0 stop; su 0 start; sleep 10"; adb disconnect; done
Change-Id: I05e3679598e33c83f8cc4c17208f4f753cbfd5e1
2019-10-29 14:58:06 -07:00
Jiyong Park
d1b83e6864 Add a filegroup for AIDL files in frameworks/native/aidl
The AIDL files under frameworks/native/aidl have been referenced via
their absolute paths. This required any module that has an AIDL file
depending on the AIDL types in the frameworks directory to explicitly
set the include path.

Fixing the problem by abstracting the AIDL files using filegroup where
the path property is set to the base directory for the files. The base
directory is used as include paths when the filegroup is added to srcs.

Bug: 135922046
Test: m
Change-Id: Ie416e49734e6e50c1e3fa41d5db6d32a662e0855
2019-08-19 15:38:10 +09:00
Yifan Hong
96863184ba Merge "Add libandroid_sensor_headers" 2017-07-06 18:07:41 +00:00
Jiyong Park
55e9bd7c48 Package media/*/*.h headers as a headers lib: media_plugin_headers
Headers under frameworks/native/include/media serves as an interface
that is meant to be implemented by vendors. For example.
media/hardware/CryptoAPI.h is implemented under
vendor/widevine/libwvdrmengine/mediacrypto.

When building with BOARD_VNDK_VERSION, the headers are not accessible to
vendors since they have been included via the global include paths and
the paths are not available when building with BOARD_VNDK_VERSION.

So, we need to make a "headers library" for the media headers and modify
vendors to use the headers lib. Usually, we have been doing this by
moving the headers into a subdirectory (usually 'include') of a module
that implements the headers. But, this approach can't be used at this
time since the media headers are implemented by many modules.

The chosen solution is to a separate directory headers/media_plugin and
define a headers lib named media_plugin_headers there.

Note: frameworks/native/headers will now be the home for such
header-only libraries.

Bug: 63120269
Test: build
Change-Id: I67d625706b40d06c8f0602284fbcc1cc8b174c6f
2017-07-03 19:35:54 +09:00
Yifan Hong
108287d739 Add libandroid_sensor_headers
This is a subset of NDK headers for vendor modules to use.
It only includes headers for sensors.

Test: m libsensorndkbridge -j
Test: BOARD_VNDK_VERSION=current m libsensorndkbridge.vendor -j

Bug: 33241851
Change-Id: Ia5ab876441f2f7d437a516aa97961b7a3540048d
2017-06-30 17:42:42 -07:00
Dan Albert
96b5509dcd Add licenses to ndk_headers.
Test: make ndk
Bug: None
Change-Id: Ia113ea42b1d62d87dfbb2fc456428c7db50a98f1
2016-10-20 10:14:30 -07:00
Dan Albert
0fbb5321ae Migrate libvulkan to ndk_library.
Test: make native
Bug: http://b/30465923
Change-Id: I97199a600b71447fd14181e06be3f9221c2529f3
2016-10-06 09:55:17 -07:00
Dan Albert
49fbff480c Migrate libEGL to ndk_library.
Test: make checkbuild
Bug: http://b/30465923
Change-Id: I154a95c6fde9c34d770b6fe65bfd71ac51e05574
2016-10-04 11:08:07 -07:00
Dan Albert
494ed550f5 Migrate libandroid headers to ndk_headers.
Test: make native
Bug: http://b/30465923
Change-Id: I0ef0b3630670241c4efd22515b6ab13eb41a81b3
2016-09-23 15:57:45 -07:00
Dan Willemsen
59e086f536 Start converting Android.mk to Android.bp
See build/soong/README.md for more information.

Merged-In: Ifbe9b0072a63b4467c72b3a52148a606e5365f78
Change-Id: Ifbe9b0072a63b4467c72b3a52148a606e5365f78
2016-08-03 20:42:11 +00:00