Commit Graph

3327 Commits

Author SHA1 Message Date
Treehugger Robot
51636c0ae9 Merge "Rename class2greylist" 2020-08-17 16:33:21 +00:00
Anton Hansson
8f903f30ff Remove special-cased stub deps on framework-res
This dep is now possible to express in native Android.bp syntax,
which makes the build easier to understand.

Bug: 161214753
Test: build sdk, diff out/dist before and after
Change-Id: I878eda49b5bf54aaf581fc52e0fe9719e4bcdfce
Merged-In: I878eda49b5bf54aaf581fc52e0fe9719e4bcdfce
2020-08-17 11:00:03 +01:00
Anton Hansson
092aca410f Add a tagged output for app's exportPackage
This allows the android stubs to depend on framework-res' exportPackage
without special-casing inside the build system.

Bug: 161214753
Test: depending on this output in a followup CL
Change-Id: I8c5d17540d2624974983d73e56ba17898505dba8
2020-08-17 11:00:00 +01:00
Treehugger Robot
93480617f7 Merge "Rename ApexName to ApexVariationName" am: a07777d434 am: be9a9035f2 am: 11ff8974eb am: 30bcd5efde am: 87733af000
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1399831

Change-Id: Iebb18f17f745570384d883a1d98f37a80fed3ec5
2020-08-15 07:35:11 +00:00
Treehugger Robot
11ff8974eb Merge "Rename ApexName to ApexVariationName" am: a07777d434 am: be9a9035f2
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1399831

Change-Id: I31f1d4eedbad29ac1562834ea70eb52e0c543ecd
2020-08-15 07:02:47 +00:00
Treehugger Robot
a07777d434 Merge "Rename ApexName to ApexVariationName" 2020-08-15 06:43:52 +00:00
Colin Cross
e07f2316b7 Rename ApexName to ApexVariationName
In preparation for reusing the same variation for multiple apexes,
rename ApexName to ApexVariationName.

Bug: 164216768
Test: all soong tests
Change-Id: I88f2c5b192ffa27acd38e01952d0cefd413222a0
2020-08-13 17:50:29 -07:00
Colin Cross
175db1c318 Merge changes I02fb745a,Iccc96c0d am: a24b9deb5f am: 094956cf00 am: e3b91dc7fb am: d33592762f am: e9ddea869c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1378536

Change-Id: I3c8f1a5400ba9d2a54cfc2bcc252e7b4efa8ec0c
2020-08-13 23:14:17 +00:00
Colin Cross
e3b91dc7fb Merge changes I02fb745a,Iccc96c0d am: a24b9deb5f am: 094956cf00
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1378536

Change-Id: I8a434610d1869e30a853208d974a16196aa9e884
2020-08-13 22:28:35 +00:00
Colin Cross
a24b9deb5f Merge changes I02fb745a,Iccc96c0d
* changes:
  Follow all shared library dependencies when collecting JNI libraries
  Handle static unwinder in ltoDepsMutator
2020-08-13 21:55:53 +00:00
Andrei Onea
23fea04e27 Rename class2greylist
Use a more inclusive name (go/hiddenapi-list-renaming).
Bug: 163797539
Test: atest class2nonsdklisttest

Change-Id: I1b72c243746dde9926a11d5a559b84e753e8fd4f
2020-08-13 17:33:14 +01:00
Ramy Medhat
2889166b6c Make the default exec strategy for javac/r8/d8 remote local fallback.
Test: presubmits
Change-Id: Ia67c2a1e13638db1fb9c93755ce72159767d46b4
2020-08-13 11:41:35 -04:00
Treehugger Robot
2183f1d134 Merge "Increase heap size for lint tool" am: fd5978a473 am: 4cb7543396 am: 9d898694c8 am: b556a01bb5 am: f12249fe07
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1362698

