Commit Graph

52461 Commits

Author SHA1 Message Date
TreeHugger Robot
46679cdbf3 Merge "Allow skipping android.car-module library in PRODUCT_APEX_BOOT_JARS" 2021-11-02 17:33:20 +00:00
Ivan Lozano
09ac01aa9d Merge changes I2373d366,I908496d9 am: c7a4de25c1 am: 9729b0a9ed am: 8f7bf4891b am: 508ccd58fe am: 7c2cdd055c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1877337

Change-Id: I7906faab94f0a0e2048cc56a192216e8c0968205
2021-11-02 13:46:49 +00:00
Ivan Lozano
7c2cdd055c Merge changes I2373d366,I908496d9 am: c7a4de25c1 am: 9729b0a9ed am: 8f7bf4891b am: 508ccd58fe
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1877337

Change-Id: I996e05da9a23491a260273ff9ffa98fc61ff7064
2021-11-02 13:28:25 +00:00
Ivan Lozano
508ccd58fe Merge changes I2373d366,I908496d9 am: c7a4de25c1 am: 9729b0a9ed am: 8f7bf4891b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1877337

Change-Id: Ibad11f3251034ea22faef5cf41cd91295ae49990
2021-11-02 13:17:14 +00:00
Ivan Lozano
8f7bf4891b Merge changes I2373d366,I908496d9 am: c7a4de25c1 am: 9729b0a9ed
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1877337

Change-Id: I391c8cfbb29a7bd9d8749d4f11a8c2ee769c1e6c
2021-11-02 13:05:23 +00:00
Ivan Lozano
9729b0a9ed Merge changes I2373d366,I908496d9 am: c7a4de25c1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1877337

Change-Id: Id7cf46fe0e98bf51d2e3a9364513d64f18e09466
2021-11-02 12:52:15 +00:00
Ivan Lozano
c7a4de25c1 Merge changes I2373d366,I908496d9
* changes:
  rust: Add common interface for binaries
  rust: Support whole static libraries with any name
2021-11-02 12:37:11 +00:00
Mohammad Islam
71db0633af Merge "Add exemption for test_framework-apexd and test_service-apexd jars" am: 569f032a9e am: 509ceec200 am: 3890a127dd am: bd4d70075a am: 52977449a0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1853102

Change-Id: Ia115e020ef5cabfcc5ca52ebb6d9ca5f935bd67f
2021-11-02 10:50:35 +00:00
Treehugger Robot
49d319feb8 Merge "Adding jdk.internal in the allowed package list" am: 31ec5a0709 am: 9ed051884a am: a444f8de69 am: 4abe9dbef4 am: 2fe471c992
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1877319

Change-Id: Ia6193f772a3649bca222daae37ecd540c2c1a66b
2021-11-02 10:49:50 +00:00
Mohammad Islam
52977449a0 Merge "Add exemption for test_framework-apexd and test_service-apexd jars" am: 569f032a9e am: 509ceec200 am: 3890a127dd am: bd4d70075a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1853102

Change-Id: I5f68cd5ef393698e54ff6da704b7981cfcabd4f2
2021-11-02 10:34:42 +00:00
Treehugger Robot
2fe471c992 Merge "Adding jdk.internal in the allowed package list" am: 31ec5a0709 am: 9ed051884a am: a444f8de69 am: 4abe9dbef4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1877319

Change-Id: I99a0634edabf7e9d5415158163b472a3a492f087
2021-11-02 10:34:18 +00:00
Mohammad Islam
bd4d70075a Merge "Add exemption for test_framework-apexd and test_service-apexd jars" am: 569f032a9e am: 509ceec200 am: 3890a127dd
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1853102

Change-Id: Ief360be1e63c339f1b8aa6ceee2fbf55d0188d03
2021-11-02 10:26:19 +00:00
Treehugger Robot
4abe9dbef4 Merge "Adding jdk.internal in the allowed package list" am: 31ec5a0709 am: 9ed051884a am: a444f8de69
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1877319

Change-Id: Icd063073166c7ed58dbbd5491afd5da164fb408d
2021-11-02 10:25:51 +00:00
Mohammad Islam
3890a127dd Merge "Add exemption for test_framework-apexd and test_service-apexd jars" am: 569f032a9e am: 509ceec200
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1853102

Change-Id: I27efce4ac308d432e32b0abb4bc94bcc400575f3
2021-11-02 10:11:56 +00:00
Treehugger Robot
a444f8de69 Merge "Adding jdk.internal in the allowed package list" am: 31ec5a0709 am: 9ed051884a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1877319

Change-Id: Ia98aab02b39e80a1018c3626665bd2ea67f0054a
2021-11-02 10:11:08 +00:00
Mohammad Islam
509ceec200 Merge "Add exemption for test_framework-apexd and test_service-apexd jars" am: 569f032a9e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1853102

Change-Id: Ie0702dea8c36a8b6e4d3fd1f7e9e2b6a36190315
2021-11-02 09:07:15 +00:00
Treehugger Robot
9ed051884a Merge "Adding jdk.internal in the allowed package list" am: 31ec5a0709
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1877319

