diff options
author | Andreas Gampe <agampe@google.com> | 2017-04-24 17:59:09 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-05-30 16:26:35 -0700 |
commit | d482e73fe26cb9161511a80e3db39e08b9808ab6 (patch) | |
tree | 0b8c874f24c211e4e3d87083f8017580aa23ff63 /cmdline | |
parent | a14100ccf51cc63a5c472188d1e2d337627e49eb (diff) | |
download | android_art-d482e73fe26cb9161511a80e3db39e08b9808ab6.tar.gz android_art-d482e73fe26cb9161511a80e3db39e08b9808ab6.tar.bz2 android_art-d482e73fe26cb9161511a80e3db39e08b9808ab6.zip |
ART: More header cleanup - runtime.h
Remove unnecessary runtime.h includes. Refactor other headers
(move to forward declarations) to make this possible.
Test: mmma art
Change-Id: I297f0ad444ba92169edd16d8c7cbe95bb6dbb800
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/cmdline_parser_test.cc | 1 | ||||
-rw-r--r-- | cmdline/cmdline_types.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/cmdline/cmdline_parser_test.cc b/cmdline/cmdline_parser_test.cc index 1a2b9cde67..9f12f64a31 100644 --- a/cmdline/cmdline_parser_test.cc +++ b/cmdline/cmdline_parser_test.cc @@ -22,6 +22,7 @@ #include <numeric> #include "gtest/gtest.h" #include "runtime/experimental_flags.h" +#include "runtime/runtime.h" #define EXPECT_NULL(expected) EXPECT_EQ(reinterpret_cast<const void*>(expected), \ reinterpret_cast<void*>(nullptr)); diff --git a/cmdline/cmdline_types.h b/cmdline/cmdline_types.h index e33a2070dd..0d2aed8ad1 100644 --- a/cmdline/cmdline_types.h +++ b/cmdline/cmdline_types.h @@ -18,6 +18,8 @@ #define CMDLINE_NDEBUG 1 // Do not output any debugging information for parsing. +#include <list> + #include "memory_representation.h" #include "detail/cmdline_debug_detail.h" #include "cmdline_type_parser.h" |