diff options
| author | Maggie White <maggiewhite@google.com> | 2019-04-09 16:52:07 -0700 |
|---|---|---|
| committer | Maggie White <maggiewhite@google.com> | 2019-04-16 17:55:05 -0700 |
| commit | 5cf0fda13339e650283b655ded7737829ecf4b7f (patch) | |
| tree | 30c935dd2f087645cea8ca39e01b24e05dd2a7ab /pixelstats/Android.bp | |
| parent | a6969212604257c752f90e79ade3d051a00dd1ac (diff) | |
| download | platform_hardware_google_pixel-5cf0fda13339e650283b655ded7737829ecf4b7f.tar.gz platform_hardware_google_pixel-5cf0fda13339e650283b655ded7737829ecf4b7f.tar.bz2 platform_hardware_google_pixel-5cf0fda13339e650283b655ded7737829ecf4b7f.zip | |
pixelstats: Create device-agnostic PixelAtoms library
Create a central library that holds all Pixel-specific atom IDs for
atoms that are generated on the vendor partition and are not device
specific. This will prevent atom ID and namespace collision between
Pixel device software teams.
The first atoms added allow us to collect detailed charge cycle metrics.
Bug: 127358284
Bug: 120439050
Test: Used this library in pixelstats
Change-Id: I67ddbd6bdd3e6015838e7dfbe74ae6aee82b29cb
Signed-off-by: Maggie White <maggiewhite@google.com>
Diffstat (limited to 'pixelstats/Android.bp')
| -rw-r--r-- | pixelstats/Android.bp | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/pixelstats/Android.bp b/pixelstats/Android.bp index ea052a4..1cae11e 100644 --- a/pixelstats/Android.bp +++ b/pixelstats/Android.bp @@ -14,6 +14,29 @@ // limitations under the License. cc_library { + name: "pixelatoms-cpp", + vendor: true, + proto: { + type: "lite", + export_proto_headers: true, + }, + srcs: [ + "pixelatoms.proto", + ], +} + +java_library { + name: "pixelatoms-java", + vendor: true, + proto: { + type: "lite", + }, + srcs: [ + "pixelatoms.proto", + ], +} + +cc_library { name: "libpixelstats", vendor: true, export_include_dirs: ["include"], @@ -40,7 +63,9 @@ cc_library { export_shared_lib_headers: [ "android.frameworks.stats@1.0", ], - static_libs: ["chre_client"], + static_libs: [ + "chre_client", + ], header_libs: ["chre_api"], } |
