Commit graph

34084 commits

Author SHA1 Message Date
Jaewoong Jung
fc3bfe54c3 Merge "Fix the releax_check flag format verb." 2021-02-25 16:00:12 +00:00
Jaewoong Jung
daffef2400 Merge "Remove ModuleBase.prefer32." 2021-02-25 15:39:52 +00:00
Jingwen Chen
c1858d0f50 Merge "bp2build: add support for cc_object's objs and exclude_srcs properties." am: 1251bb5775
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1600655

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia52b0cbf118d1e51c5496b7d816df13c53602129
2021-02-25 14:46:51 +00:00
Jingwen Chen
1251bb5775 Merge "bp2build: add support for cc_object's objs and exclude_srcs properties." 2021-02-25 14:09:08 +00:00
Justin Yun
4813867ec3 Remove dependency from vendor_snapshot to each module
The 'vendor_snapshot' module is required to every cc_library to check
if the dependencies need to be rewritten to the snapshot modules or
not. However, as the 'vendor_snapshot' module has dependencies to the
snapshot modules, the dependency to the 'vendor_snapshot' module
creates circular dependencies.
The dependency from the 'vendor_snapshot' to the snapshot modules is
required only to read the module names of the snapshot modules. We
may remove the dependency by setting the name of the snapshot modules
directly.

Bug: 179666286
Test: m nothing
Change-Id: I14abcb06c5c81ef7f8535103578747385c89ae0f
2021-02-25 09:31:12 +00:00
Thiébaud Weksteen
5db3d98c3e Enable bloaty artifact for checkbuild
Test: m checkbuild dist; verify DIST_DIR/binary_sizes.pb
Bug: 172339742
Change-Id: If6f3b33a5d6efade98a15ddf5827ef010d1535dd
2021-02-25 10:02:49 +01:00
Stephen Hines
4ad07ba7a3 Merge "reverses common and external Clang flags" am: f3e0d22234
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1606997

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ice6aaad9c334a5ddff365e3a2181748347ab364b
2021-02-25 07:23:18 +00:00
Stephen Hines
f3e0d22234 Merge "reverses common and external Clang flags" 2021-02-25 06:31:22 +00:00
Jingwen Chen
115ba56709 Merge "queryview: add "size" to ignored prop." am: 805c74ca09
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1607273

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id0354d9fe93725e35dd91ed45ff89642e2a20fe5
2021-02-25 05:31:57 +00:00
Jaewoong Jung
8431282af4 Fix the releax_check flag format verb.
%b prints base 2 numbers. %t is the right one to use for booleans.

Test: TreeHugger
Change-Id: Ifbae0170ba03583182ae848bcfc6bb104f1be7e0
2021-02-24 21:09:10 -08:00
Jingwen Chen
805c74ca09 Merge "queryview: add "size" to ignored prop." 2021-02-25 05:08:56 +00:00
Jaewoong Jung
003d808a41 Remove ModuleBase.prefer32.
It became obsolte by If96cccbd82ba1311165d61c947c928c6e7cd5593 and
Iaaac16ae171c06d90d04d7cac11789d3f39b8d99

Test: TreeHugger
Change-Id: Ifc8f28663b480ef5aff93a54040339ef080072c9
2021-02-24 20:29:25 -08:00
Christopher Di Bella
c28f5d97a6 reverses common and external Clang flags
Flags for external projects are specialisations of the common flags, and
need to follow the common flags, not precede them.

Bug: 181177782
Test: None

