Commit Graph

19561 Commits

Author SHA1 Message Date
Treehugger Robot
7b00b62a89 Merge "Repeat kapt processor argument for multiple processors" am: 52c0b7b35b
Change-Id: Ifb56e6cac2dd38c96be1ed3e0153258301469d51
2020-04-24 16:01:16 +00:00
Ivan Lozano
fffbd97afa Merge "Clean up rust tests." am: dc455395ee
Change-Id: I117a9497e9be9d12ec8b46a829867d5b92bc62f8
2020-04-24 16:00:52 +00:00
Treehugger Robot
52c0b7b35b Merge "Repeat kapt processor argument for multiple processors" 2020-04-24 15:51:13 +00:00
Ivan Lozano
dc455395ee Merge "Clean up rust tests." 2020-04-24 15:43:22 +00:00
Treehugger Robot
2b4f7797d9 Merge "android_app_import is now ApexModule" am: 65c1d14cfa
Change-Id: Idcae9037bed05e59cdc52f7af41dd1ccd6ac13a1
2020-04-24 12:25:58 +00:00
Treehugger Robot
65c1d14cfa Merge "android_app_import is now ApexModule" 2020-04-24 12:12:23 +00:00
Ulyana Trafimovich
0f4722751b Merge "Add "updatable" property to ApexModule interface." am: dc9510537a
Change-Id: Ic4397e6cce28ecc7630ea7a7f974491118734000
2020-04-24 08:47:11 +00:00
Ulyana Trafimovich
dc9510537a Merge "Add "updatable" property to ApexModule interface." 2020-04-24 08:25:34 +00:00
Treehugger Robot
a1c10cf43c Merge "Remove libopus from apex_available whitelist" am: f4dc25b476
Change-Id: Ie099800f219f2325cb9b0441c07d7b1d0154d5c7
2020-04-24 00:50:37 +00:00
Treehugger Robot
f4dc25b476 Merge "Remove libopus from apex_available whitelist" 2020-04-24 00:33:59 +00:00
Nicolas Geoffray
ab70364c04 Merge "Add conscrypt-module-host-exports to the list." am: e4a4b6ac43
Change-Id: I4dbe9247b8159a01bfad0bd4d2e59cbf96ad806c
2020-04-23 18:11:45 +00:00
Nicolas Geoffray
e4a4b6ac43 Merge "Add conscrypt-module-host-exports to the list." 2020-04-23 17:57:18 +00:00
Matthew Maurer
2871fc0c2c Merge "Update Android's rustc version 1.40.0->1.42.0" am: 1f434b26c1
Change-Id: Ifb01144fe9908649ce0b22e2398419336453aaf2
2020-04-23 17:07:53 +00:00
Matthew Maurer
1f434b26c1 Merge "Update Android's rustc version 1.40.0->1.42.0" 2020-04-23 16:53:41 +00:00
Ivan Lozano
2f15bae336 Clean up rust tests.
The list of required deps for testing is a lot shorter as we no longer
include as many prebuilt libraries and our list of stdlibs is much
shorter. Remove the libraries we no longer need, and add the
non-prebuilt libstd and libtest to the deps generated for every test.

Bug: 153463188
Test: Soong tests pass.
Change-Id: I94f7b514797ab8d6aedb543ea6afdb07611b7293
2020-04-23 09:39:34 -04:00
Ulya Trafimovich
7c140d828a Add "updatable" property to ApexModule interface.
For a given variant of a module that implements ApexModule interface,
the "updatable" property tests if this variant comes from an updatable
apex. For platform variants it is always false.

Test: lunch aosp_walleye-userdebug && m nothing
Bug: 138994281
Change-Id: I2d4c54fb397e29dc9b3203be7fb17be4536529f7
2020-04-23 11:58:53 +01:00
Anton Hansson
bd6dbb3b56 Merge "Remove unused arguments in droiddoc" am: 14f42d34af
Change-Id: Ieab243dbb9f3c49f2df46bbf292c9e762b704180
2020-04-23 10:16:25 +00:00
Jiyong Park
592a6a41de android_app_import is now ApexModule
Like other prebuilts (java_import, etc.), android_app_import has now
became ApexModule. It means it supports APEX-specific properties like
apex_available, min_sdk_version, etc.

