diff options
author | David Anderson <dvander@google.com> | 2019-01-07 18:10:29 -0800 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2019-01-08 13:31:06 -0800 |
commit | ee84d7406b1f36fa8c6c501457289268038f2c2f (patch) | |
tree | ee2d5cabccf2a332010f10bfca4cb1ede740cd31 /Android.bp | |
parent | 264f9fa893fe2d1b418d24aabf69503cbbe05f04 (diff) | |
download | gsid-ee84d7406b1f36fa8c6c501457289268038f2c2f.tar.gz |
Introduce libgsi, gsi_tool.
libgsi is a very small library to communicate critical gsi knowledge to
init and fs_mgr, to avoid hardcoding path names and constants.
gsi_tool is a shell wrapper to talk to gsid through binder.
gsid (currently in vold, will be moved shortly) is the daemon to manage
gsi installs.
Bug: 121210348
Test: N/A
Change-Id: I7942af56cb8e6ed69d28189bcf8d9806aa5e3e45
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..6a1d992 --- /dev/null +++ b/Android.bp @@ -0,0 +1,51 @@ +// +// Copyright (C) 2018 The Android Open Source Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// + +cc_binary { + name: "gsi_tool", + shared_libs: [ + "libbinder", + "libbase", + "liblog", + "libservices", + "libutils", + ], + static_libs: [ + "libvold_binder", + ], + srcs: [ + "gsi_tool.cpp", + ], +} + +cc_library { + name: "libgsi", + recovery_available: true, + srcs: [ + "libgsi.cpp", + ], + shared_libs: [ + "libbase", + ], + export_include_dirs: ["include"], +} + +cc_library_headers { + name: "libgsi_headers", + recovery_available: true, + vendor_available: true, + export_include_dirs: ["include"], +} |