aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/android/AndroidIdeInfoProvider.java
Commit message (Collapse)AuthorAge
* Remove unused code from AndroidIdeInfoProvider.Gravatar tomlu2018-01-11
| | | | PiperOrigin-RevId: 181657963
* Remove some dead code from AndroidIdeInfoProvider.Gravatar ajmichael2017-12-22
| | | | | RELNOTES: None PiperOrigin-RevId: 179947662
* Automatic formatting cleanup of Android *.java files.Gravatar jingwen2017-12-18
| | | | | RELNOTES: None. PiperOrigin-RevId: 179425421
* Replace all usages of Blaze's Preconditions class with guava.Gravatar tomlu2017-11-09
| | | | | | | | Blaze had its own class to avoid GC from varargs array creation for the precondition happy path. Guava now (mostly) implements these, making it unnecessary to maintain our own. This change was almost entirely automated by search-and-replace. A few BUILD files needed fixing up since I removed an export of preconditions from lib:util, which was all done by add_deps. There was one incorrect usage of Preconditions that was caught by error prone (which checks Guava's version of Preconditions) that I had to change manually. PiperOrigin-RevId: 175033526
* Expose .ap_ artifact as a skylark providerGravatar Googler2017-06-05
| | | | | RELNOTES: none PiperOrigin-RevId: 157837746
* Expose the native libs of the android_binary rule to skylark.Gravatar Googler2017-04-18
| | | | | RELNOTES: none PiperOrigin-RevId: 153223511
* Export idl_import_root to Android Studio, so that we know the packages of ↵Gravatar Googler2016-09-30
| | | | | | | new AIDL files in relation to their location. -- MOS_MIGRATED_REVID=134687843
* Expose aar to Skylark.Gravatar Googler2016-09-09
| | | | | -- MOS_MIGRATED_REVID=132551909
* Add resource_jar to android_studio_info.proto.Gravatar Googler2016-06-03
| | | | | | | | | The IDE currently extracts these from the output jars by a fragile string comparison. This will allow the IDE to do so more robustly (eg. in case the resource jar output is renamed). -- MOS_MIGRATED_REVID=123939803
* Expose Android resources in Skylark API.Gravatar Dmitry Lomov2016-02-25
| | | | | | | | Also expose functionality to calculate resource source directory from Android resource artifact. -- MOS_MIGRATED_REVID=115492705
* Expose to Skylark information about whether a target defines any Android ↵Gravatar Dmitry Lomov2016-02-24
| | | | | | | | | | | | resources. In Java code, it is a shared logic in LocalResourceContainer.definesAndroidResources (that method has a fair number of usages). This CL exposes that information on AndroidIdeInfoProvider and futher on AndroidSkylarkInforProvider. -- MOS_MIGRATED_REVID=115453472
* Add initial Skylark API for Android rules.Gravatar Dmitry Lomov2016-02-23
| | | | | -- MOS_MIGRATED_REVID=115364137
* Roll forward of commit 500175fcfb37953f50cf0869df164902755807f2: Don't ↵Gravatar Googler2016-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | include absolute paths in blaze IDE artifacts NEW: Fixed bazel java_test rules Rollback of commit a4ba24e286b7e9a7a09e333d8eb64a8cf7e81895. *** Reason for rollback *** Rollforward, fixing bazel java_test rules *** Original change description *** Automated [] rollback of commit 500175fcfb37953f50cf0869df164902755807f2. *** Reason for rollback *** Breaks Bazel Build http://ci.bazel.io/job/Bazel/JAVA_VERSION=1.7,PLATFORM_NAME=linux-x86_64/356/console *** Original change description *** Don't include absolute paths in blaze IDE artifacts RELNOTES: Don't include absolute paths in blaze IDE artifacts -- MOS_MIGRATED_REVID=114751236
* Rollback of commit 500175fcfb37953f50cf0869df164902755807f2.Gravatar Damien Martin-Guillerez2016-02-15
| | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks Bazel Build http://ci.bazel.io/job/Bazel/JAVA_VERSION=1.7,PLATFORM_NAME=linux-x86_64/356/console *** Original change description *** Don't include absolute paths in blaze IDE artifacts RELNOTES: Don't include absolute paths in blaze IDE artifacts -- MOS_MIGRATED_REVID=114682419
* Don't include absolute paths in blaze IDE artifactsGravatar Googler2016-02-15
| | | | | | | RELNOTES: Don't include absolute paths in blaze IDE artifacts -- MOS_MIGRATED_REVID=114550121
* Use Bazel Preconditions variant which avoids varargs array creationGravatar Mark Schaller2015-12-10
| | | | | | | Reduces garbage. -- MOS_MIGRATED_REVID=109914243
* Remove the unchecked exceptions RuleConfigurationException, InvalidAssetPath ↵Gravatar Lukacs Berki2015-12-07
| | | | | | | | | | | and InvalidResourcePath. Mainly to make the error handling in the Android code more similar to the rest of the code. There are a few more if statements, but I think the fact that AndroidIdeInfoProvider#addResourceSource didn't catch this unchecked exception vindicates this decision. DIFFBASE=108487079 -- MOS_MIGRATED_REVID=109566747
* Add isSource to Android aspect ArtifactLocation.Gravatar Googler2015-10-12
| | | | | | | | This supersedes bin/gen files on Android SDK. The fields are removed entirely since the proto isn't public yet. -- MOS_MIGRATED_REVID=105130701
* Filter idl sources from AndroidStudioInfoAspect.Gravatar Googler2015-09-30
| | | | | | | These java sources are already included in the idl jars. -- MOS_MIGRATED_REVID=104309944
* Add Android IDL jar outputs.Gravatar Googler2015-09-28
| | | | | | | | | | These outputs are a jar and source jar for the results of aidl processing. This is used to add aidl output to IDEs separate from the source code, similar to annotation output (gen jars). -- MOS_MIGRATED_REVID=104024453
* Rationalize copyright headersGravatar Damien Martin-Guillerez2015-09-25
| | | | | | | | | | | The headers were modified with `find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'` And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan. The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand. -- MOS_MIGRATED_REVID=103938715
* Implement support for android_library and android_binary in ↵Gravatar Dmitry Lomov2015-09-22
AndroidStudioInfoAspect. -- MOS_MIGRATED_REVID=103635637