Age | Commit message (Collapse) | Author |
|
DeviceConnector can now be queried for device info allowing the
test runner to only deploy to compatible devices.
Change-Id: I4dbd29ce37e50c6294592405b7602df494f3b566
|
|
Change-Id: I10da9084318a3471cd593f6df9d3e8ed61c1ac6e
|
|
Change-Id: I2372e12df0b9244891857c7bcfd95e25f733bf89
|
|
Change-Id: Ia3031773438439ff6a118eb7c174b1495083b78a
|
|
Also add a new test project that use a fake implementation
of both to make sure they are correctly called.
Change-Id: I2a3dcd078a97fbeffedcf730adc59414afeb274d
|
|
Also stop putting all dependencies inside the
builder artifact, and instead let it depend on
other artifacts.
Change-Id: I0f3adb2883ac9f34dc82bff420964243487e09a4
|
|
Change-Id: I236458b4ae883481ff3afa9123f0167dbd270ac1
|
|
To pass, this requires a fixed aapt that properly NOT put
final on styleable IDs when --non-constant-id is used.
Change-Id: If406633e67022291605472eea7c3f0d5374f9ce2
|
|
Change-Id: Ib7afa512e3bf6444a6b80fd3b0df0e03e62883ff
|
|
Change-Id: I44a0400ccbfc9e2358b9f11e4d519f0a22351824
|
|
[Application|ProductionApp|TestApp]Variant
-> [Base|Apk|Application|Test|Library]VariantData
Also moved under internal.variant package
BuildVariant
-> [Base|Apk|Application|Test|Library]Variant
Also moved under api package. These are interfaces.
Implementation in internal.api
Change-Id: I6ef0a6433797325836a4ce39f9310641704eeda7
|
|
This model will be shared between the plugin and the IDE.
Change-Id: Ia521ed8d6f47301545679334157ea2ed8629bbb1
|
|
Change-Id: I80ebd53f2f46213001633c135c7fd9a5f8502658
|
|
Change-Id: I6c355e2e2459987224e4fac3fdd8c02d2f4fc905
|
|
Change-Id: If112620dbce3c20fe212765707513afcad402fd1
|
|
|
|
the builder library previously packaged all its
dependencies in its jar. This started breaking
when bouncycastle was added due some issue in the
manifest.
This solves it but also does something we should have
done a while ago.
Now only the local dependencies (mostly tools/base) are
packaged in builder, while the external dependencies are
now declared as dependencies. Since the builder is pushed
to MavenCentral the dependencies can be found there.
(Sample projects find them in the local repo clone).
Change-Id: I789a2950056d0fe49c5f8fbaa11b149cc75a6361
|
|
The previous mechanism used --rename-manifest-package while letting
the created manifest have the old package name. While this rename
the package entry in the manifest, the resource pool was still
associated to the original package name which made thinkgs awkward.
The new mechanism uses the new feature of the manifest-merger that allows
updating the package name. This means the application is compiled
completely using the new package.
In order to keep the R class sane though, aapt is called with
--custom-package to override only the location of the R class.
Change-Id: I0162dab6ca1cdeaf40e0c92d351f0290f01fd216
|
|
Change-Id: If19406b935965bde63a761236366137f6fb5d73f
|
|
Change-Id: I5c8c599698e489cb83b9ffa6f7a1ef3a9cd27fb6
|
|
Change-Id: I15aeaab2deae50a096e5b0620da49349f56f96e4
|
|
No other changes besides moving the files.
Change-Id: Ibbfa5be4af901c939374ef4bc4ec7c36096e3f22
|
|
This is to not collide with jUnit 'tests'. The idea is
to allow regular jUnit tests in the same project, alongside
instrumentation (and ui automator) tests.
Change-Id: I8db8527f82f16860a83c1d2def996e8074282c5d
|
|
Also fix some issues related to input detection of some tasks.
Change-Id: I38ac5a151fe1ac84c03fc0cafb8cab31117888a1
|
|
Move figuring out the path to aidl/aapt/dx/llvm-rs-cc from IAndroidTarget
to SdkParser (in preparation of the build-tools).
Also change android.target to android.compileSdkVersion to make it
less confusing with regards to min/targetSdkVersion and also change it
to take either an int or a string.
Change-Id: I8642cb84f67cf75b49abe905b2a65f4d26668e98
|
|
|
|
This adds support for libraries that shares the same package names
and libraries that use the app package name.
Also added two libraries to libsTest so that
lib2b shares the package name with lib2
libapp shares the package name with app.
Change-Id: I0c0fdb6fe553857e67227fad8d4f793d414de120
|
|
Change-Id: Icb3a75c7e79cbb58c0e529018f318323c649b475
|
|
|
|
Change-Id: I4787cc88fddd23afdb7c8f6ac127318da7b0cff7
|
|
Change-Id: Ie266cc78ba634c19b2e67e4e60303ed48040dd8e
|
|
This lets users figure out which signing configuration
is used for each build variant. it also displays signing
information like fingerprints.
Also update the SigningConfig API around the store
location to make it a File instead of a String.
Change-Id: I8292cb9fa7e80a77f2503bdf092c041d8fa315a2
|
|
android {
signingConfigs {
foo {
storeLocation = ...
}
}
buildTypes {
debug {
signingConfig signingConfigs.foo
}
}
}
Change-Id: I63640326660307a592e5ade1ba276ab7795526ff
|
|
New DSL to customize source/targetCompatibility:
android {
compileOptions {
sourceCompatibility = "1.6"
targetCompatibility = "1.6"
}
}
dex options will probably all move in there too in the future.
Change-Id: Ibab6fb8c44e7193274720f7340f0f1f409c6e3a4
|
|
|
|
You can now call
android.sourceSets.test.resetToRoot("blah/test")
and it will move all of src/test/* to blah/test/*
It makes it easier to migrate older project by relocating
non src/main outside of src/
Updated the 'migrated' samples to reflect this + other
misc fixes.
Change-Id: I2b98ada80a9b8d564370e00e3ed63a3d68c60412
|
|
Duplicated the report classes from Gradle to customize them
in order to show the device the test run on, or which flavor
and project the test is coming from.
This duplicated code is in its own source folder to separate
this from AOSP code and retains the original copyright.
The "test" tasks which runs all test<Flavor> tasks now also
aggregate the results of the test<Flavor> tasks and is designed
to run even when those fails by telling them to ignore errors
if the "test" task is set to run.
Added a new plugin strictly to do aggregate for the subprojects.
Plugin is called 'android-reporting'
It's meant to be used by the root project. It behaves similarly
as the "test" class in the android project, by telling sub
tasks to ignore errors.
The aggregate tasks will throw an exception if the sub test tasks
saw errors in order to ensure that the caller to gradle can
manage errors still.
Change-Id: I2c1df77cf8073fb74b4145b09aa7609d7999ef6c
|
|
As an inner class it prevented access to its parent in a closure.
See http://jira.codehaus.org/browse/GROOVY-5875
Change-Id: I29e5563173f8c5fec795cbd145ae02c941b0f47b
|
|
Support for customized results and report location.
Queries the IDevice to construct a name.
Copied the flavorlib samples to flavorlibWithFailedTests and
removed the failing tests from flavorlib as it's still useful to
have as a project with no failing test.
Change-Id: Iea3f2ab0828ab93c2ace3ed41b4a5dda7554bbe3
|
|
Use ddmlib to run and gather the test results. The
library provides a test runner that can read the output
of the tests running on the device and generate Junit compatible
XML result reports.
This is then fed to gradle's report generator to make a standard report.
Also change the run test task to also do the install/uninstall
so that we can run tests on all connected devices in parallel.
The existing install/uninstall tasks can probably be removed.
Change-Id: I8d3baa848923a399de78dbdc7fc25d5548f56be2
|
|
Replaces keystore attributes on build types and flavors with a
SigningKeystore object that can be accessed by reference from
those types. Eliminates the debugSigning attribute in favor
of a default debug keystore that's automatically configured
for all projects.
Change-Id: Icbfc66487e26068ae6edff8395ebc29d0d28f46c
|
|
|
|
Change-Id: I01fc363072b4407f70863899c80620fb22044b1f
|
|
Adds support for a versionNameSuffix attribute to the build type
which works like packageNameSuffix -- it is appended to the
version name as derived from the manifest and overridden by the
flavors.
Change-Id: Ib303f30d2253bbd2367664b826d8dc93f5f3731e
|
|
Also add support to build them during the plugin integration
tests and check the output.
Change-Id: I882f47f4c79d1b44c3e95b2df0f044d91508a3eb
|
|
Also tweak the API a bit.
Change-Id: I6cb10b4d770f9054f269d600d41a24b7e2fdc2e1
|
|
Change-Id: I8686052470b71f9f61f83da360a205a2f04d5271
|
|
Move them into samples
Create folder tests for actual test projects.
Change-Id: I9e7c668ec7241d237f8aba8e539344f2f0800642
|