Jingwen Chen
4e069702d8
Merge "Update tests to use --config=android." am: 80888257ad
am: b77991f37b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2208996
Change-Id: I91dbd728243f2d2adb65449d86b59109b6384656
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 07:27:54 +00:00
Jingwen Chen
b77991f37b
Merge "Update tests to use --config=android." am: 80888257ad
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2208996
Change-Id: Ic4ecf7af8328ee6689c38e3332899cf5c904949e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 06:58:30 +00:00
Jingwen Chen
80888257ad
Merge "Update tests to use --config=android."
2022-09-09 06:36:09 +00:00
Florian Mayer
1e4f899c1d
Work around stack frame size for memtag-stack
...
The root cause for the warning is fixed in upstream LLVM
(https://reviews.llvm.org/D127917 ) , working around until
that is submitted.
Test: make libc with memtag-stack
Bug: 174878242
Change-Id: Iae8c85f39bdceb9752b7f2758c5543c1b3f90277
2022-09-08 23:59:23 +00:00
Treehugger Robot
f2150916fe
Merge "Pass -flto to asflags as well" am: 8bdc04b9e0
am: a263edc90b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2211815
Change-Id: Iba808e33d69900bec0d94f32ccb431aaaeed9de1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 21:29:49 +00:00
Usta (Tsering) Shrestha
5652efd58e
Merge "Use list comprehensions in Starlark" am: a4f73d937e
am: 9ac3dd695b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2205796
Change-Id: I1635fb1c56b45e6c048c9e30acadf2a03ec74e98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 21:29:06 +00:00
Treehugger Robot
a263edc90b
Merge "Pass -flto to asflags as well" am: 8bdc04b9e0
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2211815
Change-Id: I2afdc31506a90dacf85debeecde8004f4e0edae0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 20:43:56 +00:00
Usta (Tsering) Shrestha
9ac3dd695b
Merge "Use list comprehensions in Starlark" am: a4f73d937e
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2205796
Change-Id: Ibeedeb52a188ab556c937abe61f0e0d500f921fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 20:43:45 +00:00
Sorin Basca
78acb740b3
Merge changes I6fed538a,I38df207c am: 3cc6201d71
am: 6bd1ce4c63
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2211596
Change-Id: I35c17a02be70cc2ab1b5163580bfe04bd38a5625
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 20:32:33 +00:00
Treehugger Robot
8bdc04b9e0
Merge "Pass -flto to asflags as well"
2022-09-08 20:22:02 +00:00
Usta (Tsering) Shrestha
a4f73d937e
Merge "Use list comprehensions in Starlark"
2022-09-08 20:14:49 +00:00
Sorin Basca
6bd1ce4c63
Merge changes I6fed538a,I38df207c am: 3cc6201d71
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2211596
Change-Id: I304bd2090ea1d4e7785e1e328f541ab100913e1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 20:03:06 +00:00
Sorin Basca
3cc6201d71
Merge changes I6fed538a,I38df207c
...
* changes:
Pin javadoc to JDK 11
Open java.lang for dokka
2022-09-08 19:17:34 +00:00
Yu Liu
fbccc24d22
Merge "Support proto.include_dirs" am: dd6321213e
am: a1afe2023d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2189729
Change-Id: Iee224de5390858a26eaa1b3597a1494cb5200452
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 19:17:32 +00:00
Christopher Parsons
f558fd95e2
Merge "Add adbd to mixed build prod allowlist" am: 300e2493e7
am: 5ccb3bf2e6
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2211515
Change-Id: Id8ee0b0c65f01babc96f38bbb4aab132c148c6ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 19:17:16 +00:00
Bob Badour
e38387314a
Fix gen_notice init to support arch and dist.
...
Incorrect init function was called so Stem property was not handled
correctly and the dist properties were treated as unknown.
Test: m droid dist
Change-Id: I5eb8771afb4fda332df08cf1560df5c17d1316cc
2022-09-08 12:07:10 -07:00
Yu Liu
a1afe2023d
Merge "Support proto.include_dirs" am: dd6321213e
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2189729
Change-Id: Id4b221e82882d92b89572d4c33a4d653efca324a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 18:47:29 +00:00
Christopher Parsons
5ccb3bf2e6
Merge "Add adbd to mixed build prod allowlist" am: 300e2493e7
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2211515
Change-Id: If067629a02e46c1180712541d1c327bb302cf956
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 18:47:01 +00:00
Yu Liu
dd6321213e
Merge "Support proto.include_dirs"
2022-09-08 18:34:34 +00:00
Christopher Parsons
300e2493e7
Merge "Add adbd to mixed build prod allowlist"
2022-09-08 18:13:51 +00:00
Yi Kong
5e0f405abf
Pass -flto to asflags as well
...
Although it has no effect, CFI mandates -flto in asflags.
Test: presubmit
Bug: 243476017
Change-Id: I33246488140c642894f3fbab65bc37bdd5de3024
2022-09-09 01:58:18 +08:00
Sam Delmerico
95f5e0f82c
ignore versions_with_info property in queryview am: 263efde0a8
am: 71f001499c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2210180
Change-Id: I22e92dd194a9aaf0b27c91b1ba5a923f98ce9c5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 17:49:42 +00:00
Sam Delmerico
71f001499c
ignore versions_with_info property in queryview am: 263efde0a8
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2210180
Change-Id: Ifd7c0703ec222fa154f9734467b975545bf2135d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 17:23:13 +00:00
Usta Shrestha
79fccefc59
Use list comprehensions in Starlark
...
also using a generic json_encode as an approximation for `json.encode`
Test: USE_BAZEL_ANALYSIS=1 m libc
Bug: b/242587802
Change-Id: Ib83aeda3f99cc3966548b0cd47e72669422ed72d
2022-09-08 17:12:42 +00:00
Chih-Hung Hsieh
ec450d9113
Prepare to build clang-r468909
...
* Allow/show clang deprecated* and array-parameter warnings
to pass build.py with r468909.
Test: presubmit
Bug: 241941550
Bug: 241601211
Change-Id: I46bc1138861371ece24e88fad2d64fdf38ca605d
2022-09-08 10:11:57 -07:00
Sorin Basca
198c51c868
Pin javadoc to JDK 11
...
Bug: 240421555
Test: m sdk
Change-Id: I6fed538a3a0d05a3115dd930b860aa7769aa6d16
2022-09-08 17:15:18 +01:00
Jingwen Chen
60d8840f65
Update tests to use --config=android.
...
Bug: 244766775
Test: presubmits
Change-Id: Iaaabd275356c24b3e3713ea1047c134271c4561e
2022-09-08 15:54:32 +00:00
Sorin Basca
1d68e48084
Open java.lang for dokka
...
Bug: 240421555
Test: m sdk
Change-Id: I38df207ca2c891df24fe32f711b2767cb17195ec
2022-09-08 16:48:01 +01:00
Chris Parsons
543c8c4319
Add adbd to mixed build prod allowlist
...
Bug: 231322898
Test: m --bazel-mode droid
Change-Id: I7a91f4f04d5e1f6432c63e4a78f81d5b30ed3cc5
2022-09-08 11:40:24 -04:00
Sam Delmerico
263efde0a8
ignore versions_with_info property in queryview
...
Struct properties are not fully supported by queryview, so disable this
property for now.
Bug: 245727956
Test: m queryview && tools/bazel run --config=bp2build --config=ci --//build/bazel/rules/apex:apexer_verbose --config=linux_x86_64 //build/bazel/scripts/bp2build-progress:bp2build-progress -- graph -m com.android.neuralnetworks --use-queryview
Change-Id: I74da94da82a037234fb2a8fe17780ed0eb309a7b
2022-09-08 10:51:50 -04:00
Mårten Kongstad
06134d5396
Merge "Pass --sdk-extensions-{root,info} to metalava" am: 9be110d151
am: bcab1ba3de
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2167103
Change-Id: I8cf1bb8ee8b25117111e41faf25ba9c6fc2f58bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 06:58:54 +00:00
Mårten Kongstad
bcab1ba3de
Merge "Pass --sdk-extensions-{root,info} to metalava" am: 9be110d151
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2167103
Change-Id: I0ba53812149fc7348f0fb53bc1ca123310ff21d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 06:29:56 +00:00
Mårten Kongstad
9be110d151
Merge "Pass --sdk-extensions-{root,info} to metalava"
2022-09-08 06:08:43 +00:00
Zimuzo Ezeozue
5358d1225f
Merge "Enable aidl#generate_traces by default for Cpp" am: fbb35346eb
am: 3ddb7933fa
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2203577
Change-Id: I95489b3a87a8542e29361bc9f534ecd2ecff38ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 02:15:51 +00:00
Zimuzo Ezeozue
3ddb7933fa
Merge "Enable aidl#generate_traces by default for Cpp" am: fbb35346eb
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2203577
Change-Id: Ib2db69a02fc005e5fe235196c99e53a8dbe40114
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 01:47:59 +00:00
Zimuzo Ezeozue
fbb35346eb
Merge "Enable aidl#generate_traces by default for Cpp"
2022-09-08 01:13:29 +00:00
Yu Liu
2d13614b89
Support proto.include_dirs
...
For each package in the include_dirs property a proto_library target
should be added to the BUILD file in that package and a mapping
should be added to the bp2build code, by this way a proper dependency
relationship can be established and used by bazel.
Bug: 239944064
Test: Added unit tests and manually verified include_dirs can be
properly converted to bazel and used by bazel to build the targets.
Change-Id: I50d8ee21fabcfec0a44487f6e5f3d8a3845e79c3
2022-09-07 16:48:17 -07:00
Usta (Tsering) Shrestha
6a19432597
Merge "Drop bootstrap.ninja.d" am: 9ba17e8702
am: 9cf505db23
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2194837
Change-Id: I2f61a62478e4a6d64c5a99513ab028a93790f836
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-07 23:46:45 +00:00
Usta (Tsering) Shrestha
9cf505db23
Merge "Drop bootstrap.ninja.d" am: 9ba17e8702
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2194837
Change-Id: Ib20e18f0ed7529362785aff2374bcd26650647b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-07 23:17:08 +00:00
Christopher Parsons
db095347bb
Merge "Remove USE_BAZEL_ANALYSIS" am: 1f039780e0
am: ad9c9a2d38
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2201557
Change-Id: I84f19f2f1f0492b4a2a8b654bcd3e7bcfba210a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-07 23:00:38 +00:00
Usta (Tsering) Shrestha
9ba17e8702
Merge "Drop bootstrap.ninja.d"
2022-09-07 22:47:41 +00:00
Christopher Parsons
ad9c9a2d38
Merge "Remove USE_BAZEL_ANALYSIS" am: 1f039780e0
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2201557
Change-Id: I568cf0bcef36c670e350eeb79ca31b64915778c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-07 22:20:27 +00:00
Christopher Parsons
1f039780e0
Merge "Remove USE_BAZEL_ANALYSIS"
2022-09-07 21:54:47 +00:00
Romain Jobredeaux
a43fe11648
Keep allowlist alphabetized am: 3d516cdb07
am: 69483de6d0
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2208037
Change-Id: I6b21d9b959c640d252d28bd5308748a4fdfb58d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-07 20:55:28 +00:00
Romain Jobredeaux
69483de6d0
Keep allowlist alphabetized am: 3d516cdb07
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2208037
Change-Id: Ia97e5c1bb8e81c8fbeec8be0b9e5cf83e3b2b69e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-07 20:27:22 +00:00
Chris Parsons
1bb58da17c
Remove USE_BAZEL_ANALYSIS
...
Use --bazel-mode-dev instead.
Test: Treehugger
Bug: 244309479
Change-Id: I570d02651eea92375cd96efbeb8d986a9495e1ed
2022-09-07 14:58:03 -04:00
Romain Jobredeaux
3d516cdb07
Keep allowlist alphabetized
...
Change-Id: I6ba977e4a705a3ba516fd23dcf5ceaf354d7e892
2022-09-07 14:28:31 +00:00
Mårten Kongstad
802ae0fdd3
Pass --sdk-extensions-{root,info} to metalava
...
Teach soong to pass metalava the two new command line arguments
--sdk-extensions-root <dir> and --sdk-extensions-info <file> when
generating the API levels file (--generate-api-levels api-versions.xml).
The directory hierarcy in a droiddoc_exported_dir module has special
meaning, e.g. extensions/1/public/*-stubs.jar are the mainline module
stubs containing the public API for SdkExt version 1. Update the logic
where the directories are scanned for android.jar files to locate the
SDK extension jars (extensions/<int>/public/*-stubs.jar).
Also introduce a new field on droidstubs properties
(Extensions_info_file) to set the value of --sdk-extensions-info.
Note: if Extensions_info_file is not set, neither
--sdk-extensions-root or --sdk-extensions-info will be passed to
metalava.
Bug: 228828986
Test: go test -run TestDroidstubsWithSdkExtensions ./java
Test: m sdk dist && grep -e from= -e module= out/dist/data/api-versions.xml # needs APIs to be listed in the info file
Change-Id: I682e34d328fc93d3eded8565ffee40961307901a
2022-09-07 16:13:49 +02:00
Chih-hung Hsieh
cc8c02e34d
Merge "No clang-tidy by default for external and vendor" am: cedd4117a8
am: 0d6147b04b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2199548
Change-Id: I412ad1aed835448aedf4846b5d4b3b2e6025b00f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-07 01:52:25 +00:00
Kiyoung Kim
d06ececc29
Merge "Export API imported library list to Makefile" am: 9bdd218281
am: 07bbfbdbe1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2201281
Change-Id: I02f070decfb6cf7296305daf1f21df29dd1f83cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-07 01:52:11 +00:00