summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorYo Chiang <yochiang@google.com>2020-12-28 19:29:47 +0800
committerYo Chiang <yochiang@google.com>2020-12-30 13:16:10 +0800
commit721a0e4b06184fada0035cce390df9c8b6d8720e (patch)
tree7d3e9b94db70ba9b138f49838fd9bf90ec9cc42b /Android.bp
parentfdd02739c24f76846d37807c17c3424d4f0cf718 (diff)
downloadgsid-721a0e4b06184fada0035cce390df9c8b6d8720e.tar.gz
Add IGsiService::suggestScratchSize()
DSU installation service could call this method to get a suggested scratch partition size, if the DSU guest system would need overlayFS (remount) feature. This size is just a suggestion, and is not guaranteed to work. The caller (framework) should still check if the DSU scratch partition is allocated successfully. The scratch partition allocation could fail if the suggested size is larger than available free space. Bug: 165925766 Test: TH Change-Id: Ie6202d15a76a21f59219a80dc3a20e9405ed7f66
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 8e3acaa..cb6c077 100644
--- a/Android.bp
+++ b/Android.bp
@@ -101,6 +101,9 @@ cc_binary {
"libc++fs",
"libvold_binder",
],
+ header_libs: [
+ "libstorage_literals_headers",
+ ],
target: {
android: {
shared_libs: [