Bug: 154488897
Test: m
Change-Id: I86f02771496ffc68c98a50ddfc786788fa1e05fb
2020-04-23 19:02:04 +09:00
Anton Hansson
14f42d34af Merge "Remove unused arguments in droiddoc" 2020-04-23 09:56:40 +00:00
Nicolas Geoffray
0a2e297206 Add conscrypt-module-host-exports to the list.
Test: build-mainline-modules.sh
Change-Id: I9ca14cc37a69b1172f52412297977dd03c6ca1a0
2020-04-23 09:35:45 +01:00
Jooyung Han
47db5adb06 Remove libopus from apex_available whitelist
libopus sets its own apex_available property.

Bug: 150999716
Test: m
Change-Id: I4cff3ebb7e017a1fb629b18b72238acf3df0d26e
2020-04-23 15:54:23 +09:00
Jooyung Han
a1181069b0 Merge "Skip version mutator for host/ramdisk/recovery" am: 79519b6caf
Change-Id: Icd074f9808aa765bd4ebad522a4135dc5fe1914f
2020-04-23 04:01:26 +00:00
Jooyung Han
79519b6caf Merge "Skip version mutator for host/ramdisk/recovery" 2020-04-23 03:46:30 +00:00
Jooyung Han
624d35cb4d Skip version mutator for host/ramdisk/recovery
"version" mutator creates stubs variants for "cc" libraries with
"stubs.versions". These stubs are for APEX-APEX or APEX-Platform
boundaries.

For host/ramdisk/recovery variants, stubs are not necessary.

Exempt-From-Owner-Approval: cp from internal

Bug: 153698496
Test: m
Merged-In: Id576c4318d9d69246a4a7e2fb4145d5fd2ab9416
Change-Id: Id576c4318d9d69246a4a7e2fb4145d5fd2ab9416
(cherry picked from commit c40b5193fe)
2020-04-23 03:46:09 +00:00
Colin Cross
5a11686e64 Repeat kapt processor argument for multiple processors
kapt claims to support a comma separated list of annotation
processors, but it errors if multiple annotation processors
are given.  Surrounding the the list with {} does not error,
but it also doesn't even warn if the second element in the
list is garbage, so it may not be running the second
processor.  Repeat the processor argument for each
annotation processor class instead.

Bug: 154736649
Test: TestKapt
Test: m checkbuild
Change-Id: I4c7c161dbf867d7fba1aaf16fd5e502647e3f682
2020-04-22 20:43:37 -07:00
Oliver Nguyen
0c881d1d4d Merge "Only package gcno files for gcov coverage builds." am: 0e8579b4f1
Change-Id: Ief3e76ac42d3e25340f29b12542ccc42d3ef59fd
2020-04-23 01:00:03 +00:00
Oliver Nguyen
0e8579b4f1 Merge "Only package gcno files for gcov coverage builds." 2020-04-23 00:45:51 +00:00
Oliver Nguyen
0452678a40 Only package gcno files for gcov coverage builds.
Bug: 154550223
Test: m -j NATIVE_COVERAGE=true droid dist tests
Test: m -j CLANG_COVERAGE=true droid dist tests
Merged-In: I81598bcab8db105de6692156c001fc961409ce63
Change-Id: I81598bcab8db105de6692156c001fc961409ce63
2020-04-22 13:30:07 -07:00
Matthew Maurer
e972e8822b Update Android's rustc version 1.40.0->1.42.0
Test: cd external/rust/crates; mm
Bug: 152633654
Change-Id: Ic7cbc1869fdffa332033cecd4c4596775946d0e9
2020-04-22 13:22:25 -07:00
Anton Hansson
0f15a9f866 Remove unused arguments in droiddoc
Nothing passes these arguments, so it's dead code.

There is a lot of other cruft in this file that is effectively
dead code, but required further cleanup.

