diff options
author | Jeongik Cha <jeongik@google.com> | 2021-02-26 14:22:33 +0900 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2021-03-11 08:44:30 +0000 |
commit | 20d642234db2d495eb9e669296746f486d25942a (patch) | |
tree | 1ad1e68e93184d26bc75adcc88b7416cca465cfc /Android.bp | |
parent | 231f0e8d020e8fc0afa1e93dd5d43e68b6f73d1f (diff) | |
download | libchrome-20d642234db2d495eb9e669296746f486d25942a.tar.gz |
libchrome supports linux_bionic as well
choose proper source files for linux_bionic target
Bug: 181203470
Test: m in linux_bionic
Change-Id: I42582245a527ea1d78b8768faf3ae6c810ba8f5d
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp index b97661b8d5..c90c3d1647 100644 --- a/Android.bp +++ b/Android.bp @@ -782,6 +782,12 @@ libchromeLinuxGlibcSrc = [ "base/memory/shared_memory_handle_posix.cc", ] +libchromeLinuxBionicSrc = [ + "base/debug/stack_trace_android.cc", + "base/memory/platform_shared_memory_region_posix.cc", + "base/memory/shared_memory_handle_posix.cc", +] + libchromeAndroidSrc = [ "base/android/android_hardware_buffer_compat.cc", "base/android/build_info.cc", @@ -835,6 +841,12 @@ cc_library { linux: { srcs: libchromeLinuxSrc, }, + linux_bionic: { + srcs: libchromeLinuxBionicSrc, + shared_libs: [ + "liblog", + ], + }, linux_glibc: { srcs: libchromeLinuxGlibcSrc, }, |