Treehugger Robot
2a4deaaf6d
Merge "Soong: check if lndk is needed for apex build" am: ef0439d969
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1705069
Change-Id: I6155c3404d7b125f84eed05299c16c09da6fca7c
2021-05-13 23:05:05 +00:00
Treehugger Robot
ef0439d969
Merge "Soong: check if lndk is needed for apex build"
2021-05-13 22:49:39 +00:00
Paul Duffin
94a452c768
Add java_sdk_library in bootclasspath_fragment contents to sdk am: a10bd3c127
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1705470
Change-Id: I03dcf4b107c2cd390f6f90ce930bfbf007c147b2
2021-05-13 22:42:06 +00:00
Zhijun He
ec2858799b
Soong: check if lndk is needed for apex build
...
This is to fix the unnecessary dependencies inclusion
when building apex modules.
Test: Build
Bug: 186306595
Change-Id: I1f3bbdb0a1f97a8338b45ca29c92acf9b20eadd3
2021-05-13 14:04:45 -07:00
Paul Duffin
011d8e670c
Merge "Add support for converting OptionalPath to Paths" am: 17ccf26748
am: 1d579e9694
am: 472325bf8d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1706747
Change-Id: I60d5cdc9e77ed68e9c365986057608649eee770b
2021-05-13 20:31:13 +00:00
Paul Duffin
a10bd3c127
Add java_sdk_library in bootclasspath_fragment contents to sdk
...
A java_library specified in a bootclasspath_fragment's contents
property will be automatically added to the sdk containing that
bootclasspath_fragment. Previously, if that was attempted with a
java_sdk_library it would be added to the sdk as if it was a normal
java_boot_libs which would prevent the sdk from containing the
API specific artifact such as current.txt files and stub libraries
and sources.
This change fixes that and adds a java_sdk_library as a java_sdk_libs
module.
Bug: 177892522
Test: m nothing
Change-Id: Ided57b846ce5b8940c7e898c786fd77602582ea2
2021-05-13 21:25:42 +01:00
Paul Duffin
472325bf8d
Merge "Add support for converting OptionalPath to Paths" am: 17ccf26748
am: 1d579e9694
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1706747
Change-Id: I1a6c2831ce84fe2f85322bf2baae0c17fcc970c8
2021-05-13 20:10:12 +00:00
Paul Duffin
1d579e9694
Merge "Add support for converting OptionalPath to Paths" am: 17ccf26748
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1706747
Change-Id: I9605a7479b974ef369de702ededb84a3ba0c1f37
2021-05-13 19:51:55 +00:00
Yuntao Xu
5b009aedf9
syntax check to jacoco filters for any build
...
Perform syntax check to jacoco filters for any build.
Bug: 183622051
Test: Manual
Test: TreeHugger
Change-Id: Iff90d7b45bdad8706c43c7e16d98270af688d20b
2021-05-13 12:42:24 -07:00
Paul Duffin
17ccf26748
Merge "Add support for converting OptionalPath to Paths"
2021-05-13 19:33:09 +00:00
Paul Duffin
39ca8223ae
Merge "Build boot images in bootclasspath_fragment/platform_bootclasspath" am: 4bbf45faef
am: 748d954062
am: 57610650d1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690884
Change-Id: I314c01f74f2fe58576d66c1979a1d1ca14f5cad6
2021-05-13 17:09:17 +00:00
Treehugger Robot
648d0fab59
Merge "Add support for SOONG_SDK_SNAPSHOT_USE_SRCJAR" am: 820397deb2
am: 66f9ac0d33
am: c0de64161c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1706107
Change-Id: I69d8f0ed2459d8722c620d3a9984363318fd5ec2
2021-05-13 17:09:10 +00:00
Paul Duffin
57610650d1
Merge "Build boot images in bootclasspath_fragment/platform_bootclasspath" am: 4bbf45faef
am: 748d954062
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690884
Change-Id: Ifa764af1894637846631c9aba05128f7f307df0d
2021-05-13 16:52:54 +00:00
Treehugger Robot
c0de64161c
Merge "Add support for SOONG_SDK_SNAPSHOT_USE_SRCJAR" am: 820397deb2
am: 66f9ac0d33
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1706107
Change-Id: Id4649acc8899ce6a25fbcdc16fc6c688fa9f4f73
2021-05-13 16:52:37 +00:00
Paul Duffin
748d954062
Merge "Build boot images in bootclasspath_fragment/platform_bootclasspath" am: 4bbf45faef
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690884
Change-Id: I455bd7455192bd6f6ac392d6932310f116038d57
2021-05-13 16:52:11 +00:00
Paul Duffin
4bbf45faef
Merge "Build boot images in bootclasspath_fragment/platform_bootclasspath"
2021-05-13 16:32:23 +00:00
Treehugger Robot
66f9ac0d33
Merge "Add support for SOONG_SDK_SNAPSHOT_USE_SRCJAR" am: 820397deb2
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1706107
Change-Id: I987da5cdbad7e165251a4fbf1524cd9de77e676a
2021-05-13 16:23:33 +00:00
Treehugger Robot
820397deb2
Merge "Add support for SOONG_SDK_SNAPSHOT_USE_SRCJAR"
2021-05-13 16:00:40 +00:00
Paul Duffin
da21f0e88c
Merge "Separate storing config for MakeVars from building boot image" am: f356e5a533
am: eb18e84459
am: 443d6ab74b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690882
Change-Id: I3c09cc7cc1c1b56db2e9e806134472863f6a8f19
2021-05-13 14:53:59 +00:00
Paul Duffin
9be4c306eb
Merge "Make hidden API bootclasspath_fragment test more realistic" am: 7dbfe7c4ee
am: c088ab8e01
am: 6f48659cbb
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1706746
Change-Id: Ie019ddc2d1d9778abad4cafc753f4f23649fcac7
2021-05-13 14:53:36 +00:00
Paul Duffin
443d6ab74b
Merge "Separate storing config for MakeVars from building boot image" am: f356e5a533
am: eb18e84459
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690882
Change-Id: I13f7019e51915305453cc9c5da4cb6c7cc393a71
2021-05-13 14:36:55 +00:00
Paul Duffin
6f48659cbb
Merge "Make hidden API bootclasspath_fragment test more realistic" am: 7dbfe7c4ee
am: c088ab8e01
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1706746
Change-Id: I764e40e3c629d93f717069dd2936159d1bf5fc34
2021-05-13 14:36:49 +00:00
Paul Duffin
eb18e84459
Merge "Separate storing config for MakeVars from building boot image" am: f356e5a533
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690882
Change-Id: I55f26ed260006f9e1cf65c505775b0aac2120c8e
2021-05-13 14:24:49 +00:00
Paul Duffin
c088ab8e01
Merge "Make hidden API bootclasspath_fragment test more realistic" am: 7dbfe7c4ee
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1706746
Change-Id: I41122234294c3e7f7dc6d6171dce14216fda0298
2021-05-13 14:23:30 +00:00
Paul Duffin
f356e5a533
Merge "Separate storing config for MakeVars from building boot image"
2021-05-13 14:01:36 +00:00
Paul Duffin
7dbfe7c4ee
Merge "Make hidden API bootclasspath_fragment test more realistic"
2021-05-13 14:00:00 +00:00
Jingwen Chen
8e27e6c226
Merge "bp2build: build //external/scudo/..." am: ccfd7fc939
am: 58344f0391
am: 1c7591cfb9
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1704771
Change-Id: I3665975d656141f7919cce5d80eff25ea7edc9d4
2021-05-13 13:23:04 +00:00
Jingwen Chen
1c7591cfb9
Merge "bp2build: build //external/scudo/..." am: ccfd7fc939
am: 58344f0391
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1704771
Change-Id: I0aac5d0fc71f62c045e34c42673ae9e37410fcb7
2021-05-13 13:01:44 +00:00
Jingwen Chen
58344f0391
Merge "bp2build: build //external/scudo/..." am: ccfd7fc939
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1704771
Change-Id: I7c1fc3cb69469178a4c25a10a57bab776cddf3ab
2021-05-13 12:45:26 +00:00
Jingwen Chen
ccfd7fc939
Merge "bp2build: build //external/scudo/..."
2021-05-13 12:19:43 +00:00
Paul Duffin
8a08117373
Merge "Move copying of dex files from dexpreopt_bootjars singleton" am: cfd24da1f4
am: 7be9378c61
am: 817187082c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690881
Change-Id: If03ec0c3263413d2c88d91d510752d6bb3d4de80
2021-05-13 11:52:25 +00:00
Paul Duffin
ef08185951
Add support for converting OptionalPath to Paths
...
Appending a Path or Paths to a slice of Paths is simple but appending
an OptionalPath requires conditional logic which makes OptionalPaths
harder to use. This change makes it easy to append the embedded Path,
if any, to a slice of Paths.
Bug: 179354495
Test: m nothing
Change-Id: Ibf80a23043c846162e17c3a98b2590bca653b170
2021-05-13 12:40:08 +01:00
Paul Duffin
475daafb1b
Make hidden API bootclasspath_fragment test more realistic
...
Adds the bootclasspath_fragment to an apex and also adds an sdk library
to the stub_libs property.
Bug: 179354495
Test: m nothing
Change-Id: I2a5fffe915eb62923cc60732352d4d050dec4398
2021-05-13 12:40:08 +01:00
Paul Duffin
817187082c
Merge "Move copying of dex files from dexpreopt_bootjars singleton" am: cfd24da1f4
am: 7be9378c61
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690881
Change-Id: I75aa39288ab8f7350d7844c7e4dd262c635746d6
2021-05-13 11:35:04 +00:00
Jingwen Chen
d17bb43fe1
Merge "bp2build: export some cc toolchain flags into Starlark." am: 1d35a87072
am: 138b60595c
am: a7e79646d3
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1698426
Change-Id: Iac3a24bb6a528b1281465ed4a354c95ea01e4a59
2021-05-13 11:29:09 +00:00
Paul Duffin
7be9378c61
Merge "Move copying of dex files from dexpreopt_bootjars singleton" am: cfd24da1f4
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690881
Change-Id: I9b492fb1f04f988db99e23fcfd1ec5f09b3ed707
2021-05-13 11:12:00 +00:00
Jingwen Chen
a7e79646d3
Merge "bp2build: export some cc toolchain flags into Starlark." am: 1d35a87072
am: 138b60595c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1698426
Change-Id: I388c9e3bb3c97e1cf6e29ad2bc12bb93ec4768c8
2021-05-13 11:03:15 +00:00
Paul Duffin
cfd24da1f4
Merge "Move copying of dex files from dexpreopt_bootjars singleton"
2021-05-13 10:53:51 +00:00
Jingwen Chen
138b60595c
Merge "bp2build: export some cc toolchain flags into Starlark." am: 1d35a87072
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1698426
Change-Id: Ia478ff955f5344330b1cc44c5bfc5f4fbd487fb3
2021-05-13 10:47:28 +00:00
Paul Duffin
b8e0b473a1
Merge "Move markPlatformAvailability mutator before apexMutator" am: c75bf688cb
am: 2b7d228aac
am: d7d657a5c6
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1705264
Change-Id: I1be6f516b354d84b7802be69044429db03fe3c20
2021-05-13 10:39:51 +00:00
Jingwen Chen
1d35a87072
Merge "bp2build: export some cc toolchain flags into Starlark."
2021-05-13 10:31:54 +00:00
Paul Duffin
d7d657a5c6
Merge "Move markPlatformAvailability mutator before apexMutator" am: c75bf688cb
am: 2b7d228aac
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1705264
Change-Id: I22a5b245fe9c3c3c4867e450503a6fb1ebcce4b2
2021-05-13 10:24:07 +00:00
Paul Duffin
2b7d228aac
Merge "Move markPlatformAvailability mutator before apexMutator" am: c75bf688cb
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1705264
Change-Id: I856f90156197c15a7bbf0c7d65273044ce756567
2021-05-13 10:08:44 +00:00
Paul Duffin
c75bf688cb
Merge "Move markPlatformAvailability mutator before apexMutator"
2021-05-13 09:50:56 +00:00
Paul Duffin
b964b24a51
Merge "Allow module types to force creation of a default APEX variant" am: 9896b3424b
am: 05ca6f6919
am: 5c45498964
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1705263
Change-Id: I4365d9d1dfbfcd8bf9aa3f6381ec9470b7ff9921
2021-05-13 09:06:26 +00:00
Paul Duffin
5c45498964
Merge "Allow module types to force creation of a default APEX variant" am: 9896b3424b
am: 05ca6f6919
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1705263
Change-Id: I09e1ee28fbff2811307e2abb7b406826c1c560e5
2021-05-13 08:49:59 +00:00
Paul Duffin
05ca6f6919
Merge "Allow module types to force creation of a default APEX variant" am: 9896b3424b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1705263
Change-Id: Ib78cf134090a9c8a955ac262399c88e0aaee2ee2
2021-05-13 08:27:47 +00:00
Paul Duffin
9896b3424b
Merge "Allow module types to force creation of a default APEX variant"
2021-05-13 08:07:19 +00:00
Jingwen Chen
75be1cae8f
bp2build: build //external/scudo/...
...
Test: TH
Fixes: 187158841
Change-Id: I73c1d8fe075d2534c2389973b9381405d9389044
2021-05-13 06:25:49 +00:00
Jingwen Chen
bf61afb7f7
bp2build: export some cc toolchain flags into Starlark.
...
This CL exports common/global/device/host clang/ld/ldd flags
from their Ninja variable initialization locations in
cc/config/global.go and cc/config/clang.go to make Bazel's cc_toolchain
and Soong's cc actions more consistent with each other.
This does not handle env-dependent or arch-specific toolchain flags
yet (logic in compiler.go and linker.go).
Test: TH
Bug: 187086342
Bug: 187084737
Bug: 186628704
Bug: 187857770
Change-Id: Ie403d7cd23f35160897b9dd902c799cbf1bd7f0c
2021-05-13 06:25:47 +00:00