Bug: 152479829
Test: m
Change-Id: Ib2630d4d49f21003b17e2331b0900e8df0a27e66
Merged-In: Ib2630d4d49f21003b17e2331b0900e8df0a27e66
(cherry picked from commit 0ee713aa0e)
2020-04-22 21:15:09 +01:00
Treehugger Robot
9e6db091f5 Merge "cc: add min_sdk_version prop" am: 1b7599d918
Change-Id: I77665333fa5e77ac3614acb3f2d4b668f059475f
2020-04-22 01:03:54 +00:00
Treehugger Robot
1b7599d918 Merge "cc: add min_sdk_version prop" 2020-04-22 00:48:34 +00:00
Treehugger Robot
b9d442848e Merge "Make sure car-lib system APIs are not changing unintentionally" am: 524af35fdc
Change-Id: I6aa37e4b886e34e70b14d52e19d6231ed4755534
2020-04-22 00:07:05 +00:00
Treehugger Robot
524af35fdc Merge "Make sure car-lib system APIs are not changing unintentionally" 2020-04-21 23:43:13 +00:00
Dan Willemsen
a76ecf53be Merge "Stop dumping obsolete variables" am: c4c33e0e58
Change-Id: I5739827ad8a46026a74076a9355b65e9a2cb1054
2020-04-21 22:46:01 +00:00
Treehugger Robot
c6de745c0f Merge "Turn on ninja phony outputs" am: 9145d847e4
Change-Id: Iabb1a7493988ae296f5a815f6b02a151e62eac07
2020-04-21 22:45:30 +00:00
Dan Willemsen
c4c33e0e58 Merge "Stop dumping obsolete variables" 2020-04-21 22:35:36 +00:00
Treehugger Robot
9145d847e4 Merge "Turn on ninja phony outputs" 2020-04-21 22:30:24 +00:00
Makoto Onuki
a573f1906f Make sure car-lib system APIs are not changing unintentionally
Soon had a special rule to skip the "released-api" compatibility
check on the car-lib system API. We should enable it.

Bug: 154632388
Test: m droid
Change-Id: Ib4e584def7e786e3e129cd2bfb23958ac9b4b72d
Merged-in: Ib4e584def7e786e3e129cd2bfb23958ac9b4b72d
2020-04-21 12:37:37 -07:00
Jooyung Han
379660c9c2 cc: add min_sdk_version prop
min_sdk_version is the minimum version of the sdk that the compiled
artifacts will run against.

For example, when a module is used by two APEXes and their
min_sdk_versions are set to 29 and 30, then the module should support
both versions even if it is compiled against 30. Therefore,
min_sdk_version of the module needs to be set 29 in that case. In
general, this is set as the minimum value of min_sdk_vesions of APEXes.

For now, there's no build-time checks about this prop even if the prop
is set.

Bug: 145796956
Bug: 152655956
Bug: 153333044
Test: m nothing
Change-Id: I072ad8c317d2615e8b08e4e7ea2db8e7955b4b12
2020-04-21 15:24:00 +09:00
satayev
29a95d1f83 Merge "Remove Android compat annotations on jarjar transform." am: aa52a04fdd
Change-Id: I8d356c980b84c5d1ef3dc2132e879c4e21ba1592
2020-04-20 15:27:28 +00:00
satayev
aa52a04fdd Merge "Remove Android compat annotations on jarjar transform." 2020-04-20 15:11:09 +00:00
Treehugger Robot
bd5c3aa81a Merge "Report reverse dependencies for dangling rules." am: a268d59e8b
Change-Id: I92a6eb03814e4480eeeeb200e517833f7dfc7b8b
2020-04-20 14:03:46 +00:00
Treehugger Robot
a268d59e8b Merge "Report reverse dependencies for dangling rules." 2020-04-20 13:41:55 +00:00
Treehugger Robot
fda6aef9d7 Merge "Add logging for stats on finished commands" am: 5df873862d
Change-Id: I43a64782749b941dcde0a316be7fbb4bb12c9028
2020-04-20 13:04:56 +00:00
Treehugger Robot
5df873862d Merge "Add logging for stats on finished commands" 2020-04-20 11:56:24 +00:00
Artur Satayev
762d9f38af Remove Android compat annotations on jarjar transform.
Set a system property to enable Android specific transformer that drops
UnsupportedAppUsage annotation for repackaged classes to avoid adding
unneeded hidden api symbols on jarjar.

Bug: 146418363
Test: m, manual diff hiddenapi-flags.csv
Exempt-From-Owner-Approval: patch approved by owner
Change-Id: I10b49feb15257301574162b5d389cbc30277f672
2020-04-20 11:17:18 +00:00
Treehugger Robot
49840b9cdc Merge "Do not check ABI for coverage variants" am: acc5448f2b
Change-Id: Iedf40c8ac59318d131254a2689525948f9764c39
2020-04-20 04:10:55 +00:00
Treehugger Robot
acc5448f2b Merge "Do not check ABI for coverage variants" 2020-04-20 03:50:03 +00:00
Dan Willemsen
acafc67399 Add logging for stats on finished commands
Includes the exit code, real time, user time, system time, and maxrss.

Test: m nothing; check out/soong.log
Change-Id: I93dea9fc1c7fb892150e16e11cae09f2372f4429
2020-04-19 12:06:14 -07:00