diff options
author | Suren Baghdasaryan <surenb@google.com> | 2020-12-01 11:26:30 -0800 |
---|---|---|
committer | Suren Baghdasaryan <surenb@google.com> | 2020-12-09 19:39:43 -0800 |
commit | d35dfbdbba6e686af1ff7657d8fed99d2b439976 (patch) | |
tree | 8658f9b92bd21a21349c68fe9a677544b0fb22ca | |
parent | 68e0adaa2743c83a7c182b7ee76a5973b6d3ec4b (diff) | |
download | bcc-d35dfbdbba6e686af1ff7657d8fed99d2b439976.tar.gz |
Add native_bridge_supported to allow bpf usage in libmeminfo
libmeminfo needs to use BPF to read GPU usage reported by kernel drivers,
therefore a new dependency between libmeminfo and libbpf is added.
After this addition, native_bridge_supported is required to successfully
build cuttlefish targets.
Bug: 171261987
Test: libmeminfo_test
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I1d1141c501d7374bf5743f8babab4d17e9eec1e9
-rw-r--r-- | Android.bp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -38,6 +38,7 @@ cc_library_headers { name: "libbpf_headers", vendor_available: false, host_supported: false, + native_bridge_supported: true, export_include_dirs: ["src/cc/includes/"], target: { linux_bionic: { @@ -50,6 +51,7 @@ cc_library { name: "libbpf", vendor_available: false, host_supported: false, + native_bridge_supported: true, target: { android: { srcs: [ |