Change-Id: Ibe91eadaea369603b0319b1a2f49b6b1a0330a9d
2020-08-12 23:34:43 +00:00
Treehugger Robot
f321add692 Merge "Stop using prebuilt NDK CRT objects." am: 50a58067e6 am: 52b4132004 am: fc7baeb866 am: 67e27821e6 am: 13309028fb
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1363344

Change-Id: Ie9c8547514eb573bb83c90040ff603e438726f3e
2020-08-12 23:33:50 +00:00
Treehugger Robot
9d898694c8 Merge "Increase heap size for lint tool" am: fd5978a473 am: 4cb7543396
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1362698

Change-Id: I7580ea8d79d29d491bd6cff2845e35de48706144
2020-08-12 22:34:21 +00:00
Treehugger Robot
fc7baeb866 Merge "Stop using prebuilt NDK CRT objects." am: 50a58067e6 am: 52b4132004
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1363344

Change-Id: I0aaa0a1664f696c712bdf260663bf4b4648aea9c
2020-08-12 22:33:47 +00:00
Treehugger Robot
fd5978a473 Merge "Increase heap size for lint tool" 2020-08-12 22:07:18 +00:00
Treehugger Robot
50a58067e6 Merge "Stop using prebuilt NDK CRT objects." 2020-08-12 22:01:27 +00:00
Andrei-Valentin Onea
9e5c26d10e Merge "Rename hiddenapi csv artifact" am: d89374c5a7 am: ed7377cc19 am: 3ee7167f39 am: 358ca8979a am: 295b05080b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1394869

Change-Id: I328465481113d5219f871e4d25f3de254f4f5dee
2020-08-12 18:28:27 +00:00
Andrei-Valentin Onea
3ee7167f39 Merge "Rename hiddenapi csv artifact" am: d89374c5a7 am: ed7377cc19
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1394869

Change-Id: I4066161c643f710384fd7e3f606e9943242c21cf
2020-08-12 17:44:48 +00:00
Andrei-Valentin Onea
d89374c5a7 Merge "Rename hiddenapi csv artifact" 2020-08-12 17:08:10 +00:00
Dan Albert
92fe740677 Stop using prebuilt NDK CRT objects.
We don't need the prebuilt versions. The NDK CRT objects are (now)
built from the platform sources and the only difference is that the
NDK CRT objects also include an ELF note that identifies the NDK
version, which isn't helpful for anything built by the platform.

Add a `crt` property to cc_object that allows CRT objects to identify
themselves. CRT objects, unlike other modules, will have a variant
built per-API level they support, rather than just an SDK variant and
a platform variant. This is needed because new CRT objects will rely
on APIs not available in old libcs and old CRT objects will not
support all the features of a modern one.

Test: treehugger
Bug: http://b/159925977
Change-Id: I6595485fa1bfe0ad4945193d344b863f64eec654
2020-08-11 15:06:55 -07:00
Dan Willemsen
4e1a75e03c Remove obsolete PDK build functionality am: ba3876a91a am: 86cea476f6 am: 679614c82a
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12344954

Change-Id: I3278555b27ae0c1186d343d195801c0574bc8f9f
2020-08-11 07:06:38 +00:00
Dan Willemsen
9f43597ff7 Remove obsolete PDK build functionality
This hasn't worked for a couple years, and continues to bitrot. Just
remove it.

Adds a bpfix rule so that we can eventually remove the
product_variables.pdk definition, which is now always a no-op.

Test: treehugger
Change-Id: I830b54d419b59f6db1d4617b45e61a78234f57a7
Merged-In: I830b54d419b59f6db1d4617b45e61a78234f57a7
2020-08-11 01:11:44 +00:00
Dan Willemsen
ba3876a91a Remove obsolete PDK build functionality
This hasn't worked for a couple years, and continues to bitrot. Just
remove it.

Adds a bpfix rule so that we can eventually remove the
product_variables.pdk definition, which is now always a no-op.

