summaryrefslogtreecommitdiffstats
path: root/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* user build support for art (2 of 3)Brian Carlstrom2012-02-161-7/+19
| | | | Change-Id: I4696fee58e43db48540e2442c4235fc4bb02d9e3
* trygon supportBrian Carlstrom2012-02-071-370/+6
| | | | Change-Id: I27ff7e26b583614f2577aed79dcd629ad4595e63
* Remove apks from oat-target-sync that aren't built in mysid-userdebugIan Rogers2012-02-011-10/+8
| | | | Change-Id: Icd79e3d4b3a6497c15bf10f97aefcdaeb419bed7
* full_stingray oat-target-sync supportIan Rogers2012-01-311-0/+77
| | | | | | | Tested on a stingray, just 8 package/dex2oat differences compared to stingray. Change-Id: Iedb53e36ded4cbcb5079fb8d6d859dcecf73e186
* Test changes to support tradefedBrian Carlstrom2012-01-311-2/+2
| | | | | | | - move jar files for gtest support to /data/nativetest/art - tag jar files in /data/art-test as "tests" Change-Id: I43fe38bee4a47096754ee41c3207a93a3d3ad830
* Support stingray in oat-target-syncIan Rogers2012-01-301-0/+69
| | | | Change-Id: Ic2ab89350acba49f8f2816aa22a114da2ee2f541
* Remove need for libarttest.so for gtests for tradefedBrian Carlstrom2012-01-271-3/+3
| | | | Change-Id: I18b39b9fc6f0bfa163ef7e7063864696d6958ad0
* Fix divide by zero in compiler statsBrian Carlstrom2012-01-261-2/+0
| | | | | | Also remove ext.jar from compilation since its part of the bootclasspath Change-Id: I208746479d44664c8c868952d477a312fea6547a
* Mac runtime fixes.Elliott Hughes2012-01-201-2/+8
| | | | | | | | | | This is enough to let us run test-art-host on the Mac. The tests that don't start a runtime (and thus don't try to dlopen(3) libjavacore.dylib) succeed. The others fail, but I'm not sure how the Linux tests find libjavacore.so, so I'm not sure how to fix things for Mac OS. Change-Id: Idf489fc09f0a8f64fbb60dfcdbca9c3df2d4fdcb
* Add runtime dependencies to libjavacore.soBrian Carlstrom2012-01-191-2/+2
| | | | Change-Id: Ib8da1536b36ba0794b0642ff149a59d1bf9153a5
* Fix the handful of leaks detectable in our tests.Elliott Hughes2012-01-181-1/+1
| | | | Change-Id: I74ad1a3831fbebad60ff24f0b3ac07cade823b7a
* Add installd support to dex2oatBrian Carlstrom2012-01-051-51/+11
| | | | Change-Id: Id1a64403ccea7dc2c1e8b8340d33d383d4045a33
* Add sojus target.Shih-wei Liao2011-12-231-1/+1
| | | | Change-Id: I69ab14004353936206d81fe7b49297b3e0b7582a
* Enable art build for non-linux hostsBrian Carlstrom2011-12-151-7/+2
| | | | Change-Id: Ie4ac3241a3239aee77fe9532331eb3f16db8dd26
* Moving from libdvm to libart (1 of 5)Brian Carlstrom2011-12-141-56/+11
| | | | Change-Id: I6541802c5f403a4ba4424818084b94bebe71dfca
* Fix build.Elliott Hughes2011-12-131-1/+1
| | | | | | | | | | Our continuous build uses a different TARGET_PRODUCT, and we want it to build anyway, even if the result won't actually be useful. This will be addressed later by moving this stuff out so every .apk gets this done as it's built. Change-Id: Iefa15615a5bcdd23e7eed99fb87bca86429fc109
* Support building for mysid too.Elliott Hughes2011-12-131-1/+123
| | | | Change-Id: Ia52b318b54878e775d433ac151c7d67aa4824abf
* Clean .art files as well as .oat files.Elliott Hughes2011-12-081-0/+4
| | | | | | | The failure if you have a stale boot.art lying around and don't specify -Ximage is deeply impenetrable. Change-Id: I32ae1efccdcc5ab298384ecb764e64657679a37b
* Add --image-classes to dex2oatBrian Carlstrom2011-11-291-1/+1
| | | | Change-Id: Ia88f9d302e0f9cd72be2199ee46d212d99864c67
* Update APK list post-mergeBrian Carlstrom2011-11-101-4/+8
| | | | Change-Id: I185fd54c700d05942888fa99843d174b39acae30
* Replace persist.sys.strictmode.disabled with persist.sys.strictmode.disableBrian Carlstrom2011-11-091-3/+3
| | | | Change-Id: Ibdb6af410b5b0b1b74480181f84c9d3db0f2c6a0
* Host precompilation of apks to speed boot.Ian Rogers2011-11-031-0/+100
| | | | Change-Id: Iad0fb1243e5736b3fb17e004395a1183d67e4ff3
* Make it easier to run an optimized build, turn the GC timings back on, and ↵Elliott Hughes2011-10-311-4/+7
| | | | | | | | | | | | remove some unnecessary code. The Class* field is a regular instance field now, so no need to scan it twice. We do our null checking in ScanObject, so we don't need to duplicate the checks in each child. Also count the number of class, array, and other objects we scan. Change-Id: I9034708d5e0e1edffaccf3cad4785c5fccf3b38e
* Add zygote-art and zygote-art-target-sync (non debug build targets)Brian Carlstrom2011-10-271-8/+25
| | | | Change-Id: I13b9c57a1f87f5725a7afac7bcc1dce81d86ddad
* Implement ThreadContinuing and detach the JDWP thread before it exits.Elliott Hughes2011-10-251-0/+1
| | | | | | This fixes Calculator. Change-Id: Ic38e234a91469e9694e21bbf1507912b542bf908
* Add ThreadStress test to try and exercise corner casesBrian Carlstrom2011-10-211-2/+0
| | | | Change-Id: I8d151e9ba935b8c76406483c6c276cc26896aabf
* Fix cpplint's whitespace warnings.Elliott Hughes2011-10-171-1/+1
| | | | Change-Id: I16b69d773e59b49e8e30227b5aa5cb1959a8930f
* ClassLinker changesBrian Carlstrom2011-10-171-0/+1
| | | | | | | - Add ClassLinker::LockOwner for SignalCatcher - ClassLinker::ResolveMethod now sets CodeAndDirectMethod when code is available Change-Id: I404b80d1994808e018d00e0b30e8ba4f9d08fecc
* Add missing 'explicit's on single-argument constructors.Elliott Hughes2011-10-171-1/+3
| | | | Change-Id: I1494df6e74ec16238971fb4346ba184eb61c37ab
* Disable StrictMode when booting with artBrian Carlstrom2011-10-161-0/+3
| | | | Change-Id: I2a19136ec960399f2d492d010e74f4d05817af86
* Add internal compiler option to control defaulting of boot.artBrian Carlstrom2011-10-161-2/+2
| | | | Change-Id: I92a46cbd25cfc51c5c5d16fd8ae24c50195bf1d4
* Add oatopt drop in replacement for dexoptBrian Carlstrom2011-10-141-1/+6
| | | | Change-Id: I094375230af2d9a88e30245b390cac71be7b50f4
* Implement DexFile_getClassNameListBrian Carlstrom2011-10-131-3/+3
| | | | Change-Id: I9b48628e338a5346bc3ac21f3469e4e3d224a956
* Add support for oat files in /data/art-cacheBrian Carlstrom2011-10-131-9/+17
| | | | | | Also implement Zygote_nativeForkAndSpecialize Change-Id: I7dfb257b2897279a4cdac4b1ca194c1ac84eb047
* Move art content to /dataBrian Carlstrom2011-10-121-20/+20
| | | | | | | oat tests, gtests, and run-test content to /data/art-test boot.oat and boot.art to /data/art-cache Change-Id: I68f9f6798bc4ea0596642ff5624f3e77dec6ccbe
* Fix Object::IsSoftReferenceBrian Carlstrom2011-10-121-9/+26
| | | | | | | | | | | | | Also changed -Xzygote to default boot.art and log arguments Finally Makefile work: - separate out test dependencies - changed zygote with art to work by replacing libdvm with libart[d] - changed Makefile defines to name and error check their arguments This was to fix bug in generating ART_TARGET_EXECUTABLES where we used $(1) when we meant $(3) Change-Id: I7ef6008eff1fe99b59d151b6793e8fd8ea5304d4
* Disable zygote preloadingBrian Carlstrom2011-10-111-2/+2
| | | | Change-Id: I2b0cfdb8f0a66c1bac92f4c67a4be06fa78b6d74
* Add targets for switching zygote runtimeBrian Carlstrom2011-10-111-0/+24
| | | | | | | "mm zygote-oat-process" will switch to art. "mm zygote-app-process" will switch back to dalvik. Change-Id: I32a6b5700f08a863a22db2b29876f31f4ab8d364
* Setup Thread's context ClassLoader and add image DexFiles to ClassLinker's ↵Brian Carlstrom2011-10-101-2/+2
| | | | | | boot classpath Change-Id: I84337c69ff743c58be9e7125d17fcccb514614ef
* Working ClassLoaderBrian Carlstrom2011-10-101-1/+1
| | | | Change-Id: Ia1122165e47f846a1d4506111849f830d9f14c1b
* Update oat_process for recent command line argument changesBrian Carlstrom2011-10-041-2/+2
| | | | Change-Id: I5d6547905947b301eff0a02c48cba2d9f873d49e
* Simplify command line argumentsBrian Carlstrom2011-10-041-6/+6
| | | | Change-Id: I9d6902b0c447fd8fbe5600fd36139791b2ceefb7
* Separate oat from imageBrian Carlstrom2011-10-031-8/+17
| | | | Change-Id: If2abdb99826ead14e3465d90ba2acffd89709389
* Kill oat_process before rerunningBrian Carlstrom2011-09-271-0/+1
| | | | Change-Id: Ibc73c2435bd3e7925eaac535759f4adf1d06901d
* Fixes for "null instanceof" and class initializationBrian Carlstrom2011-09-271-1/+1
| | | | | | | | | | | | | | | | | First issue was that the codegen seemed to expect r0 to contain 0 for a false result in the null object case. This is a quick fix to make that true. Given that the code is doing the work of a null check and pulling out the object's class, the code should probably just pass the class to the helper function, making this a case of IsAssignableFrom, not instanceof. Second issues were related to missing EnsureInitialized calls in two different code paths, one coming from reflection, one coming from managed code. New Class::AllocObject assert should help keep us out of trouble in the future in this area, although perhaps Heap::AllocObject should have a check as well. Change-Id: Ib7975b6457481c1ac85135d38f42c6061e6443a0
* Fix bug in HasSameMethodDescriptorClass on return typesBrian Carlstrom2011-09-261-7/+13
| | | | | | | | | Also included: - Make oatdump tolerant of missing code - Include class status in oatdump output - Additional oat_process support for testing Change-Id: Id1b8d5662ca061f2dc22b2b087b5a5945e54b91c
* Assorted fixes for running frameworks appsBrian Carlstrom2011-09-261-5/+19
| | | | | | | | | | | | - Adding Heap::target_utililization_ - Convert ClassNotFoundError to ClassNotFoundException in Class.forName - Finish String::GetHashCode - Changed Runtime.gc to unimplemented - Disable preload simulation in oat_process - Empty native placeholder for org.apache.harmony.dalvik.ddmc.DdmServer - Bonus: Fix problem with reflective invocation of constructors and private methods Change-Id: If11b273e2f82e8e0fa7161a756098514e1156a19
* Tolerant compilation of classes with missing super classesBrian Carlstrom2011-09-241-1/+1
| | | | Change-Id: If64f25ae36204ab2ea5499f27601696dea9d4016
* Add support for oat_process for use as a wrap.* launcherBrian Carlstrom2011-09-231-7/+47
| | | | | | Add test support for running Calculator Change-Id: I7ec0681febe6f6c836452e8afb4c12a2ebfa0ea8
* Adding oat_processBrian Carlstrom2011-09-211-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | - Added oat_process, a version of app_process use to launch frameworks apps - Added liboat_runtime, a version of libandroid_runtime that uses art instead of dvm This is just a special makefile, frameworks/base/core/jni code is used for source - Added support for build a boot.oat with the full BOOTCLASSPATH The older smaller boat.oat is now core.oat - Added mem_map code for making sure a requested memory region is available Moved mem_map code to cc file to make easier to debug with smaller rebuild - Moved oat base address to 0x6000000 as a work around to host addres conflict - Added -Xms and -Xmx options to dex2oat to allow build specific memory options - Fixed miranda method initialization problem found compiling full bootclasspath - Made compiler.cc tolerant of verification errors found compiling full bootclasspath - Bumped arena block alloc warning to avoid noise when compiling full bootclasspath - Marked implicit GC unimplemented to fail fast - Added --output argument to oatdump - Made many object asserts tolerate access in IsErroneous state now that verifier is failing validation of some classes during compilation - Made runtime tolerate unknown access as short term solution for oat_process - Workaround SSA issue to restore full bootclasspath compilation - Added test-art-target-processs to excercise oat_process with "am" "am" found bug where class_linker was using Method::GetClass and not ::GetDeclaringClass Change-Id: I1a645a142b163e06bab9e72eb094ae1f1dbfbd97