Lukacs T. Berki
c9601434d4
Rename BuildDir and NinjaBuildDir.
...
These are just out/ and out/soong/ and the old names were quite
confusing.
Test: Presubmits.
Merged-In: I999ca62162062f27e449f83ffb00fa580d4065b8
Change-Id: I2fcd80a9e376a6842a06aa104a9f6f5c5e16f8c7
2021-08-26 11:21:36 +02:00
Colin Cross
d7296756ac
Merge "Support musl builds in Make" am: b37a92ccc8
am: 8dae8cbcc1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1797129
Change-Id: I116cfa6c8bfbe05c6038e4e7c5dcc705f1504c21
2021-08-26 01:41:49 +00:00
Colin Cross
8dae8cbcc1
Merge "Support musl builds in Make" am: b37a92ccc8
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1797129
Change-Id: I771db86c62207bde3e4ba60569e4d3ebbfe32358
2021-08-26 01:27:24 +00:00
Colin Cross
b37a92ccc8
Merge "Support musl builds in Make"
2021-08-26 01:14:47 +00:00
Jiyong Park
7c4d921152
Merge changes I15328e0b,I731227c2 am: 19312d4224
am: b4adefa58e
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1808218
Change-Id: Ia1523adbe2102e88cb57530c6a65d791454ac1a8
2021-08-25 23:03:18 +00:00
Jiyong Park
b4adefa58e
Merge changes I15328e0b,I731227c2 am: 19312d4224
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1808218
Change-Id: I58224f0fc056f174567241a13d9eb54dbaef5d12
2021-08-25 22:48:34 +00:00
Jiyong Park
19312d4224
Merge changes I15328e0b,I731227c2
...
* changes:
crt objects for APEX and vendor variants have correct target API levels
crt modules produces cc rules for testing
2021-08-25 22:30:40 +00:00
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux
3ea299e129
Merge "Add python_library -> py_library bp2build support" am: bb1fd68495
am: 620ec23ca0
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1807636
Change-Id: I9e7778129e7e01c548c5c0e4a3a6405e674962a4
2021-08-25 20:50:06 +00:00
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux
620ec23ca0
Merge "Add python_library -> py_library bp2build support" am: bb1fd68495
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1807636
Change-Id: Ibe68940c69f96b2d5ce82c6dff3ccf3393351547
2021-08-25 20:35:07 +00:00
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux
bb1fd68495
Merge "Add python_library -> py_library bp2build support"
2021-08-25 20:25:42 +00:00
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux
0fc781c7c2
Add python_library -> py_library bp2build support
...
Bug: 196091681
Test: bp2build/python_library_conversion_test.go
Test: build/bazel/ci/mixed_{libc,droid}.sh
Change-Id: Ice87d75533c97fd9c139dc59de09a039e2713a01
2021-08-25 15:57:01 +00:00
Florian Mayer
09bc16b652
Merge "Use new pass manager for HWASan builds." am: 35fc86c9cf
am: f38f955bdb
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1802330
Change-Id: I9d74664011770cba5d28e4b7ef8314a78dc98db9
2021-08-25 11:15:48 +00:00
Florian Mayer
f38f955bdb
Merge "Use new pass manager for HWASan builds." am: 35fc86c9cf
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1802330
Change-Id: Ieaef02fc55baa0fd76c79659192a29fde5876d73
2021-08-25 10:57:59 +00:00
Florian Mayer
35fc86c9cf
Merge "Use new pass manager for HWASan builds."
2021-08-25 10:39:37 +00:00
Jiyong Park
5df7bd33f7
crt objects for APEX and vendor variants have correct target API levels
...
Previously, crt objects for APEX and vendor variants targetted API level
16 regardless of their context. For example, even if BOARD_VNDK_VERSION
is set to 29, or an APEX has `min_sdk_version: "29"`, the target API
level was from `min_sdk_version` property of the crt object which is set
to 16.
The meaning of min_sdk_version is quite different when it comes to crt
objects. It means the lowest API level that it CAN target for. It does
NOT mean the API level it SHOULD always target.
This has caused some other problems like TLS segment underalignment for
vendor libraries because the vendor libraries were all built with TLS
layout from API level 16.
This change fixes the problem by correctly implementing the different
semantic of min_sdk_version for crt objects.
Bug: N/A
Test: m nothing
Change-Id: I15328e0b6cbabbe151dd65c7469c6355e167b78a
2021-08-25 16:26:47 +09:00
Jiyong Park
7549d460f0
crt modules produces cc rules for testing
...
Previously, crt modules didn't produce cc rules because they didn't have
any input src files set. This prevented us from having a test which
checks the cflags of the crt modules.
Fixing that by adding source file to the crt modules. crtbrand is also
added as an 'objs' dep, because otherwise partialLd rules won't be
generated.
Bug: N/A
Test: m nothing
Change-Id: I731227c20c662c876c40f0c41e1769a271e2c643
2021-08-25 16:16:03 +09:00
Sophie Zheng
c5f6a553ec
Merge "Also generate api lists based on symbol files for cc_library rule during build time." am: d9287b6c35
am: 5e640b6b45
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1797135
Change-Id: I72f30a2e444be550352071677e7398e33384857f
2021-08-25 04:52:42 +00:00
Sophie Zheng
5e640b6b45
Merge "Also generate api lists based on symbol files for cc_library rule during build time." am: d9287b6c35
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1797135
Change-Id: Ie272b922a62dbb655535fef3a4c1888d4019cedb
2021-08-25 04:29:18 +00:00
Sophie Zheng
d9287b6c35
Merge "Also generate api lists based on symbol files for cc_library rule during build time."
2021-08-25 04:16:34 +00:00
Treehugger Robot
b43c2da3b9
Merge changes from topic "ninja_static" am: c5e452b2c5
am: c07549c715
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1801111
Change-Id: I0e43aa35dba6c3e33706879befbac386a62aee04
2021-08-25 02:56:28 +00:00
Treehugger Robot
c07549c715
Merge changes from topic "ninja_static" am: c5e452b2c5
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1801111
Change-Id: Ia8cacb28044eb4496c1d713dcf5ffada6b68c907
2021-08-25 02:41:54 +00:00
Treehugger Robot
c5e452b2c5
Merge changes from topic "ninja_static"
...
* changes:
Fix crtend for musl static binaries
Support static_executable: true for musl builds
Use SystemSharedLibs as StaticLibs for static executables
2021-08-25 02:28:07 +00:00
sophiez
4c4f80326d
Also generate api lists based on symbol files for cc_library rule during build time.
...
Test: build/soong/soong_ui.bash --make-mode SKIP_ABI_CHECKS=true TARGET_PRODUCT=aosp_cf_x86_phone TARGET_BUILD_VARIANT=userdebug droid dist DIST_DIR=/usr/local/google/home/sophiez/my_dist_dir EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true CLANG_COVERAGE=true SKIP_BOOT_JARS_CHECK=true
Change-Id: Ic857c14c5c258b8f4d150cc71ce9eabce33d7d54
2021-08-24 17:39:45 -07:00
Treehugger Robot
a9dec313b2
Merge "Suggest using add_soong_config_ macros instead of direct variable assignments" am: 0fea970b41
am: 8d3406dfd7
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1807738
Change-Id: Ib98392153f55637e3dbf9d904a894b12f89fcad1
2021-08-24 23:22:45 +00:00
Treehugger Robot
8d3406dfd7
Merge "Suggest using add_soong_config_ macros instead of direct variable assignments" am: 0fea970b41
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1807738
Change-Id: I769f9a0feafbaa067e2c46f1efc16eff71fe974b
2021-08-24 23:09:44 +00:00
Treehugger Robot
0fea970b41
Merge "Suggest using add_soong_config_ macros instead of direct variable assignments"
2021-08-24 22:53:48 +00:00
Sasha Smundak
18fd099982
Suggest using add_soong_config_ macros instead of direct variable assignments
...
Bug: 190051051
Test: treehugger
Change-Id: Ib77d8af8f926412f6337173927cee6bb1deda2bb
2021-08-24 14:06:20 -07:00
Colin Cross
f26b466cad
Fix crtend for musl static binaries
...
Bug: 190084016
Test: aosp-build-tools linux_musl build
Change-Id: Ia78884cd24f5b7d8aa8207268539cfb453666699
2021-08-24 13:39:02 -07:00
Colin Cross
a793db33a2
Support static_executable: true for musl builds
...
Bug: 190084016
Test: aosp-build-tools linux_musl build
Change-Id: I630c54033c44ddd6b54388ed36642629cf2e4e5b
2021-08-24 13:39:02 -07:00
Colin Cross
450744e718
Use SystemSharedLibs as StaticLibs for static executables
...
Shared libraries are ignored for static executables, treat
SystemSharedLibs as StaticLibs to avoid every static executable
having to list libc as a static dependency.
Test: m checkbuild
Change-Id: I02442a1a2a8d4164ec3dd389a16da2346e2d8751
2021-08-24 13:39:02 -07:00
Treehugger Robot
0a0e3c1e8c
Merge "eng builds: dexpreopt: stop explicitly removing minidebuginfo" am: 92aa7b712e
am: 85277f4cd9
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1786647
Change-Id: I500ca80101c66fab7b5462e55540914c4fac0426
2021-08-24 17:45:51 +00:00
Treehugger Robot
85277f4cd9
Merge "eng builds: dexpreopt: stop explicitly removing minidebuginfo" am: 92aa7b712e
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1786647
Change-Id: Ic680da598b0ff982cae01919c7f49427e9ff58da
2021-08-24 17:34:25 +00:00
Treehugger Robot
92aa7b712e
Merge "eng builds: dexpreopt: stop explicitly removing minidebuginfo"
2021-08-24 17:12:41 +00:00
Joel Galenson
840b617e84
Merge "Add system/logging/liblog." am: 7c16dabfa5
am: fe989dac26
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1806599
Change-Id: I8ffdfdf2c55f115767f696a937d16ceb55039a2e
2021-08-24 14:40:45 +00:00
Joel Galenson
fe989dac26
Merge "Add system/logging/liblog." am: 7c16dabfa5
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1806599
Change-Id: Id72bdcf61dc1221983c5750dfad2feeb9c18603d
2021-08-24 14:25:55 +00:00
Joel Galenson
7c16dabfa5
Merge "Add system/logging/liblog."
2021-08-24 14:12:48 +00:00
satayev
0242867683
Merge "Make sure that classpath fragment contents appear in make vars." am: 28e5eda261
am: dbd6abe28d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1740313
Change-Id: I4bd24598cd3f5fcad7981efd22986c4c92dbb5e7
2021-08-24 13:55:46 +00:00
satayev
dbd6abe28d
Merge "Make sure that classpath fragment contents appear in make vars." am: 28e5eda261
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1740313
Change-Id: I216856a16603567c623114d3b5b42506e9dc89b2
2021-08-24 13:40:05 +00:00
satayev
28e5eda261
Merge "Make sure that classpath fragment contents appear in make vars."
2021-08-24 13:29:58 +00:00
Liz Kammer
9b58652025
Merge "Update HostAndDevice* documentation" am: f32f2d6b6d
am: 383f7cb2b1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1806337
Change-Id: Ie4c2c7b6f5ddba7050c29352d4e3c767d2ec4a40
2021-08-24 13:00:43 +00:00
Liz Kammer
383f7cb2b1
Merge "Update HostAndDevice* documentation" am: f32f2d6b6d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1806337
Change-Id: I7de835f65f774040d04af4f94b3f652391726a18
2021-08-24 12:45:51 +00:00
Liz Kammer
f32f2d6b6d
Merge "Update HostAndDevice* documentation"
2021-08-24 12:34:23 +00:00
Ulyana Trafimovich
4870f2b0cb
Merge "Don't add uses_libs
/optional_uses_libs
to the manifest_fixer." am: 81a1adb6db
am: affc7d8116
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1803744
Change-Id: I8b76722fb92b2ae46987fc6f5d2a458fed755176
2021-08-24 10:19:50 +00:00
Ulyana Trafimovich
affc7d8116
Merge "Don't add uses_libs
/optional_uses_libs
to the manifest_fixer." am: 81a1adb6db
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1803744
Change-Id: Id5c9f8a14ddd00eaedde4d404d4773fc2c214c1a
2021-08-24 09:46:13 +00:00
Ulyana Trafimovich
81a1adb6db
Merge "Don't add uses_libs
/optional_uses_libs
to the manifest_fixer."
2021-08-24 09:18:06 +00:00
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux
ed0222b313
Merge changes from topic "share-runBp2BuildTestCase+runPythonTestCase" am: 5272a41283
am: 4805e3f0f6
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1805664
Change-Id: I705e040d31a9819b8067c716d06c78696e1071eb
2021-08-24 01:41:16 +00:00
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux
4805e3f0f6
Merge changes from topic "share-runBp2BuildTestCase+runPythonTestCase" am: 5272a41283
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1805664
Change-Id: Icc0685d03296fcbc30de7951ad8168e93f47d26b
2021-08-24 01:25:53 +00:00
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux
5272a41283
Merge changes from topic "share-runBp2BuildTestCase+runPythonTestCase"
...
* changes:
Add License decl to testing.go
Document testing & build_conversion purposes
Rename runPythonTestCase
Share runBp2BuildTestCase & runPythonTestCase
2021-08-24 01:11:14 +00:00
Treehugger Robot
88e568051c
Merge "Apply pylint to build/soong/cc/ndk_api_coverage_parser" am: 373e71c5d4
am: a41f24c545
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1797008
Change-Id: Icde5c03976b56103322ea0e9529f651a8b887fce
2021-08-23 23:10:42 +00:00
Treehugger Robot
a41f24c545
Merge "Apply pylint to build/soong/cc/ndk_api_coverage_parser" am: 373e71c5d4
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1797008
Change-Id: I4bfd96c5da8cba12fb1db0059db6f85e2aede684
2021-08-23 22:57:13 +00:00