Test: treehugger
Change-Id: I830b54d419b59f6db1d4617b45e61a78234f57a7
2020-08-10 18:10:38 -07:00
Andrei Onea
47841973b2 Rename hiddenapi csv artifact
Use a more inclusive terminology (go/hiddenapi-list-renaming).

Bug: 162844296
Test: m
Change-Id: I9feea8f9d8e88977d949dfe4dcbd7e72bf77a451
2020-08-10 17:23:52 +01:00
Jingwen Chen
4c2d4c4f0f Merge "Fix droiddoc disting when WITHOUT_CHECK_API is true." am: fc16b6684e am: 46b6b40c7a am: f00439326e am: a7c963a52a am: d5dd79457d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1371680

Change-Id: I5904004a215edc44e7e46f56a8b36fa6b11fd4ea
2020-08-10 06:53:16 +00:00
Jingwen Chen
f00439326e Merge "Fix droiddoc disting when WITHOUT_CHECK_API is true." am: fc16b6684e am: 46b6b40c7a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1371680

Change-Id: I1d2aaebaaf4e6c153d287e5ccc77cf9d766a42eb
2020-08-10 06:00:00 +00:00
Jingwen Chen
fc16b6684e Merge "Fix droiddoc disting when WITHOUT_CHECK_API is true." 2020-08-10 05:22:24 +00:00
Jeongik Cha
57bc5964e5 Merge "Introduce AlwaysUsePrebuiltSdks" am: 6df337255c am: 497158434d am: ec87b5c85a am: 151b1e25ec am: a7144e5ef5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1356666

Change-Id: I5de525afc4a159cfc2ab11ebb3d1f4b3b440593d
2020-08-10 02:04:29 +00:00
Jeongik Cha
ec87b5c85a Merge "Introduce AlwaysUsePrebuiltSdks" am: 6df337255c am: 497158434d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1356666

Change-Id: I92deaf13c3c7c7ae684bd11d5bd5d575d264bfb1
2020-08-10 01:25:06 +00:00
Jeongik Cha
6df337255c Merge "Introduce AlwaysUsePrebuiltSdks" 2020-08-10 00:51:56 +00:00
Treehugger Robot
4f187e3cc1 Merge "Merge libs/ directory of imported aars into classes.jar" am: 7189f5d1e2 am: 9a203fcd90 am: b04255fc23 am: 27bd8fd7a6 am: c67f25165a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1392878

Change-Id: I4bd3506c279d55d226200a3858010636ec857048
2020-08-08 02:04:54 +00:00
Treehugger Robot
b04255fc23 Merge "Merge libs/ directory of imported aars into classes.jar" am: 7189f5d1e2 am: 9a203fcd90
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1392878

Change-Id: I235cf9ed8a4926179b5b743570b08189609c6440
2020-08-08 01:20:59 +00:00
Treehugger Robot
7189f5d1e2 Merge "Merge libs/ directory of imported aars into classes.jar" 2020-08-08 00:51:38 +00:00
Colin Cross
205e91183e Merge libs/ directory of imported aars into classes.jar
AARs can provide extra classes in the libs/ directory that should
be treated the same as classes.jar, merge them into a single jar
when extracting the AAR.

Bug: 162892721
Test: m androidx.appsearch_appsearch
Change-Id: I92bf46f47ce5f3dce16c42197c15ed256304fda2
2020-08-07 14:07:23 -07:00
Jeongik Cha
816a23a50d Introduce AlwaysUsePrebuiltSdks
Instead of UnbundledBuild, use AlwaysUsePrebuiltSdks
to determine if java modules needs to be built against prebuilt sdks.
And rename UnbundledBuildUsePrebuiltSdks to AlwaysUsePrebuiltSdks to
express its behavior more correctly.(It can be orthgonal to "Unbundled")

Bug: 160390776
Test: TARGET_BUILD_UNBUNDLED_IMAGE=true m vendorimage

