aboutsummaryrefslogtreecommitdiffstats
path: root/testapps
Commit message (Collapse)AuthorAgeFilesLines
* Change the JavaGenerator to handle output and dependencies.Xavier Ducrohet2011-01-311-2/+1
| | | | | | | | | | | | | | | | | | | Previously, the generator only handled a list of files to compile and a list of files that were removed. Now the Generator provides all that needed to do incremental builders with known state. On top of providing a default deltavisitor it handles file dependency and list of output files. The aidl generator was updated to use this, and the renderscript generator will use the same mechanism. Also fixed the abortOnBadSetup which through CoreException which did nothing to stop later builders (unlike my comments said) and poluted the workspace log with worthless messages. Change-Id: Ib954beb9674f1387c022f926388adb8faf6cdac2
* Refactor aidl handling in its own class.Xavier Ducrohet2011-01-3013-0/+264
| | | | | | | It extends a new base class that will serve as a base class for the one handling renderscript files. Change-Id: Ibef0c4b9a792fe52bf7b70bf5d24f76a15cb65c9
* ADT: Support class folders during build.Xavier Ducrohet2011-01-2510-0/+111
| | | | Change-Id: If1d6840082f96dd98c8be0658c6ce157b4801bd3
* Update test project with java dependency.Xavier Ducrohet2011-01-162-3/+35
| | | | | | | | The android project now has a custom view that depends on a class in the referenced Java project. Change-Id: I59db9dd3b771731e8bd30f9da8072755eee3ce96
* Improve test apps to make them easier to use.Xavier Ducrohet2010-12-0712-27/+47
| | | | | | | Each app now properly reference its name in layout output and in launcher activities. Change-Id: If404b61afc4eb193b01c2b4f8ef44194f5726d93
* Fix test apps using a libraryXavier Ducrohet2010-12-072-1/+5
| | | | Change-Id: I173e7728db86f01d15067555b936e90c4687347d
* New test project for Eclipse: referencing java projects.Xavier Ducrohet2010-12-0613-0/+140
| | | | Change-Id: I4ac4f89ad4c40c0073d7c24662f5a8e8740b696a
* Update test apps and bundle them in the meta sdk.Xavier Ducrohet2010-12-0622-22/+208
| | | | | | | | - make it so that layout display something about the project, and possibly the result of calling out to class coming from jar files. - make the activity names on the launcher to be the name of the projects. Change-Id: I318255c3284337be28220df509630cfff4eae38b
* Use proguard for release builds through Ant.Xavier Ducrohet2010-09-2424-2/+402
| | | | | | | | | | | | | | | This is only activated if default.properties contains a property "proguard.config" with the name of a proguard config file. Some clean-up in the Ant tasks and in the name of the properties used by the rules and the custom tasks to make them clearer. Added a new test app with a project using a jar file as well as a library using a jar file. Change-Id: Ia8f4d873025993d454c0a484e61d47ae679ea79c
* New extension points for DDMSXavier Ducrohet2010-09-071-1/+1
| | | | | | | | | | debugger connector is used by the "debug running app" button in the device list view. source revealer is used by the thread panel when double clicking on an entry of the stack trace. Change-Id: Ida07617a24d37f1d769d86859fd35d5bb19f5fd2
* Simplify icons in test apps.Xavier Ducrohet2010-09-026-0/+0
| | | | Change-Id: I9dad8dc30e0fa2499c9b003abbe08d91dc4041ab
* New test projects.Xavier Ducrohet2010-09-0220-10/+300
| | | | | | | Also fixed some trailing space in templates and automatically generated files. Change-Id: I2ed5f0067dff4c62b53857b7e0a2dea5dd9a101c
* ADT: Make release and debug builds really different.Xavier Ducrohet2010-09-0114-0/+209
Release export should not be debug builds that are stripped of their signature and (optionnaly) resigned. Instead they should actually build the apk in "release" mode. Refactor PostCompilerHelper to be easier to use for export feature (moved all error handling into the actual IncrementalBuilder since we don't want the helper to put error/warning marker during release export). Update the API of ApkBuilder and PostCompilerHelper to deal better with signing key: - option to package with a "sign with debug" flag. - new option to package/sign with given keys. Debug build (through incremental builder) use the new aapt option --debug-mode that automatically insert debuggable=true in the manifest. This allows for the same source code to generate debug and release builds. Currently, only the "export unsigned release apk" action use the new "release" build. Need to update the export wizard. Also need to add support for this in Ant. New folder in sdk.git/testapps for test projects to be used in upcoming automated build tests. Simple "basicProject" to start with. Change-Id: I3041312bc817153603656de2aa355f8fcaf00b5b