diff options
author | 2024-06-07 18:57:40 +0100 | |
---|---|---|
committer | 2024-09-24 10:04:26 +0000 | |
commit | 0b8cc45c57bd0d13901e2c1d15f74c8b562fb2d2 (patch) | |
tree | edca009608ef2020e5c55f494e98b450d970ff60 | |
parent | 68df0adae73f0258782986fc9ca1f3f82cf084bd (diff) |
Delete compact_dex_level.h.
Test: art/tools/buildbot-build.sh
Bug: 325430813
Change-Id: I3a5aa5f42c76e352239653833428ae15860a069a
-rw-r--r-- | libartbase/base/common_art_test.h | 1 | ||||
-rw-r--r-- | libdexfile/dex/compact_dex_level.h | 33 | ||||
-rw-r--r-- | runtime/common_runtime_test.h | 1 |
3 files changed, 0 insertions, 35 deletions
diff --git a/libartbase/base/common_art_test.h b/libartbase/base/common_art_test.h index ef26e70c7b..1a0b910ced 100644 --- a/libartbase/base/common_art_test.h +++ b/libartbase/base/common_art_test.h @@ -35,7 +35,6 @@ #include "base/unix_file/fd_file.h" #include "dex/art_dex_file_loader.h" #include "dex/compact_dex_file.h" -#include "dex/compact_dex_level.h" #include "gtest/gtest.h" namespace art { diff --git a/libdexfile/dex/compact_dex_level.h b/libdexfile/dex/compact_dex_level.h deleted file mode 100644 index e6b5446b5f..0000000000 --- a/libdexfile/dex/compact_dex_level.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (C) 2017 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ART_LIBDEXFILE_DEX_COMPACT_DEX_LEVEL_H_ -#define ART_LIBDEXFILE_DEX_COMPACT_DEX_LEVEL_H_ - -namespace art { - -// Optimization level for compact dex generation. -// TODO(b/256664509): Clean this up. -enum class CompactDexLevel { - // Level none means not generated. - kCompactDexLevelNone, - // Level fast means optimizations that don't take many resources to perform. - kCompactDexLevelFast, -}; - -} // namespace art - -#endif // ART_LIBDEXFILE_DEX_COMPACT_DEX_LEVEL_H_ diff --git a/runtime/common_runtime_test.h b/runtime/common_runtime_test.h index 87c8d111f0..f0f83eac83 100644 --- a/runtime/common_runtime_test.h +++ b/runtime/common_runtime_test.h @@ -32,7 +32,6 @@ #include "base/os.h" #include "base/unix_file/fd_file.h" #include "dex/art_dex_file_loader.h" -#include "dex/compact_dex_level.h" // TODO: Add inl file and avoid including inl. #include "obj_ptr-inl.h" #include "runtime_globals.h" |