| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Iba15f82cb00d19217382c78d8ff37dda1e97ea59
|
|
|
|
| |
Change-Id: Ic684b34727d779129f1d8185c2c353b56e91829b
|
|
|
|
|
|
|
|
|
|
|
| |
Requires prebuilds/devtools.git I913a29e5f40db99871701461aad6fc38483015d2
To update the prebuilts, you need tools/base.git and the
prebuilts/devtools/update_jars.sh script.
This is supposed to be an intermediary step as we switch to tools/base.
Change-Id: I3dcccfdd9dc243a22a5bfd9db6779d24285db1ac
|
|
|
|
| |
Change-Id: I0e4f2c0d56285b911f0210a3cddbed0f5ec05ecc
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I55c69a46fb7fa21701025f2df4e4fcc3bfd3ef96
|
|/
|
|
| |
Change-Id: Ibc54b1a23688217666b60ce7dc692f0bba00419a
|
|
|
|
|
| |
Bug: 40273
Change-Id: I5009d3c95d677953a191145038d6d06cd8b2bf32
|
|
|
|
|
|
|
|
|
|
|
|
| |
with dex.disable.merger=true in the project.properties,
it is now possible to revert to the old build mechanism where
every jar files is always passed to dex during dex'ing instead
of pre-dexing them only when they change.
This is to go around some issue with dexmerger that are only
triggered in some cases.
Change-Id: I7288ae4e1ae02b088c2f74f2f63c819c6587016a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If 2 libraries share the same package name, this is now
a build breakage, unless all libraries share the same
package.
This is because the libraries R classes only contain the
resources declared in the libraries themselves (plus
dependencies). Since two libraries could share the same
package name without depending on one another, it's possible
to ensure that creating only one R class would work for both.
(Merging both R class might be possible but is too risky for
a quick fix like this).
If all the libraries share the same package, then a single R
class is created for that package that contains all the symbol
of the app (simpler than merging all the symbols for now)
If a library and the app share the same package name, the
R class for the library is not created (since the R class for
the app contains all resources). This already worked in ADT,
so this changeset only fixes Ant.
Change-Id: I95f0b734ba263051961268d960d59749f5b6e1a5
|
|
|
|
| |
Change-Id: Iaefb640f35bdad1dc5d4be8565c2cafdc02e8324
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SDK Bug: 36987
Bug was that TaskHelper would fail when parsing a pk
revision with an RC value. A quick fix was done in CL
6d266a1bf5992d27fff4400c5d2bd30681c65c3d a while ago.
Revisit the fix by using the new FullRevision object
to parse the value and create a DeweyDecimal; should
avoid us trouble if we later change the format.
Change-Id: I5ad1449ebd2606255c27485e60b714b5cf83a308
|
|
|
|
|
|
|
|
|
|
| |
Turns off the ability to use @SuppressWarnings with optional
errors is available, but off by default (see Eclipse issue 392875).
This turns that off, makes missing enums in switch statements a
warning, and synchronizes the settings file to all projects (except
tests.)
Change-Id: Iad7060523b6ee2cbbca97e0a6ffedb264b185222
|
|
|
|
| |
Change-Id: I68188063f0a44af9d38c2a47a53684a68bf346c3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously all predexed libraries used the same filename
as their source but all predexed libs would go in the same
folders, possibly conflicting with each others.
This fixes it by making the predexed lib filename use
the (hashed) path of the original library.
Also added some extra logging to indicate when a predexed
lib is used.
Change-Id: I7c248f647ee0531334d7fa4f1e943ea0932699d4
|
|
|
|
| |
Change-Id: I772ed35a85093c57f5e6e7b1faac3a60cd49ce3f
|
|
|
|
|
|
|
|
| |
If a project or library doesn't have resources, then
the R.txt file will not be there and we need to support
this.
Change-Id: I97d971473fc3cbbe9e5e1d16d440084ac4e90406
|
|
|
|
| |
Change-Id: Icbebe1dd3c8cf51f7d38b585a78264d01977e943
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I5aabcf3d7acaa9573c991860db3fcc8ea34bc866
|
|/
|
|
|
|
|
|
| |
- only generate the R class of libraries when the project is not a lib
- package the manifest classes of libraries since we only do
delayed generation of the R class now.
Change-Id: I54908984651dab73b3496145120e2ee7cf9c6c9a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using the new --output-text-symbols from aapt the build
system now generates the R class for libraries manually
based on the symbols exported by the libraries and the
final values computed by aapt when using all the resource
folders.
Because only R.java is concerned, the Manifest class is
now included in the library jar file.
Also added a new test apps that uses instrumentation to
verify the build system.
Change-Id: Ic436ea8eb070844e9db8b3b2620fbf665839d40b
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fix this by using guava Files instead.
Also fixes sdklib's manifest.
Change-Id: I5dd4123f389ce1bd8c900933021fc2179e6caa3b
|
|/
|
|
|
|
| |
Eclipse 4.x requires it.
Change-Id: Iababca14d8edc8d62bce42f23ee26633dc49cf8c
|
|
|
|
|
|
|
|
|
| |
The change is that the manifest merger will only accept a codename
if it's invoked in a context that can resolve that codename to an
API level. This allows to produce an error on bogus codenames and
to properly check that the API levels match appropriately.
Change-Id: Ic70c0c3690b13d94dba81bb78cc09386016b2ef1
|
|
|
|
| |
Change-Id: I4286930a2d36d21d9eb60a1c96c70276b77b9d4a
|
|
|
|
|
|
|
|
|
|
|
| |
Eclipse 3.8/4.2 requires that any method which overrides another
method with a @NonNull parameter (see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=381443).
This changeset adds @NonNull on various overriding methods in newly
added code such that Eclispe 4.2 doesn't show errors.
Change-Id: Ice4a4b4dc31ba68c4e0911bb37c15da090076a0d
|
|
|
|
|
|
|
|
|
|
| |
Removed ILogger from ide_common
Removed ISdkLog (and implementations) from sdklib
Moved all existing code to com.android.utils.ILogger
which is located in common.
Change-Id: Icd674d4b8d10f6ae8b60a83acb43cc53c7a52137
|
|
|
|
|
|
|
| |
Also fix a bug in a custom ant task where minSdkVersion and targetApi
were swapped.
Change-Id: Id9bac802377a04270e76def42eaf6a8fb4b3f874
|
|
|
|
|
|
|
| |
Move stuff out of sdklib into common and ide_common.
Remove androidprefs and move the one class into common.
Change-Id: I71d126a13cf2ba413692e29616f4968a37d7b33a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
First, this changeset allows the arguments passed to --sources and
--classpath (renamed from --classes) to specify not just a directory,
but to specify a path as well. This might make it easier to invoke
lint from scripts if you have a path variable, so you don't have to
split it into multiple arguments.
Second, it makes the lint task in ant use these, such that any
build.xml customizations to the source paths or class paths are
automatically used rather than relying on lint's default structure
check.
Change-Id: Id8e4caf0010d7fd7245844b3099b5dc0607f0aba
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Running "ant lint" will now run lint on the project, and dump out the
errors to the console as well as also export the errors to lint.xml
and lint.html int the bin/ directory.
This changeset also modifies the lint CLI to allow multiple
simultaneous result reporters - so you don't have to run lint twice in
order to get both an .xml and an .html report for example (which is
useful when you're running lint on a continuous integration server,
and you want the .xml file for the lint plugin trend graph and the
html file as a user readable report to click through to from the build
page.)
Change-Id: Idf8f3f5de0857eb9e7180267a066ae933640682d
|
|
|
|
| |
Change-Id: Ie9fa05173a5e4e1c7cae48cabb37f3cfe7d085cb
|
|
|
|
| |
Change-Id: Id1db4d2fc318b9318fcd0b7cb204f7ffe0d8429e
|
|
|
|
| |
Change-Id: Id88bc5d12d007c4c94ca11b7eddfc911fbd7bddb
|
|
|
|
| |
Change-Id: Ia31c45715530f58ac293f61185b5a45f71fab4f5
|
|
|
|
|
|
|
| |
This allows seeing the library source code in the HTML
report.
Change-Id: I30cd9fa99d2962bb4c12cba6f2ba044857836b93
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
They actually were instrumented but the emma output file was not
passed to the report task.
After trying to make each library generate its own .em file and
passing to the report task, I gave up due to FileSet (and the
report task) being stupid.
So the main fix is having the libraries contribute to the main coverage.em
file (since it's build using the merge option) which location is passed
to the library project.
The changes to the custom task was to support querying the libraries for
a path with a given leaf (from the lib root folder) but this is not
used at the moment. The other tasks are slightly cleaned up due to
this though and are getting prepared to support customized folder
names in folder.
Change-Id: Ife59a2971ce6f2acf01b923abe90dea8adee462a
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The location of the .em file was wrong. Changing its location
means it gets put in the tested project so we need a way to know where
the output of the project is.
As we need to be better at supporting customized projects folder, we
introduce a new task that will be able to look for the customized
path of any projects. So far we only support the output folder
and the source folder.
Change-Id: Id8db82e254baae2088827c96b7719f94c92c927c
|
|
|
|
|
|
|
| |
This is from review comments. I meant to upload
this before commit but forgot.
Change-Id: Ia2eef22f2a5e6a5120110e69b49491a803636768
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ib8add07a611d4d496004567fb23b8c5d38b6e487
|
|/
|
|
|
|
|
|
|
|
|
| |
Library projects now copy their aidl files into bin/aidl.
Aidl is now called with this import path for all referenced
library projects.
Also added a test project.
Change-Id: I7f94489e87450be67a16ed7198f85b8b472f5025
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
First, update our various project-specific Eclipse compiler settings
configuration files to include the new Eclipse 4 flags.
Second, turn off the "Unchecked conversion from non-annotated type to
@NonNull" warnings; there are hundreds or thousands of these, and
there isn't much we can do about them when they're coming from
platform and library APIs.
Third, make the lint projects warning-clean again by addressing
various warnings Eclipse found (such as some unclosed resources and
some null handling issues; yesterday's null annotation fixes only
addressed errors, not warnings.)
Change-Id: If75f7401a1cbeef1bf58b47ccaa9ad17bede7f91
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to only keep classes that are really used either
through code or through XML. Also tweak the default rules for
better control of animated properties.
Added a test of a custom property animation and fixed some other
misc test files.
Change-Id: I7cc5839a764881d8d3c7bfce0a3f12ea7cba660e
|
|
|
|
|
|
| |
Requires change Ia4caa2a8 from frameworks/base.git
Change-Id: Ifcb469a64146ac2ae65f8516ee9dcfb857a7e2aa
|
|
|
|
| |
Change-Id: I0c7d996f9ea3d27ef2cb8daa671c6284be588d54
|
|
|
|
| |
Change-Id: I4f89b469e06f741b95b92d7a4826f979c64dab1b
|
|
|
|
|
|
|
| |
Moved the definition of the custom Ant tasks
into a properties file put in the jar files.
Change-Id: I33b49c9f8f51ffa4f8a8dcaefccc6e0d874a6a9d
|