aboutsummaryrefslogtreecommitdiffstats
path: root/testapps/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* Fix "ant test" + misc clean up / reorganization of build.xmlXavier Ducrohet2012-04-161-0/+1
| | | | | | | | | | | | | | | | - Split NewSetupTask in several tasks to make things more flexible. Particularly this allows more targets to get access to the project type (app, lib, test, ...) as it's not so computive intensive. - Fix test project to give them access to the full tested project's classpath. - Fix support for projects that test themselves. - Make sure library projects are instrumented when using the emma target. Change-Id: Ia0c9564eacee2521e7cbd5154b8a85ea287ad4fd
* More changes to the test projects.Xavier Ducrohet2012-03-071-0/+1
| | | | Change-Id: I823bcc19b7de6cea4c985f2c01feccddd6f8022d
* Fix issue when a project and its libraries use the same jar files.Xavier Ducrohet2012-02-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | This is only an issue in Ant because in Eclipse we don't automatically pull the jar files from libraries into the main project (we should somehow now that we have the Library Projects jar container that is dynamic). Right now we do a simple size/sha1 check on libraries that have the same name to figure out if they are the same version. If they are we only use one in the dex step (that notoriously fails to add the same class twice). If they are different we stop the build as it's an error (having two library projects depending on two different versions of a jar file should be an error as we can be sure the two versions are API compatible). For later: not use the file name only? find a way to version the libraries and to have them declare whether they are API compatible with older versions? Also added a hard-coded case for the Android Support Library. If both the v4 and the v13 are detected, use the v13 only as it includes the v4 already. New test apps. Three cases: - main and library projects with duplicate jar files that are identical - main and library projects with duplicate jar files that are NOT identical - main and library projects with v4 and v13 in the dependency list. Change-Id: I3a9abdcbec635d7c9d3228bdd105120f77178b27
* ADT: Make release and debug builds really different.Xavier Ducrohet2010-09-011-0/+3
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