Change-Id: Idddbfa195edc8fc25b0cd96274ee3b8d2096a8d8
2021-11-02 09:05:55 +00:00
Mohammad Islam
569f032a9e Merge "Add exemption for test_framework-apexd and test_service-apexd jars" 2021-11-02 08:51:01 +00:00
Treehugger Robot
31ec5a0709 Merge "Adding jdk.internal in the allowed package list" 2021-11-02 08:49:31 +00:00
Dan Willemsen
b3262740ae Drop support for pre-macOS 11 SDKs am: 1332eda6e0 am: a9b765c072 am: 6f9cc50d7e am: e889f83925 am: 5088300162
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1877741

Change-Id: Idc0bbf5c252570e3feb59b60ca6e70199f252e6d
2021-11-02 08:34:40 +00:00
Dan Willemsen
5088300162 Drop support for pre-macOS 11 SDKs am: 1332eda6e0 am: a9b765c072 am: 6f9cc50d7e am: e889f83925
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1877741

Change-Id: Iaef45046d9debebd6562b999b65faaec9c57b741
2021-11-02 08:16:40 +00:00
Dan Willemsen
e889f83925 Drop support for pre-macOS 11 SDKs am: 1332eda6e0 am: a9b765c072 am: 6f9cc50d7e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1877741

Change-Id: Iefa28871dcf8a3be9b01d65f79e5c7580df87cde
2021-11-02 07:56:14 +00:00
Dan Willemsen
6f9cc50d7e Drop support for pre-macOS 11 SDKs am: 1332eda6e0 am: a9b765c072
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1877741

Change-Id: I418b2b3124481307b6936a5547ecd0f37c200bf0
2021-11-02 07:37:38 +00:00
Dan Willemsen
a9b765c072 Drop support for pre-macOS 11 SDKs am: 1332eda6e0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1877741

Change-Id: I2ed1298dd63bb84497a8276d87fc4bf22869c59e
2021-11-02 07:17:51 +00:00
Dan Willemsen
d5584757da Add Darwin+Arm64 toolchain support am: 8528f4ec5e am: e44a424acc am: 648df28c38 am: 508f4b07f7 am: 6658910853
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1863969

Change-Id: I76ecbed4c1c8c698d5b5e778e0577f78588b8894
2021-11-02 06:40:29 +00:00
Dan Willemsen
6658910853 Add Darwin+Arm64 toolchain support am: 8528f4ec5e am: e44a424acc am: 648df28c38 am: 508f4b07f7
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1863969

Change-Id: I2be55fedd8b7fe25d35684c8c7e2df8dc554d66e
2021-11-02 06:26:34 +00:00
Dan Willemsen
508f4b07f7 Add Darwin+Arm64 toolchain support am: 8528f4ec5e am: e44a424acc am: 648df28c38
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1863969

Change-Id: Ie496ee502ca3d0f554c240b848d1338938a13543
2021-11-02 06:17:21 +00:00
Dan Willemsen
648df28c38 Add Darwin+Arm64 toolchain support am: 8528f4ec5e am: e44a424acc
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1863969

Change-Id: I38f8bef55ec86a44cf3ebc3ad5df3cd92885b233
2021-11-02 05:58:40 +00:00
Dan Willemsen
e44a424acc Add Darwin+Arm64 toolchain support am: 8528f4ec5e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1863969

Change-Id: I011b3fb63d4bdc2723e06a58ab598a0aa336a598
2021-11-02 05:40:08 +00:00
TreeHugger Robot
0a96339c45 Merge "Respect required property of apex modules" 2021-11-02 00:50:46 +00:00
Dan Willemsen
1332eda6e0 Drop support for pre-macOS 11 SDKs
As they can't built arm64 binaries. All of our master-based builds are
now running on macOS 11 buildbots.

Bug: 203607969
Change-Id: I24c34a8365a399fbe43629ab5a22a1d53e3429b3
2021-11-01 16:04:43 -07:00
Colin Cross
9afbd8af53 Merge "Export Soong install rules to Make" am: 1caea35278 am: 7f5f69f9ba am: 5e5d6332b4 am: 71aa08677d am: 90c6322388
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1869552

Change-Id: Ice7d471e98038ab1268933dfd8fbf19ee96b2c3d
2021-11-01 23:04:01 +00:00
Colin Cross
90c6322388 Merge "Export Soong install rules to Make" am: 1caea35278 am: 7f5f69f9ba am: 5e5d6332b4 am: 71aa08677d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1869552

Change-Id: Ic8af7758dfa4b0b4a1983ed1bf7a038191880069
2021-11-01 22:46:10 +00:00
Colin Cross
71aa08677d Merge "Export Soong install rules to Make" am: 1caea35278 am: 7f5f69f9ba am: 5e5d6332b4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1869552

Change-Id: Ifc2d7a00569bdb8dcef9853f27e07824cef3d59d
2021-11-01 22:23:07 +00:00
Dan Willemsen
8528f4ec5e Add Darwin+Arm64 toolchain support
This just sets up the toolchain and allows Darwin+Arm64 to be specified
as a HostCross target. These variants will not be exported to Make, or
be installed on a Soong-only build. A future CL will add support for
universal binaries using these variants.

