From: Android Tools Maintainers Date: Thu, 28 Jul 2022 16:01:55 +0000 (+0100) Subject: somehow upstream builds don't need these headers :-/ X-Git-Tag: archive/raspbian/29.0.6-20+rpi1^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6e3c5b1c193abd54c432748a71a5dbb05680c7fb;p=android-platform-tools.git somehow upstream builds don't need these headers :-/ Forwarded: not-needed Gbp-Pq: Topic art Gbp-Pq: Name missing-system-includes.patch --- diff --git a/art/libartbase/arch/instruction_set.cc b/art/libartbase/arch/instruction_set.cc index 8d4fbf44..d549d2a0 100644 --- a/art/libartbase/arch/instruction_set.cc +++ b/art/libartbase/arch/instruction_set.cc @@ -19,6 +19,7 @@ #include "android-base/logging.h" #include "base/bit_utils.h" #include "base/globals.h" +#include namespace art { diff --git a/art/libartbase/base/arena_allocator.h b/art/libartbase/base/arena_allocator.h index a9ccae1b..3269ef1d 100644 --- a/art/libartbase/base/arena_allocator.h +++ b/art/libartbase/base/arena_allocator.h @@ -17,6 +17,7 @@ #ifndef ART_LIBARTBASE_BASE_ARENA_ALLOCATOR_H_ #define ART_LIBARTBASE_BASE_ARENA_ALLOCATOR_H_ +#include #include #include diff --git a/art/libartbase/base/arena_containers.h b/art/libartbase/base/arena_containers.h index 41b3bb9f..0c946cf6 100644 --- a/art/libartbase/base/arena_containers.h +++ b/art/libartbase/base/arena_containers.h @@ -17,6 +17,7 @@ #ifndef ART_LIBARTBASE_BASE_ARENA_CONTAINERS_H_ #define ART_LIBARTBASE_BASE_ARENA_CONTAINERS_H_ +#include #include #include #include diff --git a/art/libartbase/base/bit_vector-inl.h b/art/libartbase/base/bit_vector-inl.h index 2bdc14eb..38721516 100644 --- a/art/libartbase/base/bit_vector-inl.h +++ b/art/libartbase/base/bit_vector-inl.h @@ -20,6 +20,7 @@ #include "bit_vector.h" #include +#include #include "bit_utils.h" diff --git a/art/libartbase/base/bit_vector.cc b/art/libartbase/base/bit_vector.cc index c706c7eb..0c07e252 100644 --- a/art/libartbase/base/bit_vector.cc +++ b/art/libartbase/base/bit_vector.cc @@ -16,6 +16,7 @@ #include "bit_vector.h" +#include #include #include diff --git a/art/libartbase/base/bit_vector.h b/art/libartbase/base/bit_vector.h index a930f4e5..0520eb2b 100644 --- a/art/libartbase/base/bit_vector.h +++ b/art/libartbase/base/bit_vector.h @@ -18,6 +18,7 @@ #define ART_LIBARTBASE_BASE_BIT_VECTOR_H_ #include +#include #include #include "bit_utils.h" diff --git a/art/libartbase/base/endian_utils.h b/art/libartbase/base/endian_utils.h index 414668c0..7107cb11 100644 --- a/art/libartbase/base/endian_utils.h +++ b/art/libartbase/base/endian_utils.h @@ -20,6 +20,7 @@ #include #include #include +#include namespace art { diff --git a/art/libartbase/base/file_magic.cc b/art/libartbase/base/file_magic.cc index 1471c59b..28766967 100644 --- a/art/libartbase/base/file_magic.cc +++ b/art/libartbase/base/file_magic.cc @@ -19,6 +19,7 @@ #include #include #include +#include #include #include diff --git a/art/libartbase/base/file_utils.cc b/art/libartbase/base/file_utils.cc index 3fd19807..3412e5a2 100644 --- a/art/libartbase/base/file_utils.cc +++ b/art/libartbase/base/file_utils.cc @@ -40,6 +40,7 @@ #include +#include #include "android-base/stringprintf.h" #include "android-base/strings.h" diff --git a/art/libartbase/base/logging.cc b/art/libartbase/base/logging.cc index a66a7e36..81a64570 100644 --- a/art/libartbase/base/logging.cc +++ b/art/libartbase/base/logging.cc @@ -16,6 +16,7 @@ #include "logging.h" +#include #include #include #include diff --git a/art/libartbase/base/membarrier.cc b/art/libartbase/base/membarrier.cc index 48f47dff..8729d344 100644 --- a/art/libartbase/base/membarrier.cc +++ b/art/libartbase/base/membarrier.cc @@ -18,6 +18,7 @@ #include #include +#include #if !defined(_WIN32) #include diff --git a/art/libartbase/base/memfd.cc b/art/libartbase/base/memfd.cc index 8512a3ae..6f98e13c 100644 --- a/art/libartbase/base/memfd.cc +++ b/art/libartbase/base/memfd.cc @@ -31,6 +31,7 @@ #include #include +#include #include "macros.h" diff --git a/art/libartbase/base/scoped_flock.cc b/art/libartbase/base/scoped_flock.cc index b16a45aa..3e142b5a 100644 --- a/art/libartbase/base/scoped_flock.cc +++ b/art/libartbase/base/scoped_flock.cc @@ -19,6 +19,8 @@ #include #include +#include + #include #include diff --git a/art/libartbase/base/unix_file/fd_file.cc b/art/libartbase/base/unix_file/fd_file.cc index 8831b9c6..bfe51f46 100644 --- a/art/libartbase/base/unix_file/fd_file.cc +++ b/art/libartbase/base/unix_file/fd_file.cc @@ -29,6 +29,7 @@ #include #endif +#include #include #include diff --git a/art/libdexfile/dex/descriptors_names.cc b/art/libdexfile/dex/descriptors_names.cc index 44cb7cb5..c9d85e5f 100644 --- a/art/libdexfile/dex/descriptors_names.cc +++ b/art/libdexfile/dex/descriptors_names.cc @@ -21,6 +21,7 @@ #include "base/macros.h" #include "dex/utf-inl.h" +#include namespace art { diff --git a/art/libdexfile/dex/dex_file_loader.h b/art/libdexfile/dex/dex_file_loader.h index 49e177fc..bb79d568 100644 --- a/art/libdexfile/dex/dex_file_loader.h +++ b/art/libdexfile/dex/dex_file_loader.h @@ -18,6 +18,7 @@ #define ART_LIBDEXFILE_DEX_DEX_FILE_LOADER_H_ #include +#include #include #include #include diff --git a/art/libdexfile/dex/dex_file_types.h b/art/libdexfile/dex/dex_file_types.h index ecc04821..05571ef2 100644 --- a/art/libdexfile/dex/dex_file_types.h +++ b/art/libdexfile/dex/dex_file_types.h @@ -17,6 +17,8 @@ #ifndef ART_LIBDEXFILE_DEX_DEX_FILE_TYPES_H_ #define ART_LIBDEXFILE_DEX_DEX_FILE_TYPES_H_ +#include +#include #include #include #include diff --git a/art/libdexfile/dex/method_reference.h b/art/libdexfile/dex/method_reference.h index f66ac30c..ba69984b 100644 --- a/art/libdexfile/dex/method_reference.h +++ b/art/libdexfile/dex/method_reference.h @@ -17,6 +17,7 @@ #ifndef ART_LIBDEXFILE_DEX_METHOD_REFERENCE_H_ #define ART_LIBDEXFILE_DEX_METHOD_REFERENCE_H_ +#include #include #include #include "dex/dex_file.h" diff --git a/art/libprofile/profile/profile_boot_info.cc b/art/libprofile/profile/profile_boot_info.cc index b64d0865..53d60b96 100644 --- a/art/libprofile/profile/profile_boot_info.cc +++ b/art/libprofile/profile/profile_boot_info.cc @@ -18,6 +18,7 @@ #include +#include #include #include "dex/dex_file.h" diff --git a/art/runtime/arch/instruction_set_features.cc b/art/runtime/arch/instruction_set_features.cc index c5c2d311..0742696f 100644 --- a/art/runtime/arch/instruction_set_features.cc +++ b/art/runtime/arch/instruction_set_features.cc @@ -21,6 +21,8 @@ #include #include +#include + #include "android-base/strings.h" #include "base/casts.h" diff --git a/art/runtime/arch/mips/instruction_set_features_mips.cc b/art/runtime/arch/mips/instruction_set_features_mips.cc index 99ce5363..64dd86f2 100644 --- a/art/runtime/arch/mips/instruction_set_features_mips.cc +++ b/art/runtime/arch/mips/instruction_set_features_mips.cc @@ -18,6 +18,7 @@ #include #include +#include #include #include diff --git a/art/runtime/arch/x86/context_x86.cc b/art/runtime/arch/x86/context_x86.cc index 5c317129..825e60a3 100644 --- a/art/runtime/arch/x86/context_x86.cc +++ b/art/runtime/arch/x86/context_x86.cc @@ -16,6 +16,8 @@ #include "context_x86.h" +#include + #include "base/bit_utils.h" #include "base/bit_utils_iterator.h" #include "base/memory_tool.h" diff --git a/art/runtime/base/mutex.cc b/art/runtime/base/mutex.cc index 0d1b162b..1e8552f4 100644 --- a/art/runtime/base/mutex.cc +++ b/art/runtime/base/mutex.cc @@ -18,6 +18,7 @@ #include #include +#include #include diff --git a/art/runtime/exec_utils.cc b/art/runtime/exec_utils.cc index db1baa76..0954f4a8 100644 --- a/art/runtime/exec_utils.cc +++ b/art/runtime/exec_utils.cc @@ -20,6 +20,7 @@ #include #include #include +#include #include "android-base/stringprintf.h" #include "android-base/strings.h" diff --git a/art/runtime/gc/accounting/heap_bitmap.cc b/art/runtime/gc/accounting/heap_bitmap.cc index 4a3902e8..7b4b93ae 100644 --- a/art/runtime/gc/accounting/heap_bitmap.cc +++ b/art/runtime/gc/accounting/heap_bitmap.cc @@ -16,6 +16,8 @@ #include "heap_bitmap.h" +#include + #include "gc/accounting/space_bitmap-inl.h" #include "gc/space/space.h" diff --git a/art/runtime/gc/accounting/read_barrier_table.h b/art/runtime/gc/accounting/read_barrier_table.h index 44cdb5e0..ccc256fc 100644 --- a/art/runtime/gc/accounting/read_barrier_table.h +++ b/art/runtime/gc/accounting/read_barrier_table.h @@ -18,6 +18,7 @@ #define ART_RUNTIME_GC_ACCOUNTING_READ_BARRIER_TABLE_H_ #include // For the PROT_* and MAP_* constants. +#include #include "base/bit_utils.h" #include "base/locks.h" diff --git a/art/runtime/jit/profiling_info.h b/art/runtime/jit/profiling_info.h index 14d76d2d..1d37bfa8 100644 --- a/art/runtime/jit/profiling_info.h +++ b/art/runtime/jit/profiling_info.h @@ -18,6 +18,7 @@ #define ART_RUNTIME_JIT_PROFILING_INFO_H_ #include +#include #include "base/macros.h" #include "gc_root.h" diff --git a/art/runtime/monitor.h b/art/runtime/monitor.h index 0714da1a..8796e7f1 100644 --- a/art/runtime/monitor.h +++ b/art/runtime/monitor.h @@ -25,6 +25,7 @@ #include #include #include +#include #include "base/allocator.h" #include "base/atomic.h" diff --git a/art/runtime/runtime_common.h b/art/runtime/runtime_common.h index 925594ef..cc20b0ad 100644 --- a/art/runtime/runtime_common.h +++ b/art/runtime/runtime_common.h @@ -27,6 +27,7 @@ #include #include +#include #include diff --git a/art/sigchainlib/sigchain.cc b/art/sigchainlib/sigchain.cc index 76027f54..70425a9a 100644 --- a/art/sigchainlib/sigchain.cc +++ b/art/sigchainlib/sigchain.cc @@ -27,6 +27,7 @@ #include #include #include +#include #include "log.h" #include "sigchain.h"