summaryrefslogtreecommitdiff
path: root/oatdump/Android.mk
AgeCommit message (Collapse)Author
2024-04-16Convert `dump-oat` to Android.bp Nelson Li
Bug: 333841012 Test: m dump-oat Change-Id: Ib32c772ed3627ad5ea3f8ef5dcc4216c798a914a
2020-05-30Remove core.art image David Srbecky
It is no longer used. Test: ./art/test.py -r --optimizing Bug: 147817558 Bug: 147819342 Change-Id: I913d7b78365d028bfcd9d876238882ebfd410682
2019-03-01Move boot image oatdump phony rules into Soong Colin Cross
The boot image oatdump rules depend on the details of dexpreopting the boot image. Instead of exporting all of the necessary values to make, move the rules into build/soong/java/dexpreopt_bootjars.go instead. The output is now written to out/soong/boot.*.oatdump.txt. Test: m dump-oat-boot Change-Id: Ib10b53815b8b620bf205324f67c146526b75550e
2019-02-01ART: Fix dump-oat-boot build rules. Vladimir Marko
Pass -Xbootclasspath and -Xbootclasspath-locations args. Test: m dump-oat-boot Bug: 119868597 Change-Id: I5a360bb423e1335120531a9a8d7380950ae6053b
2018-07-24Mark more phony targets as PHONY Dan Willemsen
I'm adding some checks to verify these (and prevent real files from depending on phony targets that are always rebuilt). Test: add --writable=out/ to kati args, see fewer warnings with this change Change-Id: I55d12f473b3141679f3fbb48e3eb1314020cf55f
2017-12-05ART: Fix dependencies of dump-oat-core-target . Vladimir Marko
This was probably broken by https://android-review.googlesource.com/209369 which removed the "default" compiler type but didn't uptate the variable names to those introduced in https://android-review.googlesource.com/337923 . Test: m dump-oat-core-target Change-Id: I0fad9a78fea13bf9c7da24d69bb217a2bc57257e
2017-10-03Remove dump-oat-Calculator Colin Cross
$(TARGET_OUT_APPS)/Calculator.odex doesn't exist. Test: none Change-Id: I16c39c35f5a72fefa7f2fa1730d16b68cdec63a2
2017-02-17Remove testing of prebuilt npic boot images. Richard Uhler
Because we always compile prebuilt images pic. Test: test-art-host, test-art-target. Bug: 33192586 Change-Id: I7cd3d3bb7b6cfbf79c2e442f3793a4967f37d84c
2016-09-09Include oatdump/Android.mk Colin Cross
oatdump/Android.mk wasn't removed as part of the Android.bp conversion, as it still contains custom targets like dump-oat-boot. Add it back to the subdirs included by art/Android.mk. Also put back the ART_DUMP_OAT_PATH variable used by the dump-oat-* targets. Change-Id: If7086b48e268e3620a3377d0f37442673699ec26
2016-09-08Convert more of art to Android.bp Colin Cross
Relanding I1b10f140e17dd5e12a9d7f6a29d47cf61f5bf6ef, with fixes to compile dalvikvm32 and dalvikvm64, and add them as dependencies of tests. Also fixes HOST_PREFER_32_BIT by moving the override from the defaults, which are not used by everything in art, to the art_cc_binary module type. Test: rm -rf out/host; m -j HOST_PREFER_32_BIT test-art-host; m -j test-art-host Change-Id: I64d3eef5080e128103d052497760c3521cc253c6
2016-09-06Add build rules for statically linked oatdump on host. Roland Levillain
Also extend oatdump_test to exercise oatdump(d)s. Test: ART_BUILD_HOST_STATIC=true m test-art-host-gtest-oatdump_test Bug: 29530992 Change-Id: I6eb6c96f385832733d18d0400abd9974a6d8e45c
2015-12-23Dex2oat support for multiple oat file and image file outputs. Jeff Hao
Multiple changes to dex2oat and the runtime to support a --multi-image option. This generates a separate oat file and image file output for each dex file input. Change-Id: Ie1d6f0b8afa8aed5790065b8c2eb177990c60129
2015-06-19Make dump-oat-target work with second architecture Brian Carlstrom
Bug: 19909409 Change-Id: Iff21c5d3ce0e6b057a677da6726ee42af64463e7
2014-12-16Add a new imgdiag tool to diff boot.art/core.art against a process Igor Murashkin
Analyze the dirty memory pages of a running process per-object, this allows is to to fine-tune the dirty object binning algorithm in image writer. Also: * Factor out oatdump command line parsing code into cmdline.h * Factor out common build rules for building variations of binaries * Add a gtest for imgdiag Bug: 17611661 Change-Id: I3ac852a0d223af66f6d59ae5dbc3df101475e3d0
2014-11-07Fix dump-oat-core-* Ian Rogers
Change-Id: I53a3bfffb834284c5c3d2297305c7cdc241f8963
2014-10-30Tidy and reduce ART library dependencies on the host. Ian Rogers
Move to shared rather than static libraries. Avoids capture of all static libraries library dependencies. Change-Id: I2be96e92dad4ed1842d76b044745f2a2e15372eb
2014-09-05ART: Refactor elf_writer_quick, add symbolizer Andreas Gampe
Refactors some classes in elf_writer_quick.h to elf_builder.h to be more friendly for re-use. Use this in oatdump to add a symtab to an oat file. Bug: 17187621, 17322125 Change-Id: I2333291334fd98bd09cc5717fb83cb18efe3a029
2014-06-24Multilib ART host. Ian Rogers
Build ART for the host as a multilib project with dalvikvm32 and dalvikvm64 running as 32 or 64-bit repsectfully. Note, currently multilib host builds are not the default, you make the so by setting BUILD_HOST_64bit=1. Extend tests to execute in both 32 and 64-bit modes. By default both 32 and 64-bit tests are run, add 32 or 64 to the end of a test name to run it in purely that flavor. Given the extra spam, modify oat tests to only generate console output when the test fails. Change the test harness so that common commands are run when a test should be skipped, when it passes or when it fails. Use these commands to generate a summary of passing, skipped and failing tests. Tests will be skipped if they are known to be broken or if a test has already failed. Setting the variable TEST_ART_KEEP_GOING=true will force working tests not to be skipped. In this change all tests running on the optimizing compiler are marked broken due to breakages running them in a multilib environment. Break apart Android.common.mk into its constituent parts, along with other pieces of reorganization. Stylistic nit, we refer to make rule targets as targets thereby overloading the term target. While consistent with make's terminology, its confusing with the Android notion of target. I've switched to just calling targets rules to avoid confusion in host tests. Change-Id: I5190fc3de46800a949fbb06b3f4c258ca89ccde9
2014-06-10Remove deprecated WITH_HOST_DALVIK. Ian Rogers
Bug: 13751317 Fix the Mac build: - disable x86 selector removal that causes OS/X 10.9 kernel panics, - madvise don't need does zero memory on the Mac, factor into MemMap routine, - switch to the elf.h in elfutils to avoid Linux kernel dependencies, - we can't rely on exclusive_owner_ being available from other pthread libraries so maintain our own when futexes aren't available (we can't rely on the OS/X 10.8 hack any more), - fix symbol naming in assembly code, - work around C library differences, - disable backtrace in DumpNativeStack to avoid a broken libbacktrace dependency, - disable main thread signal handling logic, - align the stack in stub_test, - use $(HOST_SHLIB_SUFFIX) rather than .so in host make file variables. Not all host tests are passing on the Mac with this change. dex2oat works as does running HelloWorld. Change-Id: I5a232aedfb2028524d49daa6397a8e60f3ee40d3
2013-09-09Move disassembler out of runtime. Ian Rogers
Bug: 9877500. Change-Id: Ica6d9f5ecfd20c86e5230a2213827bd78cd29a29
2013-08-13Add a systrace support for lock contention logging. Hiroshi Yamauchi
- Now several ART executables like oatdump need to link with libcutils as the mutex code is shared among them. - The blocking thread ID and lock owner thread ID are passed to ScopedContentionRecorder in the correct order. Bug: 9986464 Change-Id: Id766de23fbc4af1d8ba2de051595e365b04f5ae7
2013-07-23Enable darwin target build for art. Brian Carlstrom
Change-Id: I8fc04258360d663d2fcd07c307fdfdd2981cdd19
2013-07-12Create separate Android.mk for main build targets Brian Carlstrom
The runtime, compiler, dex2oat, and oatdump now are in seperate trees to prevent dependency creep. They can now be individually built without rebuilding the rest of the art projects. dalvikvm and jdwpspy were already this way. Builds in the art directory should behave as before, building everything including tests. Change-Id: Ic6b1151e5ed0f823c3dd301afd2b13eb2d8feb81