diff options
| author | David Sehr <sehr@google.com> | 2018-03-02 12:01:51 -0800 |
|---|---|---|
| committer | David Sehr <sehr@google.com> | 2018-03-05 13:58:20 -0800 |
| commit | c431b9dc4b23cc950eb313695258df5d89f53b22 (patch) | |
| tree | 422273559c3ae52caff0c6b1cf1a62a8312f0e26 /libdexfile/Android.bp | |
| parent | f46f46cf5bd32788d5252b7107628a66594a5e98 (diff) | |
| download | art-c431b9dc4b23cc950eb313695258df5d89f53b22.tar.gz art-c431b9dc4b23cc950eb313695258df5d89f53b22.tar.bz2 art-c431b9dc4b23cc950eb313695258df5d89f53b22.zip | |
Move most of runtime/base to libartbase/base
Enforce the layering that code in runtime/base should not depend on
runtime by separating it into libartbase. Some of the code in
runtime/base depends on the Runtime class, so it cannot be moved yet.
Also, some of the tests depend on CommonRuntimeTest, which itself needs
to be factored (in a subsequent CL).
Bug: 22322814
Test: make -j 50 checkbuild
make -j 50 test-art-host
Change-Id: I8b096c1e2542f829eb456b4b057c71421b77d7e2
Diffstat (limited to 'libdexfile/Android.bp')
| -rw-r--r-- | libdexfile/Android.bp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libdexfile/Android.bp b/libdexfile/Android.bp index 797b4590c4..ae4ded58e2 100644 --- a/libdexfile/Android.bp +++ b/libdexfile/Android.bp @@ -24,6 +24,7 @@ cc_defaults { "dex/descriptors_names.cc", "dex/dex_file.cc", "dex/dex_file_exception_helpers.cc", + "dex/dex_file_layout.cc", "dex/dex_file_loader.cc", "dex/dex_file_tracking_registrar.cc", "dex/dex_file_verifier.cc", @@ -54,6 +55,9 @@ cc_defaults { }, generated_sources: ["dexfile_operator_srcs"], shared_libs: [ + // Important note: relying on libartbase's header_lib is perfectly acceptable. + // However, relying on the libartbase shared library introduces further, possibly cyclic, + // dependencies for clients outside of ART. "liblog", // For common macros. "libbase", @@ -77,6 +81,7 @@ gensrcs { tools: ["generate_operator_out"], srcs: [ "dex/dex_file.h", + "dex/dex_file_layout.h", "dex/dex_instruction.h", "dex/dex_instruction_utils.h", "dex/invoke_type.h", |
