summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-05Revert "Fix annotation processors working w/ generated code on OpenJDK 9 ↵r_aml_301500702android-mainline-12.0.0_r55android-mainline-11.0.0_r9android-mainline-11.0.0_r8android-mainline-11.0.0_r7android-mainline-11.0.0_r6android-mainline-11.0.0_r5android-mainline-11.0.0_r45android-mainline-11.0.0_r44android-mainline-11.0.0_r43android-mainline-11.0.0_r42android-mainline-11.0.0_r41android-mainline-11.0.0_r40android-mainline-11.0.0_r4android-mainline-11.0.0_r39android-mainline-11.0.0_r38android-mainline-11.0.0_r37android-mainline-11.0.0_r36android-mainline-11.0.0_r35android-mainline-11.0.0_r34android-mainline-11.0.0_r33android-mainline-11.0.0_r32android-mainline-11.0.0_r31android-mainline-11.0.0_r30android-mainline-11.0.0_r3android-mainline-11.0.0_r29android-mainline-11.0.0_r28android-mainline-11.0.0_r27android-mainline-11.0.0_r26android-mainline-11.0.0_r25android-mainline-11.0.0_r24android-mainline-11.0.0_r23android-mainline-11.0.0_r22android-mainline-11.0.0_r21android-mainline-11.0.0_r20android-mainline-11.0.0_r2android-mainline-11.0.0_r19android-mainline-11.0.0_r18android-mainline-11.0.0_r17android-mainline-11.0.0_r16android-mainline-11.0.0_r15android-mainline-11.0.0_r14android-mainline-11.0.0_r13android-mainline-11.0.0_r12android-mainline-11.0.0_r10android-mainline-11.0.0_r1android-11.0.0_r9android-11.0.0_r8android-11.0.0_r7android-11.0.0_r48android-11.0.0_r47android-11.0.0_r46android-11.0.0_r45android-11.0.0_r44android-11.0.0_r43android-11.0.0_r42android-11.0.0_r41android-11.0.0_r40android-11.0.0_r39android-11.0.0_r38android-11.0.0_r37android-11.0.0_r36android-11.0.0_r35android-11.0.0_r34android-11.0.0_r33android-11.0.0_r32android-11.0.0_r31android-11.0.0_r30android-11.0.0_r29android-11.0.0_r28android-11.0.0_r27android-11.0.0_r26android-11.0.0_r24android-11.0.0_r23android-11.0.0_r22android-11.0.0_r21android-11.0.0_r20android-11.0.0_r19android-11.0.0_r18android-11.0.0_r16android-11.0.0_r15android-11.0.0_r14android-11.0.0_r13android-11.0.0_r12android-11.0.0_r11android-11.0.0_r10android11-qpr3-s1-releaseandroid11-qpr3-releaseandroid11-qpr2-releaseandroid11-qpr1-s2-releaseandroid11-qpr1-s1-releaseandroid11-qpr1-releaseandroid11-qpr1-d-s1-releaseandroid11-qpr1-d-releaseandroid11-qpr1-c-releaseandroid11-mainline-tethering-releaseandroid11-mainline-sparse-2021-jan-releaseandroid11-mainline-sparse-2020-dec-releaseandroid11-mainline-releaseandroid11-mainline-permission-releaseandroid11-mainline-os-statsd-releaseandroid11-mainline-networkstack-releaseandroid11-mainline-media-swcodec-releaseandroid11-mainline-media-releaseandroid11-mainline-extservices-releaseandroid11-mainline-documentsui-releaseandroid11-mainline-conscrypt-releaseandroid11-mainline-cellbroadcast-releaseandroid11-mainline-captiveportallogin-releaseandroid11-devandroid11-d2-releaseandroid11-d1-s7-releaseandroid11-d1-s6-releaseandroid11-d1-s5-releaseandroid11-d1-s1-releaseandroid11-d1-releaseandroid11-d1-b-releasePete Gillin
toolchain" am: e151dd3ffd am: 073e2db711 am: 39d1301acd am: 3041d69a33 Change-Id: I6e9913dfc196ff7c72632b273d3fed3355c388bd
2019-06-05Revert "Fix annotation processors working w/ generated code on OpenJDK 9 ↵android-r-preview-4android-r-preview-3android-r-preview-2android-r-preview-1android-mainline-10.0.0_r8android-mainline-10.0.0_r6android10-mainline-resolv-releaseandroid10-mainline-networking-releasePete Gillin
toolchain" am: e151dd3ffd am: 073e2db711 am: 39d1301acd Change-Id: I0a909a715c8cf9971f34d9c25efc0659e3c9377f
2019-06-05Revert "Fix annotation processors working w/ generated code on OpenJDK 9 ↵ndk-sysroot-r21Pete Gillin
toolchain" am: e151dd3ffd am: 073e2db711 Change-Id: I5971212de75c83d0bc5f439e4a7fd8b3c0339217
2019-06-05Revert "Fix annotation processors working w/ generated code on OpenJDK 9 ↵Pete Gillin
toolchain" am: e151dd3ffd Change-Id: I13838f13f90913c2a33ddc08450897ac8e8c449a
2019-06-04Revert "Fix annotation processors working w/ generated code on OpenJDK 9 ↵android-o-mr1-iot-release-1.0.14android-o-mr1-iot-release-1.0.13Pete Gillin
toolchain" This change is no longer needed, following http://r.android.com/943770 in April 2019, which upgraded external/dagger2 from a 2015 version of auto-common to version 0.10 (https://github.com/google/auto/releases/tag/auto-common-0.10). This auto-common version does not output code using javax.annotation.Generated if it is is not available, so the module that provides (java.xml.ws.annotation) it can be safely removed. This is beneficial since the module is deprecated in OpenJDK 9 and is removed in later versions. N.B. The change being reverted was to Android.mk, this removes the corresponding lines from the migrated Android.bp. This reverts commit 66b92c8c9172780c5794f47cbe7ede4eeee009b7. Bug: 62050818 Bug: 131683177 Test: EXPERIMENTAL_JAVA_LANGUAGE_LEVEL_9=true make droid Change-Id: Id964a685dbadb21f414b15e029d5e02a40ece83f
2019-02-25Merge stage-aosp-master into pi-dev-plus-aospandroid-mainline-10.0.0_r9android-mainline-10.0.0_r7android-mainline-10.0.0_r5android-mainline-10.0.0_r4android-mainline-10.0.0_r10android-10.0.0_r9android-10.0.0_r8android-10.0.0_r7android-10.0.0_r45android-10.0.0_r44android-10.0.0_r43android-10.0.0_r42android-10.0.0_r41android-10.0.0_r40android-10.0.0_r39android-10.0.0_r38android-10.0.0_r37android-10.0.0_r36android-10.0.0_r35android-10.0.0_r34android-10.0.0_r33android-10.0.0_r32android-10.0.0_r31android-10.0.0_r30android-10.0.0_r29android-10.0.0_r28android-10.0.0_r27android-10.0.0_r26android-10.0.0_r25android-10.0.0_r24android-10.0.0_r23android-10.0.0_r22android-10.0.0_r21android-10.0.0_r20android-10.0.0_r19android-10.0.0_r18android-10.0.0_r16android-10.0.0_r15android-10.0.0_r14android-10.0.0_r13android-10.0.0_r12android10-qpr3-s1-releaseandroid10-qpr3-releaseandroid10-qpr2-s4-releaseandroid10-qpr2-s3-releaseandroid10-qpr2-s2-releaseandroid10-qpr2-s1-releaseandroid10-qpr2-releaseandroid10-qpr1-releaseandroid10-qpr1-mainline-releaseandroid10-qpr1-d-releaseandroid10-qpr1-c-s1-releaseandroid10-qpr1-c-releaseandroid10-qpr1-b-s1-releaseandroid10-qpr1-b-releaseandroid10-mainline-media-releaseandroid10-devandroid10-d4-s1-releaseandroid10-d4-releaseandroid10-c2f2-s2-releaseandroid10-c2f2-s1-releaseandroid10-c2f2-releaseXin Li
am: fa8cc356c5 Change-Id: I8b542771cbc626991b509ddcfba592b27f64846e
2019-02-25Merge stage-aosp-master into pi-dev-plus-aospXin Li
Bug: 126125118 Change-Id: I38cd25e60f104ca27d10ee95ecf37309c9f1d1f4
2019-02-20DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterXin Li
Bug: 120848293 Change-Id: I8d3477a74075d761caddc4400d0ff9698845050c
2019-01-23Replace annotation_processors with plugins am: ec181dda0f am: 0d3f891929Colin Cross
am: 8f4a327832 Change-Id: I99061be15fad28bdb9f9886a8949cfe4be00ed85
2019-01-23Replace annotation_processors with plugins am: ec181dda0fColin Cross
am: 0d3f891929 Change-Id: Icfcea497a8c81bc8bfbdf0e3f49137c6bad637b5
2019-01-23Replace annotation_processors with pluginsColin Cross
am: ec181dda0f Change-Id: I48f3f6f6a92668f0b2c1b1f815dbb6657bb5b4e9
2019-01-21Replace annotation_processors with pluginsandroid-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1android-o-mr1-iot-release-1.0.12android-o-mr1-iot-release-1.0.10oreo-mr1-iot-releaseColin Cross
The annotation_processors property is deprecated, replace it with plugins. Bug: 77284273 Test: m checkbuild Change-Id: If08ae0e4848e9beb2e53ba852119788c94d0672c
2018-10-24[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT ↵Bill Yi
MERGE am: 1b8781e72f -s ours am: 346fcae40a -s ours am: f4c0268dbf -s ours Change-Id: I5d7f716d094144929d56b3dab3bab71741df33a4
2018-10-24[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT ↵Bill Yi
MERGE am: 1b8781e72f -s ours am: 346fcae40a -s ours Change-Id: Ia9ee2b4864075b6c4ae1dc8ff504cc8bd951ce55
2018-10-24[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGEBill Yi
am: 1b8781e72f -s ours Change-Id: I34ecab82202a426158044ee20b7dd03a0d1e3085
2018-10-24Merge pie-platform-release to aosp-master - DO NOT MERGEandroid-wear-8.0.0_r2android-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r40.1Jandroid-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r39android-o-mr1-iot-release-smart-display-r30android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-cube_r2android-o-mr1-iot-release-cube-fsiandroid-o-mr1-iot-release-cube-fcsandroid-o-mr1-iot-release-1.0.8android-o-mr1-iot-release-1.0.7Bill Yi
Change-Id: Ibbec996b0c2308d425f6a60a833521735c5433ad
2018-10-24[automerger skipped] Merge pi-platform-release to stage-aosp-master - DO NOT ↵Bill Yi
MERGE am: 92f6051190 -s ours am: d9a4cce7db -s ours Change-Id: I31b9cad43d763bce3fbeb984d621f2e897d899ea
2018-10-24[automerger skipped] Merge pi-platform-release to stage-aosp-master - DO NOT ↵Bill Yi
MERGE am: 92f6051190 -s ours Change-Id: Id40f2898156e375b2e752657fbe6592d77b8a6e7
2018-10-24Merge pi-platform-release to stage-aosp-master - DO NOT MERGEBill Yi
Change-Id: I46a074ccc2b2540d7587f79a68bee754a7261441
2018-09-13Follow renames of host libraries am: 89c6d053f2 am: b7ac6209ceColin Cross
am: aea457c85a Change-Id: I292c1ea9946b7e5716aa97ceff15445ae64f8424
2018-09-13Follow renames of host libraries am: 89c6d053f2Colin Cross
am: b7ac6209ce Change-Id: I3fee43fe2740e581b7c134ba15b302b180a4deb0
2018-09-13Follow renames of host librariesColin Cross
am: 89c6d053f2 Change-Id: I0399039493e54eb7ee92b5855c16aaa6f583f3c9
2018-09-11Follow renames of host librariesandroid-o-mr1-iot-release-smart-display-r3android-o-mr1-iot-release-1.0.5oreo-mr1-1.2-iot-releasemaster-cuttlefish-testing-releaseColin Cross
Follow rename of dagger2-auto-value-host -> dagger2-auto-value. Test: m checkbuild Change-Id: Id243e12a42fa68d7bf33b10857068532fd1e68b0
2018-05-08Merge remote-tracking branch upstream-master into master am: 9d2aa11004 am: ↵Ivan Gavrilovic
6beb00b474 am: 2b50d295f5 Change-Id: I47f5a0cd0f3fcd010c2c3e0ea92acf49c382bf50
2018-05-08Merge remote-tracking branch upstream-master into master am: 9d2aa11004android-o-mr1-iot-release-1.0.4android-o-mr1-iot-release-1.0.3Ivan Gavrilovic
am: 6beb00b474 Change-Id: I5f801929d952fac02c0b652fb9003295f4bf7820
2018-05-08Merge remote-tracking branch upstream-master into masterIvan Gavrilovic
am: 9d2aa11004 Change-Id: Idc6b70ef72f260b65d9bb7b126f2af059a53e906
2018-05-04Merge remote-tracking branch upstream-master into masterandroid-p-preview-5android-p-preview-4android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1Ivan Gavrilovic
* origin/upstream-master: (43 commits) Allow --worker_max_instances to take MnemonicName=value to specify max for each named worker. Clean up code that directly imports nested classes like Builder, Entry, etc. Clean up code that directly imports nested classes like Builder, Entry, etc. Clean up code that directly imports nested classes like Builder, Entry, etc. Remove use of bare Immutable{List,Map,Set} Builder classes. Relax the assertion in Desugar for checking the calls to $closeResource(...). It is possible that $closeResource(...) is not used as the calls to it might be eliminated by some optimization tools, such as Proguard. Make attempting to change --config in invocation policy an error. Remove alphabetical sorting of options in the canonical list. Remove some deprecated resources flags. Remove category checking from incompatible changes. Support source versions newer than 8 in Bazel's annotation processors stub simple core library bridge methods that only differ in return type RELNOTES: None. Reflect core library moves in super calls, even in default method stubs. Always generate default method stubs for emulated methods. RELNOTES: None. Make KeepScanner tool search classpath for nearest definition of each member reference, instead of potentially referring to a subtype. Refactor desugar's class loading machinery and related code into a separate package for easier reuse in this tool. RELNOTES: None. Minor fixes to KeepScanner tool: - use Guava to read zip entries - Fix keep rules emitted for constructors RELNOTES: None. Support custom implementations of emulated core interface methods RELNOTES: None. tests,windows: enable android.desugar.runtime emulate dynamic dispatch of emulated default interface methods RELNOTES: None. Android desugar config options to exclude methods from interface emulation RELNOTES: None. send invocations to emulated interfaces through dispatch helper. fix logic for implementing emulated interfaces. RELNOTES: None. ... BUG: none Test: existing
2018-05-04Allow --worker_max_instances to take MnemonicName=value to specify max for ↵upstream-masterGoogler
each named worker. RELNOTES: Allow --worker_max_instances to take MnemonicName=value to specify max for each worker. PiperOrigin-RevId: 195244295 GitOrigin-RevId: 0c12603bedd4a270094137269b910a8587d3f93c Change-Id: I1ab6bf78b0101c7fbe842d18c62ce844869e4eec
2018-05-04Clean up code that directly imports nested classes like Builder, Entry, etc.jcater
PiperOrigin-RevId: 195100670 GitOrigin-RevId: 94b8702db5f9a905337aca74bfc2e7c436bf33ec Change-Id: Iea45a0d018d49a43181c1e357721d0b552bea777
2018-05-04Clean up code that directly imports nested classes like Builder, Entry, etc.jcater
PiperOrigin-RevId: 195040539 GitOrigin-RevId: 0a57d3dcb1cc014d65dbeb604035bb34a7191e29 Change-Id: I78ff7b0f225fbdcdeed44145fe0e28ffc0e4c197
2018-05-04Clean up code that directly imports nested classes like Builder, Entry, etc.jcater
PiperOrigin-RevId: 194985157 GitOrigin-RevId: 26ff4b3e3997aab79e39caf62c0d123a315d9478 Change-Id: Ibdf69191b559399f4775d82a52a26ce93567707c
2018-05-04Remove use of bare Immutable{List,Map,Set} Builder classes.jcater
Always use the more-qualified class name for clarity at the site of use. There are too many classes named Builder. PiperOrigin-RevId: 193649193 GitOrigin-RevId: 96d3c91c714544584c9174759bedebf2a6be5e71 Change-Id: I0c9cf0ab619bc743cd15ba63ad7355e008c0f1d1
2018-05-04Relax the assertion in Desugar for checking the calls to $closeResource(...).cnsun
It is possible that $closeResource(...) is not used as the calls to it might be eliminated by some optimization tools, such as Proguard. RELNOTES: n/a. PiperOrigin-RevId: 193262552 GitOrigin-RevId: 1a2ab6d54e2a8749549f41055cd66f3f6dfea4cc Change-Id: Ifdbd7b47132b541ecfd831d2a7b83d76853ec206
2018-05-04Make attempting to change --config in invocation policy an error.ccalvarin
It will not work as expected, since config is already expanded by this point in options processing. RELNOTES: None. PiperOrigin-RevId: 193196664 GitOrigin-RevId: 9c8c77502ff52907a327e6bdc9ac282da0af6b44 Change-Id: I5fa3aaec852b2d16bb8974291735ba4da1709243
2018-05-04Remove alphabetical sorting of options in the canonical list.ccalvarin
This was broken for --config. Doing this properly requires keeping the order in which the options were given, which could be done either by filtering the ordered list according to which values affect the final outcome or by tracking the order correctly. I picked the later: the option order was not explicitly tracked for expansions before but now it is. RELNOTES: canonicalize-flags no longer reorders the flags PiperOrigin-RevId: 192132260 GitOrigin-RevId: aa98bc29dae14119797febd447302842f4ac68af Change-Id: I82fb65d38569d4e5a9808f032da1ccc2304e2f18
2018-05-04Remove some deprecated resources flags.ajmichael
RELNOTES: None PiperOrigin-RevId: 191624839 GitOrigin-RevId: c4987159509cd8de3f0c4070b53ea1bf3b8278cd Change-Id: Iaf2947340b544491d975d64d19b5337be25a9ac6
2018-05-04Remove category checking from incompatible changes.ccalvarin
String categories are deprecated, replace this special-cased value with a specific OptionMetadata tag, TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES. RELNOTES: None. PiperOrigin-RevId: 191069412 GitOrigin-RevId: 78a5fcff8a311c71cfe163a40856f7413e346409 Change-Id: I1be6e8a8c592e0fa8ec29a631957d840f34a2113
2018-05-04Support source versions newer than 8 in Bazel's annotation processorscushon
This quiets some build warnings. PiperOrigin-RevId: 190958692 GitOrigin-RevId: eef80048e2c59e3be974144ce9cd90b9f90294fb Change-Id: Ibf4e681bfc1ef540c2012df32d2970ed71240e65
2018-05-04stub simple core library bridge methods that only differ in return typekmb
RELNOTES: None. PiperOrigin-RevId: 190559240 GitOrigin-RevId: 327c74df7c3b4820a0620bf9696c3f88bffebda3 Change-Id: I0f9a4718ff0e8714e3133ecf0ef528bb7a039bba
2018-05-04Reflect core library moves in super calls, even in default method stubs. ↵kmb
Always generate default method stubs for emulated methods. RELNOTES: None. PiperOrigin-RevId: 189423933 GitOrigin-RevId: 44a26afb091f2d23d68bcad53e45a319b299867a Change-Id: I8eaecb5a1a29051a14d0529005a56a225b2f4d8b
2018-05-04Make KeepScanner tool search classpath for nearest definition of each member ↵kmb
reference, instead of potentially referring to a subtype. Refactor desugar's class loading machinery and related code into a separate package for easier reuse in this tool. RELNOTES: None. PiperOrigin-RevId: 188825305 GitOrigin-RevId: 2cbeb24a9c41c6b14ecbb26e2e198fbaf79aea64 Change-Id: Ie2969cb1e1c86aa68c5a6dc0be6b42b09dfaee70
2018-05-04Minor fixes to KeepScanner tool:kmb
- use Guava to read zip entries - Fix keep rules emitted for constructors RELNOTES: None. PiperOrigin-RevId: 188781547 GitOrigin-RevId: 8e038b04e068285ba02b7934a7df25803802daff Change-Id: Ifc99978b041f9c1c97ff707aafac90c59187c6c8
2018-05-04Support custom implementations of emulated core interface methodskmb
RELNOTES: None. PiperOrigin-RevId: 188760099 GitOrigin-RevId: bff3472e4013c053e452fad7948ad68c5cbd5692 Change-Id: I6fe0153afa5bb57d27da9ca43f2a6796c8907e95
2018-05-04tests,windows: enable android.desugar.runtimeLaszlo Csomor
Add the c.g.d.build.android.desugar.runtime tests to the transitive closure of //src:all_windows_tests, thus running them on CI. See https://github.com/bazelbuild/bazel/issues/4292 Closes #4796. PiperOrigin-RevId: 188312286 GitOrigin-RevId: 63f6e2293fe8e679732d3d180afc0e781ae40241 Change-Id: I0975c9291a5a043d562242e65e6ad5557b958d36
2018-05-04emulate dynamic dispatch of emulated default interface methodskmb
RELNOTES: None. PiperOrigin-RevId: 187671513 GitOrigin-RevId: babbfdc6cb98a23fe0dadf02d7dc407504e9cac5 Change-Id: Ie23b521a82464d07f625cefad8418c502f0978f0
2018-05-04Android desugar config options to exclude methods from interface emulationkmb
RELNOTES: None. PiperOrigin-RevId: 187551970 GitOrigin-RevId: f090082d62c3ea779d2dd33eb0fd7355b0ee9456 Change-Id: Id9ff715440eace84432ae6c5b88f7daaa43f36db
2018-05-04send invocations to emulated interfaces through dispatch helper.kmb
fix logic for implementing emulated interfaces. RELNOTES: None. PiperOrigin-RevId: 187520298 GitOrigin-RevId: 4b6c0ec4b54e258763ce22e1a7f529d293aff026 Change-Id: If35dfebaa31dc5ea170c945f0ae7b26edf260ba2
2018-05-04Fix invocation policy's handling of the null default when filtering values.ccalvarin
For a filter on option values (either by whitelist, allow_values, or blacklist, disallow_values), one of the options for what to do when encountering a disallowed value is to replace it with the default. This default must be itself an allowed value for this to make sense, so this is checked. This check, however, shouldn't apply to flags that are null by default, since these flags' default value is not parsed by the converter, so there is no guarantee that there exists an accepted user-input value that would also set the value to NULL. In these cases, we assume that "unset" is a distinct value that is always allowed. RELNOTES: None. PiperOrigin-RevId: 187475696 GitOrigin-RevId: 06e687495b4c85f86215c7cc7f1a01dc7f6709f9 Change-Id: I1949e180ce32094faf0f46bc7cd627f464ca53f6
2018-05-04add binary flag for core library desugaring and gate existing configuration ↵kmb
flags by it. RELNOTES: None. PiperOrigin-RevId: 187075897 GitOrigin-RevId: cc090ed9b8544deea7a7c5cab17b263926e8c48b Change-Id: I43a2d49e45095b23fc2c1249d1d3a97274e5b089
2018-05-04Rename and implement emulated interfaces as needed during android desugaringkmb
RELNOTES: None. PiperOrigin-RevId: 186904092 GitOrigin-RevId: 30af177d5cd2188ee6e23ba849d865b8a42ad8f8 Change-Id: I6ba0cd552638f560bdbfef1ff308ba436a2de720