This config is a bit stranger than the regular 64/32 multilib, as it's
two primary 64-bit configs. And on a Darwin/X86 machine, the Arm64
versions are HostCross (doesn't work on the current machines), while a
Darwin/Arm64 machine, either version works (if Rosetta is installed).

Bug: 203607969
Change-Id: Iacaed77d267773672da027cd74917e33fb1c1e94
2021-11-01 15:07:37 -07:00
Colin Cross
5e5d6332b4 Merge "Export Soong install rules to Make" am: 1caea35278 am: 7f5f69f9ba
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1869552

Change-Id: Idf2e8d7503f49ea3df962ee1ca6a26daf9360ad6
2021-11-01 22:05:02 +00:00
Colin Cross
7f5f69f9ba Merge "Export Soong install rules to Make" am: 1caea35278
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1869552

Change-Id: If4139b06b8e07ab7cddb9ed1f428495e7dafe0d8
2021-11-01 21:47:57 +00:00
Colin Cross
1caea35278 Merge "Export Soong install rules to Make" 2021-11-01 21:31:56 +00:00
Treehugger Robot
7161156726 Merge "Create prebuilt system modules for all API scopes" am: 2bbd2c55c5 am: ef70b722db am: 2c812cb270 am: 9daf45125d am: ac37da7bae
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1875855

Change-Id: I44c97fccd8b530ec3e1531ab58360f9b6f30074e
2021-11-01 20:41:00 +00:00
Treehugger Robot
ac37da7bae Merge "Create prebuilt system modules for all API scopes" am: 2bbd2c55c5 am: ef70b722db am: 2c812cb270 am: 9daf45125d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1875855

Change-Id: Ic260a1e85be90cd4c5cc9aa0bb28f3f199800c5a
2021-11-01 20:28:32 +00:00
Treehugger Robot
9daf45125d Merge "Create prebuilt system modules for all API scopes" am: 2bbd2c55c5 am: ef70b722db am: 2c812cb270
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1875855

Change-Id: I83735a349273669731fafe738b126169b76b3607
2021-11-01 20:07:03 +00:00
Treehugger Robot
2c812cb270 Merge "Create prebuilt system modules for all API scopes" am: 2bbd2c55c5 am: ef70b722db
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1875855

Change-Id: Idd1b95efd88354e04110e82f88f4b934e2c0e6a8
2021-11-01 19:51:23 +00:00
Treehugger Robot
f2259d112e Merge changes I346ac9c0,I57352aa0 am: 57be76d9ac am: 061abc7259 am: 49753eca77 am: 086a0913aa am: 9b378e1739
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1875854

Change-Id: I6e1cfe6f293ccc20f8b612e9996ca2b802289b57
2021-11-01 19:50:17 +00:00
Treehugger Robot
ef70b722db Merge "Create prebuilt system modules for all API scopes" am: 2bbd2c55c5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1875855

Change-Id: I180ae8fa05ab72e4e3c6c0cce5a19eea55d6f395
2021-11-01 19:33:16 +00:00
Treehugger Robot
9b378e1739 Merge changes I346ac9c0,I57352aa0 am: 57be76d9ac am: 061abc7259 am: 49753eca77 am: 086a0913aa
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1875854

Change-Id: I189b0c63507e1d85a42aec7e546b5fa7d318915d
2021-11-01 19:30:00 +00:00
Treehugger Robot
086a0913aa Merge changes I346ac9c0,I57352aa0 am: 57be76d9ac am: 061abc7259 am: 49753eca77
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1875854

Change-Id: I0df294128a7789684481055fe18b7b6d3e38b416
2021-11-01 19:20:16 +00:00
Treehugger Robot
2bbd2c55c5 Merge "Create prebuilt system modules for all API scopes" 2021-11-01 19:16:03 +00:00
TreeHugger Robot
72db73db24 Merge "Remove duplicate optional_uses_libs block" 2021-11-01 19:00:23 +00:00
Ivan Lozano
21fa0a5844 rust: Add common interface for binaries
Structs embedding binaryDecorator (rust_test, rust_benchmark, rust_fuzz)
are binaries as well, but won't pass checks against *binaryDecorator,
such as the check in StaticExecutable().

Add a binaryInterface that can be checked instead to simplify these
checks and ensure we catch all binaries.

Bug: 170672854
Test: rust_test, rust_benchmark return true StaticallyLinked
Change-Id: I2373d3663373a6977260785602a02d39a41320fe
2021-11-01 14:57:44 -04:00
Ivan Lozano
fdadcd7937 rust: Support whole static libraries with any name
This CL allows binaries to depend on whole static libraries which
don't begin with the 'lib' prefix.

Bug: 170672854
Test: Whole static library that doesn't have lib prefix can be linked
Change-Id: I908496d9369c7bec3232e2feed0599f6cf6d9383
2021-11-01 14:56:59 -04:00