aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* doc change only: update gae python server script (tested)Dirk Dougherty2009-10-211-47/+208
|
* Add save/load for the user-made Layout Devices. (do not merge)Xavier Ducrohet2009-10-161-3/+3
| | | | Also added support for mcc/mnc in the schema.
* Windows SDK: copy SDK Setup.exe at root of SDK.Raphael2009-10-141-0/+4
| | | | | | | | | Also add a source.properties (we'll install it on the vendor/google script part of the script). SDK BUG 2173135 Change-Id: Icb0f22a65ffd819bf7b0f48adbec51cbc1243f71
* Set SDK Platform/Doc to API 5.Raphael2009-10-102-7/+5
|
* Fix ant install when -Dadb.device.arg not provided.Brett Chabot2009-10-091-1/+2
| | | | | | And also add the adb.device.arg support to ant uninstall. BUG 2172690
* Fix "android create project" to properly set name in strings.xmlRaphael2009-10-082-2/+2
| | | | | | | | Layout was wrong too. SDK BUG 2176634 Change-Id: Ibbec1c47037d4a6dd875953c1875daaac4f11106
* Support adb device-targeting arguments in ant scripts.Raphael2009-10-081-0/+6
| | | | | | | | | Example of usage: $ ant install -Dadb.device.arg=-d SDK BUG 2172690 Change-Id: I196441f9aab888b1356b4fc0255842570be5140f
* Load default GLE device profiles from the SDK.Xavier Ducrohet2009-09-301-0/+62
| | | | Change-Id: Ife64397692912f892ec81af8237ac31914830be9
* Replace icon template with new style and multiple densities.Xavier Ducrohet2009-09-304-1/+1
| | | | | | | | | | | | | | | | | | The icon in the templates of ADT was medium density only. I added new densities (high and low), as well as updated to the new Eclair style. Also added a version for Ant project. Updated ADT and sdklib to deal with creating new projects with all 3 icons. In case of Ant project, this is done only if the icons are present in the target platforms. For ADT, this is done only if the project target donut or later. Older project still have only one icon located in drawable/ Change-Id: I77069a1e4902ef395d490526aabc40a26e33d4ca
* Update the project creation (from the command line):Xavier Ducrohet2009-09-277-723/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Make the distinction between the activity class name, manifest entry, fully-qualified name, and tested activity for the template place-holders. Test activity names now directly contain the full name (including the "Test" prefix) instead of the template adding it. This is required by the new 'create test-project' - New action: create test-project This requires a path to the main project. It reads the package, activity name and target from the main project. The activity is read from the manifest and can be in a more complex form than previously expected (for instance .subpackage.MyClass, instead of simply MyClass). This is what required the re-work the activity related template place holders. Options: -m --main Location path of the project to test, relative to the new project [required] -n --name Project name -p --path Location path of the new project [required] Example: for 2 projects MyProject and MyTests located in the same folder, calling from their parent folder. android create test-project -p MyTests -m ../MyProject - build.properties now only gets application.package for older targets as the new one get it directly from XPath - Remove AndroidXPathFactory from the anttasks project as it was already in sdklib which is a dependency. - Removed IntelliJ templates for the SDK. We haven't supported them for a while, and now that IntelliJ has built-in support for Android, it's not that useful anymore. While there is the command line parameters for 'update test-project' it's not yet implemented. Change-Id: I663d4cb7f439bb2abfe866f893e58f4d13aff975
* Add info about location of the coverage reportPiotr Gurgul2009-09-241-0/+1
| | | | | | Target 'coverage' outputs now path to the generated coverage report. Change-Id: I442c0ff002c5d269cf1f573674105691df9caec5
* Add tested.project.dir to classpath for install and debugPiotr Gurgul2009-09-242-13/+16
| | | | | | Now buildfile recognizes whether targets 'debug' or 'install' are being run for an ordinary or test project and for the test projects classpath is extended to enclose the tested project. Tested project is being compiled if necessary.
* Add --no-locals to dx when dexing instrumented classesPiotr Gurgul2009-09-231-0/+5
| | | | | Emma instrumentation modifies .class files in that way they cannot be processed by dx without --no-locals option.
* Merge change 26521 into eclairAndroid (Google) Code Review2009-09-221-2/+1
|\ | | | | | | | | * changes: Force update to the next plugin.
| * Force update to the next plugin.Xavier Ducrohet2009-09-221-2/+1
| | | | | | | | Change-Id: I2f1042a087ca6227396a41d23eed26525fbbbbf6
* | Add legacy support for application.package propertyPiotr Gurgul2009-09-222-8/+8
|/ | | | | | | | | | application.package in android_rules.xml and android_test_rules.xml has been replaced by manifest.package which value is taken from AndroidManifest.xml. This is because old versions of build.properties contain already application.package property which has precedence over the extracted one and overrides it. Change-Id: I909e145926169922ec6ec0e179ad88c413aa85b2
* Add automatic application package extraction from manifestPiotr Gurgul2009-09-212-3/+13
| | | | | | | | Automatic extraction of the application.package property has been added leveradging xpath ant task. This reduces redundancy, removes hardcoded application.package and solves bug with uninstalling test application package. In order to function properly needs removing application.package from build.properties file.
* Increase reusability of zipalign macrodefPiotr Gurgul2009-09-211-15/+14
| | | | | | | debug-helper macro has been renamed to zipalign-helper to reflect better its function. Two parameters for input and output packages have been introduced. Macro has been additionally leveradged in 'release' target where zipalign was previously called directly, duplicating the code.
* Add global verbosity control for SDK ant targetsPiotr Gurgul2009-09-212-7/+29
| | | | | | The user-configurable property 'verbose' has been introduced. It is set by default to 'false' and switching in on enables verbose mode for all the intermediate steps for a given target.
* Specify emma dump file location on the device explicitlyPiotr Gurgul2009-09-161-6/+14
| | | | | | | This is to avoid using default location for the emma dump file (coverage.ec) which is generated on the device. Pointing out the custom location (which for now is the same as the default one) is more straightforward and will be important if the default location changes in the future.
* Clean up temporary files after generating coverage reportPiotr Gurgul2009-09-161-0/+4
| | | | | | | After generating coverage report instrumentation.dir and files coverage.ec and coverage.em are being deleted. As Emma treats both files incrementally, running 'ant coverage' in the project with these files already existing may produce unexpected results.
* Replace -no-sign and -debug-sign with macrodef attributePiotr Gurgul2009-09-151-18/+12
| | | | | | Instead of setting property indicating if package should be signed with debug key in separate targets, this information is being passed as a package-helper macrodef parameter.
* Reorganize android_rules and android_test_rulesPiotr Gurgul2009-09-152-138/+175
| | | | | | Instrumentation-related targets have been moved from android_test_rules to android_rules for better consistency. Chain of target dependencies has been modified in order to make it more natural.
* Merge change 23594 into eclairAndroid (Google) Code Review2009-09-093-65/+239
|\ | | | | | | | | * changes: Add ant-based code coverage support to Android SDK
| * Add ant-based code coverage support to Android SDKPiotr Gurgul2009-09-093-65/+239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Target 'run-tests' launches all the unit tests against the tested project. Target 'coverage' emma-instruments the tested project's classes, runs the tests against instrumented classes, collects code coverage data and extracts it to human-readable form as report.html. android_test_rules.xml contain additional rules for test projects. Test projects are auto-recognized by presence of the tested.project.dir property, which will be auto-generated for tests projects. Temporarily, please add this property manually to the build.properties file. Current version is mainly tested with default, android generated test projects. This version includes also fixing relative to absolute paths for properties which are most likely to be changed by user in external property file.
* | Update revision of the tools source.properties file.Xavier Ducrohet2009-09-041-1/+1
|/ | | | Change-Id: I02d257baf1e28ee02db262ba4772645002ea0020
* Make ApkBuilder create filenames supported by older rules.Xavier Ducrohet2009-08-261-15/+5
| | | | | | | | | | | | | | 'ant install' must know the debug apk filename so newer naming scheme breaks on older rule files (1.5 and earlier). The fix is to check for the presence of the property naming the debug, signed, unaligned package. If the property is present, then we use the new naming scheme ({base}[-{config}]-debug-unaligned.apk), else we use the old one ({base}-[-{config}]-debug.apk). Also merge the install/reinstall targets, since 'adb install -r <file>' works even if the apk was not yet installed. Change-Id: Id0670610a6539a3f48c955756955f950039c3cd0
* am 3a92963b: Merge change 22652 into donutXavier Ducrohet2009-08-264-0/+16
|\ | | | | | | | | | | | | Merge commit '3a92963bf3865330e89b3e7a66b66dd9cfc8792b' into eclair * commit '3a92963bf3865330e89b3e7a66b66dd9cfc8792b': Cleanup SDK packaging: remove alias build files.
| * Merge change 22652 into donutAndroid (Google) Code Review2009-08-264-0/+16
| |\ | | | | | | | | | | | | * changes: Cleanup SDK packaging: remove alias build files.
| | * Cleanup SDK packaging: remove alias build files.Xavier Ducrohet2009-08-264-0/+16
| | |
| * | Make ApkBuilder create filenames supported by older rules.Xavier Ducrohet2009-08-261-14/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | 'ant install' must know the debug apk filename so newer naming scheme breaks on older rule files (1.5 and earlier). The fix is to check for the presence of the property naming the debug, signed, unaligned package. If the property is present, then we use the new naming scheme ({base}[-{config}]-debug-unaligned.apk), else we use the old one ({base}-[-{config}]-debug.apk). Also merge the install/reinstall targets, since 'adb install -r <file>' works even if the apk was not yet installed. DO NOT MERGE
* | Ant clean target addedPiotr Gurgul2009-08-251-2/+8
| | | | | | | | Removes output files created by other targets.
* | Alias rules properties names updatePiotr Gurgul2009-08-252-16/+16
| | | | | | | | | | | | | | | | android-tools change to android.tools.dir sdk-folder to sdk.dir resource-dir to resource.dir out-package to out.package Some minor style changes introduced.
* | Ant properties names changedPiotr Gurgul2009-08-242-34/+34
| | | | | | | | | | | | | | | | | | | | | | application-package to application.package sdk-location to sdk.dir android-jar to android.jar android-aidl to android.aidl in order to make their names compliant with the ant standards and rest of the property names. Properties names in alias rules deliberately ommited in this CL. Some minor style changes introduced.
* | Updated build.xml templatePiotr Gurgul2009-08-221-9/+9
| | | | | | | | | | build.template file has been updated to make it up-to-date with new android_rules.xml file. Besides, some minor style changes have been introduced.
* | Refactoring of android_rules.xml filePiotr Gurgul2009-08-221-111/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a new CL because of merge conflict in the old one. Naming changed to 'property.name' style for property names. Property 'value' attributes changed to 'location' for props containing location. Suffix '.dir' added to properties' names indicating directories. '-description' prefix added to intermediate/internal targets. '*.location' properties removed, as 'location' attribute should take care of full paths, adding $basedir implicitly, so hopefully there is no need to define them explicitly. External property names (taken from other files or hardcoded somewhere) stayed untouched in this CL. Some minor improvements to comments in order to make them more consistent.
* | am e95a86cf: Merge change 22346 into donutXavier Ducrohet2009-08-221-0/+3
|\ \ | |/ | | | | | | | | | | Merge commit 'e95a86cfec18836ddbff149690a13766bfc9ada3' into eclair * commit 'e95a86cfec18836ddbff149690a13766bfc9ada3': Fix target for ApiDemos (API is now 4)
| * Fix target for ApiDemos (API is now 4)Xavier Ducrohet2009-08-211-0/+3
| | | | | | | | Also add some progress output to the ant rules.
* | Update some version number for Eclair SDK.Xavier Ducrohet2009-08-182-3/+6
|/
* Merge change 21211 into donutAndroid (Google) Code Review2009-08-131-19/+69
|\ | | | | | | | | * changes: Make the Ant script sign and zipalign release builds.
| * Make the Ant script sign and zipalign release builds.Xavier Ducrohet2009-08-131-19/+69
| | | | | | | | | | It will also align debug builds. BUG: 2052744
* | Update the version of the tools/docs/platformsXavier Ducrohet2009-08-133-8/+6
|/
* On project creation, put the app package in build.propertiesXavier Ducrohet2009-08-131-1/+9
| | | | | | | | This enabled 'ant uninstall' to work. Also, add an error message to the uninstall rules in case the property is not defined. BUG: 2050451
* Merge change 20426 into donutAndroid (Google) Code Review2009-08-071-5/+10
|\ | | | | | | | | * changes: Improve the comments in build.xml to help people customize their build.
| * Improve the comments in build.xml to help people customize their build.Xavier Ducrohet2009-08-071-5/+10
| |
* | Fix template for java test file to not use deprecated class.Xavier Ducrohet2009-08-071-2/+2
|/ | | | bug: http://code.google.com/p/android/issues/detail?id=3350
* Add notice file to platform folder.Xavier Ducrohet2009-07-281-0/+195
|
* Add default version files into the SDK for docs/tools/platforms.Xavier Ducrohet2009-07-233-0/+13
|
* Move ADT/DDMS plug-ins to 0.9.2Xavier Ducrohet2009-07-221-1/+1
|
* Add support for add-on based on preview of platforms.Xavier Ducrohet2009-07-221-1/+1
|