commit | 57943810cfc789da890d73621741729da5feaaf8 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Wed Dec 06 21:39:13 2017 -0800 |
committer | Andreas Gampe <agampe@google.com> | Thu Dec 07 16:26:11 2017 -0800 |
tree | 367677a982a45af98ffe3e79543615875e8550b4 | |
parent | d5153627778e71ef68b510ce03c77467fa4d85bd [diff] |
ART: Replace base/logging with android-base/logging Replace wherever possible. ART's base/logging is now mainly VLOG and initialization code that is unnecessary to pull in and makes changes to verbose logging more painful than they have to be. Test: m test-art-host Change-Id: I3e3a4672ba5b621e57590a526c7d1c8b749e4f6e
diff --git a/compiler/optimizing/block_builder.cc b/compiler/optimizing/block_builder.cc index ed00032..58f591b 100644 --- a/compiler/optimizing/block_builder.cc +++ b/compiler/optimizing/block_builder.cc
@@ -16,6 +16,7 @@ #include "block_builder.h" +#include "base/logging.h" // FOR VLOG. #include "bytecode_utils.h" #include "quicken_info.h"
diff --git a/compiler/optimizing/code_generator_utils.cc b/compiler/optimizing/code_generator_utils.cc index 96fe2a1..dd47a1f 100644 --- a/compiler/optimizing/code_generator_utils.cc +++ b/compiler/optimizing/code_generator_utils.cc
@@ -15,9 +15,10 @@ */ #include "code_generator_utils.h" -#include "nodes.h" -#include "base/logging.h" +#include <android-base/logging.h> + +#include "nodes.h" namespace art {
diff --git a/compiler/optimizing/data_type.h b/compiler/optimizing/data_type.h index d253036..548fe28 100644 --- a/compiler/optimizing/data_type.h +++ b/compiler/optimizing/data_type.h
@@ -19,7 +19,8 @@ #include <iosfwd> -#include "base/logging.h" +#include <android-base/logging.h> + #include "base/bit_utils.h" namespace art {
diff --git a/compiler/optimizing/optimizing_compiler_stats.h b/compiler/optimizing/optimizing_compiler_stats.h index a2e92d2..32a94ab 100644 --- a/compiler/optimizing/optimizing_compiler_stats.h +++ b/compiler/optimizing/optimizing_compiler_stats.h
@@ -23,6 +23,7 @@ #include <type_traits> #include "atomic.h" +#include "base/logging.h" // For VLOG_IS_ON. #include "globals.h" namespace art {