android-platform-tools.git
3 years agoFix concatenation of storage_mode string.
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Fix concatenation of storage_mode string.

Forwarded: not-needed

Gbp-Pq: Topic art
Gbp-Pq: Name storage-mode-concat.patch

3 years agoget libart building
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
get libart building

Forwarded: not-needed

Gbp-Pq: Topic art
Gbp-Pq: Name image-space-dereference.patch

3 years agoConforms with the exception specification of `std::atomic`
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Conforms with the exception specification of `std::atomic`

Forwarded: not-needed

All constructors of `std::atomic` require `noexcept`. As a result, its members
must also be able to instantiate without any exception throwing.

Gbp-Pq: Topic art
Gbp-Pq: Name atomic-exception-specification.patch

3 years agoUse `ucontext_t` instead of `ucontext`
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Use `ucontext_t` instead of `ucontext`

Forwarded: not-needed

Both Bionic and glibc define a struct called `ucontext_t` but only Bionic
defines an alias `ucontext_t`. Let's use the more standardized one.

Gbp-Pq: Topic art
Gbp-Pq: Name ucontext.patch

3 years agosomehow upstream builds don't need these headers :-/
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
somehow upstream builds don't need these headers :-/

Forwarded: not-needed

Gbp-Pq: Topic art
Gbp-Pq: Name missing-system-includes.patch

3 years agoMake libart use dlmalloc from
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Make libart use dlmalloc from

https://android.googlesource.com/platform/external/dlmalloc
Forwarded: not-needed

Gbp-Pq: Topic art
Gbp-Pq: Name use-android-dlmalloc.patch

3 years agoFix typos
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Fix typos

Last-Update: 2016-10-01
Forwarded: not-needed

Gbp-Pq: Topic development
Gbp-Pq: Name typos.patch

3 years agoAdd missing 'std::' scope identifiers.
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Add missing 'std::' scope identifiers.

Forwarded: not-needed

Gbp-Pq: Topic system/core
Gbp-Pq: Name fix-standard-namespace-errors.patch

3 years agoDefer packaging fastdeploy with adb for 29.x.x tags.
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Defer packaging fastdeploy with adb for 29.x.x tags.

Forwarded: not-needed

Gbp-Pq: Topic system/core
Gbp-Pq: Name stub-out-fastdeploy.patch

3 years agojust hard code rather than deal with circular deps
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
just hard code rather than deal with circular deps

Forwarded: not-needed

Gbp-Pq: Topic system/core
Gbp-Pq: Name hard-code-build-number.patch

3 years agoadd-missing-headers
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
add-missing-headers

Forwarded: not-needed

Gbp-Pq: Topic system/core
Gbp-Pq: Name add-missing-headers.patch

3 years agonon-x86 arches do not have PAGE_SIZE
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
non-x86 arches do not have PAGE_SIZE

Forwarded: not-needed

Gbp-Pq: Topic system/core
Gbp-Pq: Name fix-build-on-non-x86.patch

3 years agoget libcutils building
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
get libcutils building

Forwarded: not-needed

Gbp-Pq: Topic system/core
Gbp-Pq: Name fix-gettid-exception-declaration.patch

3 years agoremove clang-ism
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
remove clang-ism

Forwarded: not-needed

Gbp-Pq: Topic system/core
Gbp-Pq: Name fix-attribute-issue-with-gcc.patch

