aboutsummaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* SDK: update product sdk.mkRaphael Moll2012-04-241-27/+12
| | | | | | | | | | | The target/product/sdk.mk was split out of build.git. Now this moves a few dependencies that were listed into the sdk.git version of this file by mistake. Also sort the entries to be more readable. Requires dev.git change I652bca2b03 to be submitted first. Change-Id: I2c013b3ba04a75d72fd3455d05aaade232d6926f
* Merge changes I4f89b469,I33b49c9f,I425e7b75Xavier Ducrohet2012-04-231-1/+2
|\ | | | | | | | | | | | | * changes: Revert the disable flag of the manifest merger to be enable instead. Minor fixes in Ant. Manifest merger in Ant build.
| * Manifest merger in Ant build.Xavier Ducrohet2012-04-201-1/+2
| | | | | | | | | | | | | | This merges the manifest of the libraries into the application's manifest. Change-Id: I425e7b75f71d3f50c6422cdb62bb5ec6811ce99d
* | SDK: build 'monitor' tool and package it in the SDK.Raphael Moll2012-04-236-15/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed with Siva to use the 'ant' builder from Eclipse's baseBuilder jars. Changed to use: - the new external/eclipse-basebuilder for the basebuilder jars. - the rcp deltapack, located prebuilts/eclipse. - monitor scripts are now in sdk/monitor. - configuration is now in out/host/eclipse/rcp/build/configuration and doesn't change any existing repos. Requires change I7ab027ff6 from build.git Change-Id: I72fff09231fc9b3031c10eb42ff821c55af9b5d5
* | Define the Windows SDK pre-requisite module list.Raphael Moll2012-04-231-0/+6
| | | | | | | | Change-Id: I08fc98f2e1046ec1f115fc9c0371d1b07eb47c97
* | Split target/product/sdk.mk into sdk+dev.gitRaphael Moll2012-04-201-0/+73
|/ | | | | | Depends on change I790df85ea8 from build.git and I6bbc6644a from dev.git Change-Id: Id270eba64a1836accaf8a898c7870077d261d833
* Move emulator GLES from development.git to sdk.gitJesse Hall2012-04-161-0/+1
| | | | | | | | | | | | | | | The emulator GLES support has two interfaces: a host shared library interface used by QEMU, and a protocol between the platform and the host. The host library interface is not versioned; QEMU and the GLES renderer must match. The protocol on the other hand must be backwards compatible: a new GLES renderer must support an older platform image. Thus for branching purposes it makes more sense to put the GLES renderer in sdk.git, which is branched along with qemu.git for SDK releases. Platform images will be built against the protocol version in the platform branch of sdk.git. Change-Id: I2c3bce627ecfd0a4b3e688d1839fe10755a21e58
* SDK/Cygwin: add propertysheet to things we can build on windowsRaphael Moll2012-04-101-0/+1
| | | | Change-Id: I39bf14bd5c12e75d265ca5a21824b2a633939dbc
* Switch libraries from Eclipse 3.4 to Eclipse 3.6.2Tor Norbye2012-04-051-3/+3
| | | | | | This reverts commit f3d3fa912a10e20cadae813b80a66e538f77131d. Change-Id: I72e28e21db3c7f959040c1fbb9df14e4d85d0df4
* Move stuff from prebuilt to prebuilts/toolsXavier Ducrohet2012-04-033-0/+23
| | | | | | | Also moved some atree copy from development to here where they belong. Change-Id: Ic08bed36b7de833e767d972156b2b9b7bf249aa7
* Fix build. Broken makefile.Raphael Moll2012-03-231-3/+1
| | | | Change-Id: I8734d98497330e0548f910e47502294eec9822aa
* Fix build: Disable monitor whilst we figure out to make this build on our ↵Raphael Moll2012-03-231-1/+4
| | | | | | | | | build servers I disabled it in atree in 42abcff24ee6cb9afa5b70479a6141a3dec7c2e9 but I forgot a reference to monitor left in the windows sdk part. Change-Id: Id853fed7e849dfe9cfb41f2b99e9669191786d6f
* Fix build: disable monitor RCP in sdk.Raphael Moll2012-03-233-9/+12
| | | | Change-Id: Icd7081c1b6285b76e3e08307b125b6dbb546cfcb
* Build Monitor RCP as part of SDK (Mac, Linux and Win)Raphael Moll2012-03-216-1/+65
| | | | | | | | | | | | | | | | This adds a new SDK/tools/monitor[.bat] wrapper as well as SDK/tools/lib/monitor-x86[_64]/ directories that contain the actual RCP application. The monitor shell wrappers + bat have not been properly tested yet. The goal of this CL is just to build the RCP. In a following CL we'll adjust the wrapper and the actual binary location in the SDK. Cross-dependency: Requires build.git change Ifb31e2e3. Change-Id: I7afbd63badfb81fd5d3d899de672e02525a49bc2
* Properly disconnect the sdk controller when needed.Xavier Ducrohet2012-03-061-3/+1
| | | | | | | | This is a temporary fix before we move to a full service. Also package the MT controller app in the SDK. Change-Id: Ib8a11f3b69d5545c9f428cbf65b27d903699e7b8
* Merge "Don't copy the whole SdkController into the SDK."Xavier Ducrohet2012-02-221-1/+3
|\
| * Don't copy the whole SdkController into the SDK.Xavier Ducrohet2012-02-221-1/+3
| | | | | | | | | | | | We don't want the multi-touch part in there yet. Change-Id: I4b7d214dd42b124cac592981cf71aedd408966ec
* | Split ProGuard file into two halvesTor Norbye2012-02-211-1/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset splits the proguard.cfg into two halves: (1) All the general Android settings go into $ANDROID_SDK/proguard/proguard-android.txt. This defines shrinking rules like keep custom views, etc. The crucial point is that this information is maintained and updated by Tools updates, so whenever new APIs are added to Android, or whenever bugs are found in the configuration such as flags needed to work with Dalvik, we can make the updates - we don't have old snapshots living on in projects. (2) Any project specific settings go to proguard-project.txt in the project. (3) The proguard.config property in project.properties now refers to a *path* of configuration files, which are all passed to ProGuard in the given order. The code which processes this setting will substitute android.sdk.home and user.home variables, so the path does not have to be hardcoded to point to the project-android.txt file. The default project templates have been updated to include a commented out configuration setting up proguard as described above. The default proguard file name was changed from proguard.cfg to proguard-project.txt such that it can be directly opened in Eclipse and to make it clear it's an editable text file. Lint was updated to find the Proguard file via the proguard.config property as well as via the old and new default names for projects not enabled with ProGuard. A subsequent CL will add a lint check which identifies projects containing the old setup (full local configuration) and offer to replace it with the new setup. Change-Id: I44b4c97a160114c2382f02f843c95486a0dc9d6b
* Fix lombok jar location nameTor Norbye2012-02-171-1/+1
| | | | Change-Id: I4881ffe726e72549b5a782ac648ae8dcbec19435
* Fix Windows SDK build, add missing dependencyRaphael Moll2012-02-061-0/+1
| | | | Change-Id: Ic632ec6d526b7913edf90fcca3b8409ebc2ff31a
* SDK: add find_lock.exe to atreeRaphael Moll2012-02-061-0/+2
| | | | Change-Id: If6ca019f644ed3d33d5ce7ceac68686430fa13c7
* Win SDK: find_lock.exeRaphael2012-02-031-0/+1
| | | | | | | | | | | | | This small win32 app takes a path as argument and outputs the names of the processes that are holding handles that overlap that path. The goal is to use this in the SDK Manager to identify which apps are locking the SDK folder and preventing updates. Change-Id: I4fbf66a53410fba0c5f9ab51dac10d267a7c21a7
* Merge "Support annotations for backward compatibility."Xavier Ducrohet2012-01-272-0/+4
|\
| * Support annotations for backward compatibility.Xavier Ducrohet2012-01-272-0/+4
| | | | | | | | Change-Id: I7f592876b02c8859781a3b52e422dbebfa92ae8d
* | Win SDK: fix build; build find_java for tools.atreeRaphael Moll2012-01-272-5/+9
|/ | | | Change-Id: I400ea2af6f749c1c4b2048a8cb4f7e2f173b5cf4
* SDK: use new find_java.exe in SDK bat filesRaphael2012-01-261-3/+2
| | | | Change-Id: I9f3fc572c3af6d8457a75cebae1aa6a850511afc
* Projects whitelisted for Windows SDK compilation.Raphael Moll2012-01-261-0/+62
| | | | | | | This replaces the list maintained in build/core/main.mk There's a similar change in development.git at Change Ie6f728bee Change-Id: Ifa8111dbae177258e7d6c7f8058ee1d6edbdc8ce
* SDK: remove find_java.exe from SDK.Raphael Moll2012-01-251-1/+2
| | | | | | That's just temporary till I fix the build. Change-Id: I27c5a9556265467d5317f1775703d7401ed1e079
* Windows: "find_java" exe and lib for android.batRaphael2012-01-251-1/+1
| | | | | | | | | | | | | | | | | | This adds a "find_java.exe" that will be packages in SDK/tools/lib. It will be used by android.bat and the other launchers to locate the best version of java to use for our tools (currently we have a find_java.bat that uses DOS commands to achieve something similar but more limited). In addition this creates a static "findjavalib" that is used by the NSIS installer to locate java and get its version (to complain in case we only find a Java 1.4 or lesser). The goal is for the installer to use the same logic as the tools will use to locate the java binary. Change-Id: Ic2efb388135087bab9687c3332882047fd041b1c
* SDK Windows: more ways to find java.Raphael2012-01-232-4/+1
| | | | | | | | | | | | | Also properly redirect command-line output to the parent shell console. This is experimental. This CL removes "android.exe" from the Windows tools and only keeps android.bat. However in a next CL android.bat will be changed to use 'find_java' to locate the best Java exe around (this is currently done in a bat script) Change-Id: I6e5485fdf59fde9838cf929ff333e1c611ea7bb4
* Fix build: disable tests for manifest-merger.Raphael Moll2012-01-151-2/+3
| | | | Change-Id: Ia36cbcc9b1a8d8ac29a54d610310b1d3e7b63223
* Merge "SDK: Enable tests for manifest-merger."Raphael Moll2012-01-131-7/+10
|\
| * SDK: Enable tests for manifest-merger.Raphael Moll2012-01-121-7/+10
| | | | | | | | Change-Id: I48f74d5d3ff5237388915cb3823be5168903d417
* | Upgrade bundled Proguard to version 4.7Tor Norbye2012-01-112-14/+14
|/ | | | | | | | | | | This changeset switches the build script from picking up the platform version of Proguard (in external/) to the new Proguard 4.7 library in the prebuilts/tools repository. (We now also include examples/ and docs/, but exclude src/ and build/ from the 4.7 distribution.) Change-Id: I6fd32cb568252bc80e85ddb7ae821bc02c22711a
* Lint Java source supportTor Norbye2012-01-091-0/+1
| | | | | | | | | | | | | | | | | This changeset adds Java AST support to Lint. There are new interfaces for Java parser and specialized Java detectors. Java detectors can either visit a full parse tree, or they can register interest in specific methods, or Android resource references, or specific AST node types -- or a combination of these. They will then be invoked during an AST visit with the relevant info. This changeset also rewrites the existing detectors that were using String-based pattern checking on Java files to using real AST traversal instead (and it removes the custom Eclipse-specific unused resource detector since the plain one now does the same AST-based analysis that the Eclipse one did.) Change-Id: I4d85f8b785bf41a88dbb29e7017b9c0f588880bc
* Add the Guava library to the toolsTor Norbye2011-12-051-0/+1
| | | | | | | | | | | | This changeset adds the Guava library to ADT and lint. (It is also a prerequisite for the Lombok AST library which is added by a later CL.) This changeset also uses the library in a few simple ways: It replaces some custom I/O and collections code with calls into the equivalent Guava methods, and it also adds the @Beta annotation on the various "API" classes which are not yet stable. Change-Id: I2f50febfa075c32818404e888578a2e1e447d408
* Add Java Classfile supportTor Norbye2011-12-051-0/+2
| | | | Change-Id: Ifcc1d88dabb07dc05b2e5c934743ad52f9b6dc1d
* SDK: temporarily package both android.bat and android.exeRaphael Moll2011-12-011-2/+2
| | | | | | This is temporary as I continue working on android.exe Change-Id: I60d5206455798e70468c66930c6f3723e18c0198
* Add the SdkController app to the tools component.Xavier Ducrohet2011-11-291-0/+4
| | | | | | (cherry picked from commit e4a6ff53047bba14cf1f6770f20f6d9844ec9817) Change-Id: I01d4d3749b9d724e6db07739f29b8cf2138403bb
* SDK: Switch back to android.bat.Raphael Moll2011-11-281-1/+3
| | | | | | | android.exe is not ready for usage yet. The local sdk parser can still detect both. Change-Id: I597f9b5553628b55703aa12282b2808c0b6d1fb1
* SDK: Switch from android.bat to android.exeRaphael2011-11-142-2/+3
| | | | Change-Id: I549340bdaaf78d6d314992ad2b91e9b45f97d2c2
* Remove uix from the sdk build as it was part of layoutopt.Xavier Ducrohet2011-10-261-1/+0
| | | | Change-Id: I802058210b60e20c9cde1cfeda5dc66d273508b5
* Merge "Remove layoutopt; replaced by the more generic "lint" tool."Tor Norbye2011-10-262-6/+0
|\
| * Remove layoutopt; replaced by the more generic "lint" tool.Tor Norbye2011-10-262-6/+0
| | | | | | | | Change-Id: Ia6dc357106aa49fa5c27c6283eac62c4cc19967b
* | Fix ClassNotFoundException on MonkeyRunner startup.Bill Napier2011-10-211-0/+1
|/ | | | Change-Id: Id81b52ade324fde1c7316b522d482bee83ede840
* Static analyzerTor Norbye2011-10-202-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset adds a static analyzer, "lint", which looks for various potential bugs in Android projects. It has 3 parts: (1) A library which performs the actual static checks. This library is standalone: it does not depend on Eclipse. (Technically the library has two halves: an API half, for use by third party developers to write additional detectors, and an actual implementation of a bunch of built-in checks.) (2) A command line driver, "lint", which runs the static checks and emits any warnings to standard out. This can be thought of as a replacement for the layoutopt tool. (3) Eclipse integration. Lint errors are added to the Problems view as well as shown as editor annotations. There's an options panel for controlling which detectors are enabled. There's also a quickfix for disabling errors directly within the editor and a marker resolution for disabling them via the Problems view. The static checks are run on an XML file right after it has been saved. (This is optional via a toggle on the same preference page as the detector list.) The static checks are also run when you export an APK, and if any fatal errors are found the export is abandoned. (This is also optional via an option). Finally you can run a full lint through the Android Tools menu, and there's also an action to clear all the lint markers there. There's also a new indicator on the layout editor which shows whether there are lint errors on the associated file, and when clicked brings up a dialog listing the specific errors. This changeset also includes a number of checks: * An accessibility detector which warns about images missing contentDescriptions * A drawable selector detector which warns about state lists where not all states are reachable (e.g. it is not the case that only the last item in the list omits a state qualifier) * A detector finding duplicate ids, not just in the current layout but across included layouts (transitively) as well * All the layoutopt ones ported to Java + DOM * Unit tests for the above. The focus here is on getting the infrastructure in place, and it currently focuses on XML resource files and analyzing them efficiently. See the comment in XmlVisitor for details on that. Change-Id: Ic5f5f37d92bfb96ff901b959aaac24db33552ff7
* SDK: fix typo in atreeRaphael Moll2011-10-061-1/+1
| | | | | | it's hprof, not hprov. sigh. Change-Id: I81a5cb107c18a94fa48c5643a57178407693b83c
* Cherrypick 0a6192 from master. do not merge.Xavier Ducrohet2011-09-281-0/+1
| | | | | | Add support to make identity files from the command line. Change-Id: Ieb11a6ac46790f244786a20ede930768946abc91
* Build AVD Manager.exe as part of Windows SDK.Raphael Moll2011-09-192-2/+5
| | | | | | | Also make sure the sdk manager post install will update the AVD Manager as required. Change-Id: I969899adf69f0ed0ddb1ef079451683dd0ce567f
* Specify the full path to atree for the windows.atreeRaphael2011-09-161-1/+2
| | | | | | | | | Somehow the build server doesn't automatically find atree. In a future CL this should be amended to pass the proper OUT_HOST_EXECUTABLE, being careful that it points to the host/linux dir, not the current Windows one. Change-Id: Ibb78a517c33d46454828a5932408108dadbee497