summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-07-25 00:34:39 +0200
committerTao Bao <tbao@google.com>2018-08-15 06:46:45 +0200
commitef5e38fef0b80b36101ac66a79bbcff0f22e6605 (patch)
treeb9360b1ec212027a08728a47e013d355bbe648ef /updater
parentMerge "Track the change to update_engine_sideload path." (diff)
downloadandroid_bootable_recovery-ef5e38fef0b80b36101ac66a79bbcff0f22e6605.tar
android_bootable_recovery-ef5e38fef0b80b36101ac66a79bbcff0f22e6605.tar.gz
android_bootable_recovery-ef5e38fef0b80b36101ac66a79bbcff0f22e6605.tar.bz2
android_bootable_recovery-ef5e38fef0b80b36101ac66a79bbcff0f22e6605.tar.lz
android_bootable_recovery-ef5e38fef0b80b36101ac66a79bbcff0f22e6605.tar.xz
android_bootable_recovery-ef5e38fef0b80b36101ac66a79bbcff0f22e6605.tar.zst
android_bootable_recovery-ef5e38fef0b80b36101ac66a79bbcff0f22e6605.zip
Diffstat (limited to 'updater')
-rw-r--r--updater/Android.bp41
1 files changed, 25 insertions, 16 deletions
diff --git a/updater/Android.bp b/updater/Android.bp
index 9a36ebbb7..c77bac8fb 100644
--- a/updater/Android.bp
+++ b/updater/Android.bp
@@ -12,27 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-cc_library_static {
- name: "libupdater",
+cc_defaults {
+ name: "libupdater_defaults",
defaults: [
"recovery_defaults",
],
- srcs: [
- "blockimg.cpp",
- "commands.cpp",
- "install.cpp",
- ],
-
- include_dirs: [
- "external/e2fsprogs/misc",
- ],
-
- export_include_dirs: [
- "include",
- ],
-
static_libs: [
"libapplypatch",
"libbootloader_message",
@@ -69,3 +55,26 @@ cc_library_static {
"libext2fs",
],
}
+
+cc_library_static {
+ name: "libupdater",
+
+ defaults: [
+ "recovery_defaults",
+ "libupdater_defaults",
+ ],
+
+ srcs: [
+ "blockimg.cpp",
+ "commands.cpp",
+ "install.cpp",
+ ],
+
+ include_dirs: [
+ "external/e2fsprogs/misc",
+ ],
+
+ export_include_dirs: [
+ "include",
+ ],
+}