Change-Id: I0be7265c1959d8774c295372cd7a9250169f6df9
2020-08-07 12:15:52 +09:00
Ulyana Trafimovich
a17ed4d5a7 Merge "Add structured representation for colon-separated jar lists." am: 910eb70891 am: 434e708101 am: 67ee1adb6a am: b696ad8f31 am: cc2d5c2215
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1354005

Change-Id: I2c29f4095add1b56a1d0222e88b54650577ea0b1
2020-08-06 17:11:02 +00:00
Ulyana Trafimovich
67ee1adb6a Merge "Add structured representation for colon-separated jar lists." am: 910eb70891 am: 434e708101
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1354005

Change-Id: I155b303e73442fb44f38621bf0fa9f2157a77370
2020-08-06 16:05:43 +00:00
Ulyana Trafimovich
910eb70891 Merge "Add structured representation for colon-separated jar lists." 2020-08-06 15:07:27 +00:00
Colin Cross
895b0cd4ec Merge "Add libraryDependencyTag to track dependencies on static and shared libraries" am: 2eddd06879 am: f6c453a3fd am: 7f034dabf1 am: 6ba6e16f17 am: a4c3ca5e1a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1378332

Change-Id: Id5c3bd1af0f963a397e0af152b34a274401298ed
2020-08-06 13:46:40 +00:00
Liz Kammer
c060b5c12a Merge "Add property api_levels_jar_filename to droidstubs" am: 9c55b0efa2 am: a4278eba24 am: c51a310131 am: 2d8ce76f05 am: 88b22e0812
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1388544

Change-Id: Iecbded6aff2a2d551c620b8405c216a0fb90a005
2020-08-06 13:45:17 +00:00
Liz Kammer
17bd94ad5c Merge "Refactor java compileDex" am: 9eb51fc9d4 am: 46971c5469 am: 898ed67ecd am: 321578ef15 am: e834639201
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1360617

Change-Id: Ic9e187d9b197d5a34959cf6541fa4c3b5f11aeb7
2020-08-06 13:44:55 +00:00
TreeHugger Robot
4b2e15f331 Merge "Rename hiddenapi manual lists" into rvc-dev-plus-aosp am: 6874de4c9c am: 1aac63e601 am: 3a1a0a1ba0
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12316867

Change-Id: I34ed9d290ddb681a4bfa880d77d0c6d8e200ab2e
2020-08-06 13:44:08 +00:00
Colin Cross
7f034dabf1 Merge "Add libraryDependencyTag to track dependencies on static and shared libraries" am: 2eddd06879 am: f6c453a3fd
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1378332

Change-Id: I20996cc0ed388013f24966a2d8a9462177bfe45e
2020-08-06 13:12:06 +00:00
Liz Kammer
c51a310131 Merge "Add property api_levels_jar_filename to droidstubs" am: 9c55b0efa2 am: a4278eba24
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1388544

Change-Id: Ic593590f8f3be3c66bcaa4d0a837dbe9fe865152
2020-08-06 13:11:11 +00:00
Liz Kammer
898ed67ecd Merge "Refactor java compileDex" am: 9eb51fc9d4 am: 46971c5469
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1360617

Change-Id: I574bbe46916d6e268956732f37022ba5f464fcaa
2020-08-06 13:10:52 +00:00
Colin Cross
2eddd06879 Merge "Add libraryDependencyTag to track dependencies on static and shared libraries" 2020-08-06 00:06:28 +00:00
Liz Kammer
9c55b0efa2 Merge "Add property api_levels_jar_filename to droidstubs" 2020-08-05 19:05:13 +00:00
Andrei Onea
9bdaf74c97 Rename hiddenapi manual lists
Use new names for lists from go/hiddenapi-list-renaming
Bug: 162827370
Test: m

Change-Id: I9522f32faa46d1d49aefad0921ba6d9c427d8779
2020-08-05 18:43:25 +01:00