diff options
author | Tao Bao <tbao@google.com> | 2018-08-15 19:56:19 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-08-15 19:56:19 +0200 |
commit | b1ff1bc43bb4b42be13e950cbf76ad5d4b624cb6 (patch) | |
tree | b9360b1ec212027a08728a47e013d355bbe648ef /updater | |
parent | Merge "Track the change to update_engine_sideload path." (diff) | |
parent | tests: Move to Android.bp. (diff) | |
download | android_bootable_recovery-b1ff1bc43bb4b42be13e950cbf76ad5d4b624cb6.tar android_bootable_recovery-b1ff1bc43bb4b42be13e950cbf76ad5d4b624cb6.tar.gz android_bootable_recovery-b1ff1bc43bb4b42be13e950cbf76ad5d4b624cb6.tar.bz2 android_bootable_recovery-b1ff1bc43bb4b42be13e950cbf76ad5d4b624cb6.tar.lz android_bootable_recovery-b1ff1bc43bb4b42be13e950cbf76ad5d4b624cb6.tar.xz android_bootable_recovery-b1ff1bc43bb4b42be13e950cbf76ad5d4b624cb6.tar.zst android_bootable_recovery-b1ff1bc43bb4b42be13e950cbf76ad5d4b624cb6.zip |
Diffstat (limited to '')
-rw-r--r-- | updater/Android.bp | 41 |
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", + ], +} |