From 2c9a0b454c15ccb5f6bf7dfa37d6b61d33a78db7 Mon Sep 17 00:00:00 2001 From: Android Tools Maintainers Date: Tue, 5 Apr 2022 12:39:26 +0100 Subject: [PATCH] somehow upstream builds don't need these headers :-/ Forwarded: not-needed Gbp-Pq: Name missing-system-includes.patch --- libartbase/arch/instruction_set.cc | 1 + libartbase/base/arena_allocator.h | 1 + libartbase/base/arena_containers.h | 1 + libartbase/base/bit_vector-inl.h | 1 + libartbase/base/bit_vector.cc | 1 + libartbase/base/bit_vector.h | 1 + libartbase/base/file_magic.cc | 1 + libartbase/base/file_utils.cc | 1 + libartbase/base/logging.cc | 1 + libartbase/base/memfd.cc | 1 + libartbase/base/scoped_flock.cc | 2 ++ libartbase/base/unix_file/fd_file.cc | 1 + libdexfile/dex/descriptors_names.cc | 1 + libdexfile/dex/dex_file_loader.h | 1 + libdexfile/dex/dex_file_types.h | 2 ++ libdexfile/dex/method_reference.h | 1 + runtime/arch/instruction_set_features.cc | 2 ++ runtime/arch/mips/instruction_set_features_mips.cc | 1 + runtime/arch/x86/context_x86.cc | 2 ++ runtime/base/mutex.cc | 1 + runtime/exec_utils.cc | 1 + runtime/gc/accounting/heap_bitmap.cc | 2 ++ runtime/gc/accounting/read_barrier_table.h | 1 + runtime/jdwp/jdwp_handler.cc | 1 + runtime/jit/profiling_info.h | 1 + runtime/monitor.h | 1 + runtime/runtime_common.h | 1 + sigchainlib/sigchain.cc | 1 + 28 files changed, 33 insertions(+) diff --git a/libartbase/arch/instruction_set.cc b/libartbase/arch/instruction_set.cc index 8d4fbf4..d549d2a 100644 --- a/libartbase/arch/instruction_set.cc +++ b/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/libartbase/base/arena_allocator.h b/libartbase/base/arena_allocator.h index a9ccae1..3269ef1 100644 --- a/libartbase/base/arena_allocator.h +++ b/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/libartbase/base/arena_containers.h b/libartbase/base/arena_containers.h index 41b3bb9..0c946cf 100644 --- a/libartbase/base/arena_containers.h +++ b/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/libartbase/base/bit_vector-inl.h b/libartbase/base/bit_vector-inl.h index 2bdc14e..3872151 100644 --- a/libartbase/base/bit_vector-inl.h +++ b/libartbase/base/bit_vector-inl.h @@ -20,6 +20,7 @@ #include "bit_vector.h" #include +#include #include "bit_utils.h" diff --git a/libartbase/base/bit_vector.cc b/libartbase/base/bit_vector.cc index c706c7e..0c07e25 100644 --- a/libartbase/base/bit_vector.cc +++ b/libartbase/base/bit_vector.cc @@ -16,6 +16,7 @@ #include "bit_vector.h" +#include #include #include diff --git a/libartbase/base/bit_vector.h b/libartbase/base/bit_vector.h index a930f4e..0520eb2 100644 --- a/libartbase/base/bit_vector.h +++ b/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/libartbase/base/file_magic.cc b/libartbase/base/file_magic.cc index 1471c59..2876696 100644 --- a/libartbase/base/file_magic.cc +++ b/libartbase/base/file_magic.cc @@ -19,6 +19,7 @@ #include #include #include +#include #include #include diff --git a/libartbase/base/file_utils.cc b/libartbase/base/file_utils.cc index 1216ab0..3add68a 100644 --- a/libartbase/base/file_utils.cc +++ b/libartbase/base/file_utils.cc @@ -40,6 +40,7 @@ #include +#include #include "android-base/stringprintf.h" #include "android-base/strings.h" diff --git a/libartbase/base/logging.cc b/libartbase/base/logging.cc index a66a7e3..81a6457 100644 --- a/libartbase/base/logging.cc +++ b/libartbase/base/logging.cc @@ -16,6 +16,7 @@ #include "logging.h" +#include #include #include #include diff --git a/libartbase/base/memfd.cc b/libartbase/base/memfd.cc index 780be32..3b5fe23 100644 --- a/libartbase/base/memfd.cc +++ b/libartbase/base/memfd.cc @@ -24,6 +24,7 @@ #include #endif +#include #include "macros.h" // When building for linux host, glibc in prebuilts does not include memfd_create system call diff --git a/libartbase/base/scoped_flock.cc b/libartbase/base/scoped_flock.cc index b16a45a..3e142b5 100644 --- a/libartbase/base/scoped_flock.cc +++ b/libartbase/base/scoped_flock.cc @@ -19,6 +19,8 @@ #include #include +#include + #include #include diff --git a/libartbase/base/unix_file/fd_file.cc b/libartbase/base/unix_file/fd_file.cc index 8831b9c..bfe51f4 100644 --- a/libartbase/base/unix_file/fd_file.cc +++ b/libartbase/base/unix_file/fd_file.cc @@ -29,6 +29,7 @@ #include #endif +#include #include #include diff --git a/libdexfile/dex/descriptors_names.cc b/libdexfile/dex/descriptors_names.cc index 1e8eb33..d8fec69 100644 --- a/libdexfile/dex/descriptors_names.cc +++ b/libdexfile/dex/descriptors_names.cc @@ -21,6 +21,7 @@ #include "base/macros.h" #include "dex/utf-inl.h" +#include namespace art { diff --git a/libdexfile/dex/dex_file_loader.h b/libdexfile/dex/dex_file_loader.h index 49e177f..bb79d56 100644 --- a/libdexfile/dex/dex_file_loader.h +++ b/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/libdexfile/dex/dex_file_types.h b/libdexfile/dex/dex_file_types.h index ecc0482..05571ef 100644 --- a/libdexfile/dex/dex_file_types.h +++ b/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/libdexfile/dex/method_reference.h b/libdexfile/dex/method_reference.h index f66ac30..ba69984 100644 --- a/libdexfile/dex/method_reference.h +++ b/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/runtime/arch/instruction_set_features.cc b/runtime/arch/instruction_set_features.cc index c5c2d31..0742696 100644 --- a/runtime/arch/instruction_set_features.cc +++ b/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/runtime/arch/mips/instruction_set_features_mips.cc b/runtime/arch/mips/instruction_set_features_mips.cc index 99ce536..64dd86f 100644 --- a/runtime/arch/mips/instruction_set_features_mips.cc +++ b/runtime/arch/mips/instruction_set_features_mips.cc @@ -18,6 +18,7 @@ #include #include +#include #include #include diff --git a/runtime/arch/x86/context_x86.cc b/runtime/arch/x86/context_x86.cc index 5c31712..825e60a 100644 --- a/runtime/arch/x86/context_x86.cc +++ b/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/runtime/base/mutex.cc b/runtime/base/mutex.cc index f4394f7..db2d4d8 100644 --- a/runtime/base/mutex.cc +++ b/runtime/base/mutex.cc @@ -18,6 +18,7 @@ #include #include +#include #include "android-base/stringprintf.h" diff --git a/runtime/exec_utils.cc b/runtime/exec_utils.cc index db1baa7..0954f4a 100644 --- a/runtime/exec_utils.cc +++ b/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/runtime/gc/accounting/heap_bitmap.cc b/runtime/gc/accounting/heap_bitmap.cc index 1d729ff..c4f1f35 100644 --- a/runtime/gc/accounting/heap_bitmap.cc +++ b/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/runtime/gc/accounting/read_barrier_table.h b/runtime/gc/accounting/read_barrier_table.h index 44cdb5e..ccc256f 100644 --- a/runtime/gc/accounting/read_barrier_table.h +++ b/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/runtime/jdwp/jdwp_handler.cc b/runtime/jdwp/jdwp_handler.cc index 37365ff..58e2d22 100644 --- a/runtime/jdwp/jdwp_handler.cc +++ b/runtime/jdwp/jdwp_handler.cc @@ -19,6 +19,7 @@ #include #include #include +#include #include "android-base/stringprintf.h" diff --git a/runtime/jit/profiling_info.h b/runtime/jit/profiling_info.h index f6139bb..7ee0437 100644 --- a/runtime/jit/profiling_info.h +++ b/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/runtime/monitor.h b/runtime/monitor.h index 4187f27..b52d4bf 100644 --- a/runtime/monitor.h +++ b/runtime/monitor.h @@ -24,6 +24,7 @@ #include #include #include +#include #include "base/allocator.h" #include "base/atomic.h" diff --git a/runtime/runtime_common.h b/runtime/runtime_common.h index 698d060..ae519d5 100644 --- a/runtime/runtime_common.h +++ b/runtime/runtime_common.h @@ -27,6 +27,7 @@ #include #include +#include #include diff --git a/sigchainlib/sigchain.cc b/sigchainlib/sigchain.cc index 08ee690..890b0e7 100644 --- a/sigchainlib/sigchain.cc +++ b/sigchainlib/sigchain.cc @@ -27,6 +27,7 @@ #include #include #include +#include #include "log.h" #include "sigchain.h" -- 2.30.2