Change-Id: I19c8c2a3539573e9b2f2d9e3e1c898fa09570663
2021-02-25 01:34:08 +00:00
Jingwen Chen
88ae408a0f queryview: add "size" to ignored prop.
Test: m queryview && bazel query //... --config=queryview
Change-Id: Ia84be6e2fc5b302b4a147f94bfa219a729b67be1
2021-02-24 19:55:50 -05:00
Paul Duffin
de8121e465 Merge "Allow pre-singleton types to be registered in RegistrationContext" am: ebbf33c42b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1605033

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib5b8d31cdbabca14ba65f4eae1d97d9e2aa4186b
2021-02-24 19:30:05 +00:00
Paul Duffin
ebbf33c42b Merge "Allow pre-singleton types to be registered in RegistrationContext" 2021-02-24 18:38:27 +00:00
Lorenzo Colitti
1fd8f115b2 Merge "Add the new NetworkStack shim libraries to APEX allowed deps." am: 9023138b5e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1597976

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icaefda26de292dc9b3bd011cc13c36d0f8893e10
2021-02-24 16:39:00 +00:00
Lorenzo Colitti
9023138b5e Merge "Add the new NetworkStack shim libraries to APEX allowed deps." 2021-02-24 16:01:08 +00:00
Paul Duffin
94dad2bdb4 Merge "Generated headers may not be arch specific" am: b2773e116f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1599159

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I23f8f7102fb8bf84fceced1da26efa25c3c4e8e8
2021-02-24 10:43:09 +00:00
Paul Duffin
7c7d2fc156 Merge "Fix the snapshot handling of generated headers" am: efa0f00706
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1599158

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie5c7abea0070d3770b7d6b1a8fb24090d453f690
2021-02-24 10:41:59 +00:00
Paul Duffin
eafc16bf14 Allow pre-singleton types to be registered in RegistrationContext
Bug: 181070625
Test: m droid
Change-Id: I708b78ed0b42ec55b0442307f40531cfe1233c2b
2021-02-24 10:17:19 +00:00
Paul Duffin
b2773e116f Merge "Generated headers may not be arch specific" 2021-02-24 10:10:23 +00:00
Paul Duffin
efa0f00706 Merge "Fix the snapshot handling of generated headers" 2021-02-24 10:08:34 +00:00
Jiyong Park
1d878cac19 Merge "Add logical_partition module type" am: c1e48ac7d8
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1602154

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I53eb2a49dfa54021642518e39b5c263fbf9aba75
2021-02-24 09:44:50 +00:00
Jiyong Park
c1e48ac7d8 Merge "Add logical_partition module type" 2021-02-24 09:17:28 +00:00
Christoffer Quist Adamsen
c3ae5578c9 Merge "Allow missing classes in R8 builds" am: a72571f0d1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1597934

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4ef29a4dab89a95ff1c98cf784044fd3b387a20b
2021-02-24 08:14:57 +00:00
Christoffer Quist Adamsen
a72571f0d1 Merge "Allow missing classes in R8 builds" 2021-02-24 07:25:18 +00:00
Treehugger Robot
035b6e6882 Merge "Move bazel.Properties to a BazelModuleBase" am: bbfd5ab606
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1591532

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I94324e03163cc36f31c6dc3d3c0d789f6b0b1fa1
2021-02-24 06:58:29 +00:00
Jingwen Chen
db12024524 bp2build: add support for cc_object's objs and exclude_srcs properties.
objs contains module references to other cc_objects that will be used
for linking later. This maps to cc_library deps.

Also support exclude_srcs, and added tests.

Test: bp2build generate, sync, bazel build //bionic/...

Change-Id: I21200ff73f24bcf5357d9df8dcb5519cde532a77
2021-02-24 01:08:57 -05:00
Treehugger Robot
bbfd5ab606 Merge "Move bazel.Properties to a BazelModuleBase" 2021-02-24 05:53:25 +00:00
Jiyong Park
b89e5e71b7 Add logical_partition module type
logical_partition builds a partition image (which is usually called
'super.img') out of one or more filesystem images.