3 years agoPort simg_dump to Python 3.
Antonio Russo [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Port simg_dump to Python 3.

Forwarded: not-needed
Last-Update: 2019-01-05
Origin: https://bugs.debian.org/945646

Gbp-Pq: Topic system/core
Gbp-Pq: Name simg_dump-python3.patch

3 years agoTurn #error into exceptions
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Turn #error into exceptions

Forwarded: not-needed

So the library can be built on non-Linux platforms too, although can't
guarauntee its functionality regarding that piece of code.

Gbp-Pq: Topic system/core
Gbp-Pq: Name throw-exception-on-unknown-os.patch

3 years agoFix the weird error by GCC7 that fails to match the correct parent method.
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Fix the weird error by GCC7 that fails to match the correct parent method.

Forwarded: not-needed

Gbp-Pq: Topic system/core
Gbp-Pq: Name Vector-cast.patch

3 years agoBring Clang's _Nonnull keyword to GCC
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Bring Clang's _Nonnull keyword to GCC

Forwarded: not-needed

Gbp-Pq: Topic system/core
Gbp-Pq: Name Nonnull.patch

3 years agoFix incompatibility between <stdatomic.h> and <atomic>
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Fix incompatibility between <stdatomic.h> and <atomic>

Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60932
Bug: https://reviews.llvm.org/D45470

This 2 headers combined will cause errors for both GCC and Clang. This patch
makes sure only one of them is present at any time.

Gbp-Pq: Topic system/core
Gbp-Pq: Name stdatomic.patch

3 years agolibusb.h comes from different location
Umang Parmar [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
libusb.h comes from different location

Forwarded: not-needed
Last-Update: 2018-05-26

Gbp-Pq: Topic system/core
Gbp-Pq: Name libusb-header-path.patch

3 years agoAdded missing headers causing compile errors
Umang Parmar [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Added missing headers causing compile errors

Forwarded: not-needed

Gbp-Pq: Topic system/core
Gbp-Pq: Name Added-missing-headers.patch

3 years agoUpdate log file directory.
Umang Parmar [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Update log file directory.

Last Updated: 2018-05-17

Last Updated: 2018-05-17

Gbp-Pq: Topic system/core
Gbp-Pq: Name move-log-file-to-proper-dir.patch

3 years agoAdded missing headers causing compile errors
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Added missing headers causing compile errors

Forwarded: not-needed

Gbp-Pq: Topic libnativehelper
Gbp-Pq: Name add-missing-headers.patch

3 years agoOff-by-one error in the dwarf_to_unw_regnum function in include/dwarf_i.h in
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Off-by-one error in the dwarf_to_unw_regnum function in include/dwarf_i.h in

libunwind 1.1 allows local users to have unspecified impact via invalid dwarf opcodes.

Gbp-Pq: Topic external/libunwind
Gbp-Pq: Name 20150704-CVE-2015-3239_dwarf_i.h.patch

3 years agoReplace the legacy __sync built-in functions with __atomic ones
Android Tools Maintainers [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Replace the legacy __sync built-in functions with __atomic ones

Last-Update: 2016-10-04
Forwarded: not-needed

libunwind uses the built-in __sync_* functions which are deprecated by GCC and
should be replaced by __atomic_* ones. See the official manuals [1].

The legacy __sync functions do not require to specify the memory order but
__atomic ones do, so we choose the strongest one: __ATOMIC_SEQ_CST.

We do this because __sync_fetch_and_add() is not supported on armel.

[1]: https://gcc.gnu.org/onlinedocs/gcc/_005f_005fsync-Builtins.html

Gbp-Pq: Topic external/libunwind
Gbp-Pq: Name legacy_built-in_sync_functions.patch

3 years agoManual definition of struct user_pt_regs
Kai-Chung Yan [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Manual definition of struct user_pt_regs

Last-Update: 2016-08-24
Forwarded: not-needed

On ARM64, libunwind uses struct user_pt_regs which is not defined in
anywhere, which causes FTBFS.

Gbp-Pq: Topic external/libunwind
Gbp-Pq: Name user_pt_regs.patch

3 years agoFix header path to get rid of compile errors
Umang Parmar [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Fix header path to get rid of compile errors

Forwarded: not-needed
Last-Update: 2018-06-13

Gbp-Pq: Topic external/selinux
Gbp-Pq: Name Fix-header-path.patch

3 years agoandroid-platform-tools (29.0.6-6+rpi1) bookworm-staging; urgency=medium
Peter Michael Green [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
android-platform-tools (29.0.6-6+rpi1) bookworm-staging; urgency=medium

  * Build with clang-11 to avoid armv7 contamination.

[dgit import unpatched android-platform-tools 29.0.6-6+rpi1]

3 years agoImport android-platform-tools_29.0.6-6+rpi1.debian.tar.xz
Peter Michael Green [Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)]
Import android-platform-tools_29.0.6-6+rpi1.debian.tar.xz

[dgit import tarball android-platform-tools 29.0.6-6+rpi1 android-platform-tools_29.0.6-6+rpi1.debian.tar.xz]

4 years agoImport android-platform-tools_29.0.6.orig.tar.gz
Prateek Ganguli [Thu, 20 May 2021 04:30:00 +0000 (05:30 +0100)]
Import android-platform-tools_29.0.6.orig.tar.gz

[dgit import orig android-platform-tools_29.0.6.orig.tar.gz]