| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
Change-Id: I7f592876b02c8859781a3b52e422dbebfa92ae8d
|
|/
|
|
| |
Change-Id: I400ea2af6f749c1c4b2048a8cb4f7e2f173b5cf4
|
|
|
|
| |
Change-Id: I9f3fc572c3af6d8457a75cebae1aa6a850511afc
|
|
|
|
|
|
|
| |
This replaces the list maintained in build/core/main.mk
There's a similar change in development.git at Change Ie6f728bee
Change-Id: Ifa8111dbae177258e7d6c7f8058ee1d6edbdc8ce
|
|
|
|
|
|
| |
That's just temporary till I fix the build.
Change-Id: I27c5a9556265467d5317f1775703d7401ed1e079
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ia36cbcc9b1a8d8ac29a54d610310b1d3e7b63223
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I48f74d5d3ff5237388915cb3823be5168903d417
|
|/
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ifcc1d88dabb07dc05b2e5c934743ad52f9b6dc1d
|
|
|
|
|
|
| |
This is temporary as I continue working on android.exe
Change-Id: I60d5206455798e70468c66930c6f3723e18c0198
|
|
|
|
|
|
| |
(cherry picked from commit e4a6ff53047bba14cf1f6770f20f6d9844ec9817)
Change-Id: I01d4d3749b9d724e6db07739f29b8cf2138403bb
|
|
|
|
|
|
|
| |
android.exe is not ready for usage yet.
The local sdk parser can still detect both.
Change-Id: I597f9b5553628b55703aa12282b2808c0b6d1fb1
|
|
|
|
| |
Change-Id: I549340bdaaf78d6d314992ad2b91e9b45f97d2c2
|
|
|
|
| |
Change-Id: I802058210b60e20c9cde1cfeda5dc66d273508b5
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ia6dc357106aa49fa5c27c6283eac62c4cc19967b
|
|/
|
|
| |
Change-Id: Id81b52ade324fde1c7316b522d482bee83ede840
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
it's hprof, not hprov. sigh.
Change-Id: I81a5cb107c18a94fa48c5643a57178407693b83c
|
|
|
|
|
|
| |
Add support to make identity files from the command line.
Change-Id: Ieb11a6ac46790f244786a20ede930768946abc91
|
|
|
|
|
|
|
| |
Also make sure the sdk manager post install will
update the AVD Manager as required.
Change-Id: I969899adf69f0ed0ddb1ef079451683dd0ce567f
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This moves the copy/strip/rm logic for the Windows SDK
fro mthe patch_windows_sdk.sh to a regular tools.windows.atree.
The bash script is still here to invoke atree and do whatever
cleanup we might want to do later.
This should make it easier to maintain the Windows SDK
by providing a structure similar to tools.atree.
This change requires build.git Change-Id: I22aae7a8 to
have rm/strip support in atree.
Change-Id: Ie6c30979454fb71fc1cb26ab3f6c38acd47bae57
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch ensures that the following host shared libraries
are copies to $SDK/tools/lib, when building the SDK:
- libOpenglRender
- libEGL_translator
- libGLES_CM_translator
- libGLES_V2_translator
Note that the Windows DLL must be copied manually in patch_windows_sdk.sh
I didn't find a way to make it work using tools.atree.
This has been tested to build the Linux, Windows and OS X SDK images.
Change-Id: Idae8fe705befbbcc31e8d4ff71998ea0803b32f1
|
|
|
|
|
|
| |
Bug 5249969
Change-Id: I47c8672da6ab40a9ecb9e5e64b42d5f5f8924381
|
|
|
|
| |
Change-Id: I181655095b2562cf8ddca81678d907ef9233c9bc
|
|
|
|
| |
Change-Id: If430e817dc82b361c275a98ee38ecbc38348e1ce
|
|
|
|
|
|
|
|
|
| |
Also fixes the fact the Windows SDK wasn't building emulator-arm
nor emulator-x86.
SDK BUG: 4377649
Change-Id: I1450a8c73e0078e69ccd28b220bf37ecd0a6fd5c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This little EPL library provides a way for the SDK apps to integrate
with the Mac menu bar -- that is correctly hook into the About and
Preferences menu items.
On other platforms (Windows, Linux), corresponding items are
added to the provided menu.
The library provides both a Carbon and a Cocoa implementation.
However the Cocoa implemented is currently commented out since
we only link with a Carbon-aware version of SWT.jar.
Added a README that explain how to use this.
Change-Id: I4b8457f0269946df056b5dd597c7263da1c4e784
|
|
|
|
| |
Change-Id: I09946be68f244922de0ad89d970e53165957fa2b
|
|
|
|
| |
This reverts commit 253acabecba0d9f649f04499f6dda980fbe7bf49.
|
|\ |
|
| |
| |
| |
| | |
This reverts commit ecd2f055e09ebe5a16244b91af1c6f80cae671a0.
|
|/
|
|
| |
Change-Id: Idba9f5b5724926209bbb96bfd75e04dbffa3760c
|
|
|
|
|
|
|
|
| |
The core issue is why emulator-x86 is missing from the build.
Whilst we investigate why, this will unbreak the build. We should
revert this once the emu-x86 is built correctly again.
Change-Id: I4852490f1fea91ea18a798be28411f5a57a31a89
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unfortunately, the latest x86-specific changes to tools.atree break
internal Android builds that depend on this file.
This change moves the changes to a different file that is only
parsed for x86-specific SDK builds (sdk_x86-eng).
It depends on https://review.source.android.com/#change,21957
to allow the AOSP build to pick up tools.x86.atree properly.
Change-Id: I163d7fb43aa06609d9b0e4bfbaf56311958ea25e
|
|
|
|
|
|
|
| |
This reverts commit 147e8b73aefa28ef599628c718060450539b6102.
The original commit was merged out of sequence - thus the need for the
original revert. All dependent commits are now complete so we can put back
in place the original change.
|
|
|
|
| |
Change-Id: I7d589782bf898d1ce09d0e29108566f7560019f1
|
|\ |
|
| |
| |
| |
| |
| | |
Change-Id: I6f526b920f1d671e016ff8a2cde6f11843283e99
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|/
|
|
| |
Change-Id: If9f7d3fc61b5969d84a2cda68dc1ad948c21ae88
|
|
|
|
|
| |
Change-Id: Ieb0aa637c44ff2b9d386b6927c0b8564d1b50621
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|
|
|
| |
Change-Id: Idf2ce283466dcc92ba8877d4e8166f2d64b319f4
|
|
|
|
|
|
|
| |
Change the shell script to make any error fatal and actually
break the build, like it should.
Change-Id: Iee86b79c5b12a109ccb92dbc81d586c54ac68b5f
|