Bug: 180921702
Test: m microdroid_super
Change-Id: I659607647e3a5bc82c82b576a049e6c6f91cbddb
2021-02-24 12:53:39 +09:00
Treehugger Robot
defa29df15 Merge "Build statsd-module-sdk-for-art" am: 7ebe464748
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1597253

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0cf61d86e010e2aba450b16abbd1abbc123f628d
2021-02-24 01:43:34 +00:00
Treehugger Robot
7e3b7a1244 Merge "android:path attribute is respected for fields in a slice of struct" am: 4dc0702ce2
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1602153

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic710c3ee404b9c96e2cfe4c4bfe9b3e9b0159672
2021-02-24 01:34:38 +00:00
David Srbecky
3ca18c4703 Merge "Set block-size for XZ mini-debug-info compression." am: bb96b56b0d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1573600

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic803e46b8dcce622fb9086a775e7d83ae54a20ab
2021-02-24 01:30:27 +00:00
Treehugger Robot
5ee786ff3f Merge "Update soong copy of java binaries when Make copy is installed" am: 9a4279309f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1602454

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib831c8a9b6eed2f4da99bb51d1a2bb352ef8163a
2021-02-24 01:30:17 +00:00
Treehugger Robot
d078b18f64 Merge "Add non-fatal mode for verify_uses_libraries check." am: 7eacdbf8a6
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1592411

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8276176d5379094f5987d7ab2e6b5d691f8a2ee9
2021-02-24 01:30:04 +00:00
Treehugger Robot
be2383b27d Merge "Refactor BazelTargetModule" am: 30899caf1f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1596752

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I58a0889f7f8b8897ce96358f1c957f0f6f83e15a
2021-02-24 01:29:51 +00:00
Paul Duffin
9e21c8d376 Merge "Differentiate usages of word "include" in cc_sdk_test.go" am: d98f5b27e1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1599157

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie2b51edc425194294a2ababe3f57af8e376fab1b
2021-02-24 01:29:08 +00:00
Paul Duffin
ea8a9eb451 Merge "Add sdk test for incorrect handling of generated headers" am: 8e46253840
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1599156

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia67fb6385d9fe2587afc0d4abebb5a16be415c56
2021-02-24 01:28:58 +00:00
Paul Duffin
2e9d37bbe3 Merge "Separate versioned/unversioned testing in sdk/cc_sdk_test.go" am: d884c993dd
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1599155

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id7de63a6f44460d5ef14e8b1f567e31a32b4592e
2021-02-24 01:28:45 +00:00
Paul Duffin
a89d47760c Merge "Support testing versioned/unversioned sdk Android.bp files separately" am: 036e84a767
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1599154

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9af1fa93a5340c9b3ce19a2487e695f2a1aae034
2021-02-24 01:27:57 +00:00
Paul Duffin
e2db082638 Merge "Only export sysprop headers in exported sysprop include directory" am: 1dd5764a4e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1596831

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8b93e3245521ecac7f2c4b9178e6cfb1d30de821
2021-02-24 01:20:12 +00:00
Treehugger Robot
d9a7dc9b57 Merge "Export aidl, proto and sysprop generated headers separately" am: 2b22365c8c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1595276

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9f6edac017de0dbb986705875ccae76ad4e83983
2021-02-24 01:14:47 +00:00
Treehugger Robot
7ebe464748 Merge "Build statsd-module-sdk-for-art" 2021-02-24 01:08:28 +00:00
Treehugger Robot
4dc0702ce2 Merge "android:path attribute is respected for fields in a slice of struct" 2021-02-24 00:54:56 +00:00
Paul Duffin
7b9e857f9f Merge changes from topic "hiddenapi_additional_annotations" am: ece454400d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1590193

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie3dc56d6f0ba033a3d80655707c4acf81bccf8f2
2021-02-24 00:49:28 +00:00
Paul Duffin
f36d0e21c3 Remove duplicates in monolithic hidden API files am: 82b3fcf123
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1587496

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7b6bbc33ff1bae69ca09dafafa4c65690451b5b9
2021-02-24 00:49:24 +00:00
Paul Duffin
44091b4387 Remove implicit dependency from <x> -> <x>-hiddenapi am: f8f4af8f1a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1587495

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5f701167d78771a53ab6e0f082a12c44871d22ec
2021-02-24 00:48:45 +00:00
David Srbecky
bb96b56b0d Merge "Set block-size for XZ mini-debug-info compression." 2021-02-24 00:43:12 +00:00
Eric Holk
ff0529d209 Build statsd-module-sdk-for-art
Bug: 178236337
Test: build-mainline-modules.sh
Change-Id: I51dab13416be8ea1cd65234d560d84ca89b53e13
2021-02-23 22:49:57 +00:00