Commit graph

57703 commits

Author SHA1 Message Date
Automerger Merge Worker
8c86a2872d Merge "Extend add_soong_config_var to support variable list" am: 00e02e97d5
Change-Id: I133ad8bfd074af04d5ce08ae7b1b29726dc4e394
2020-02-07 03:54:23 +00:00
Bill Peckham
00e02e97d5 Merge "Extend add_soong_config_var to support variable list" 2020-02-07 03:34:32 +00:00
Automerger Merge Worker
e5656d0eba Merge "Add PRODUCT_PACKAGES_SHIPPING_API_LEVEL_29" am: 562d15a67d
Change-Id: I9db247a6d43b628a3af3e53f06e10ef8cae4d855
2020-02-07 02:02:49 +00:00
Treehugger Robot
562d15a67d Merge "Add PRODUCT_PACKAGES_SHIPPING_API_LEVEL_29" 2020-02-07 01:46:41 +00:00
Automerger Merge Worker
c543f548a5 Merge "Remove the key parameter when verifying avb images in validate_target_files" am: 1fc958b4fe
Change-Id: I8c218dda48facd192286c86f5ddb8d8f262b6881
2020-02-07 01:07:00 +00:00
Baligh Uddin
1fc958b4fe Merge "Remove the key parameter when verifying avb images in validate_target_files" 2020-02-07 00:52:43 +00:00
Bill Peckham
62f5a4711e Extend add_soong_config_var to support variable list
Bug: b/149049342
Test: Supply list, inspect $(OUT)/soong/soong.variables
Change-Id: I905229441e392f6190bea6ae2169b0ecd1743d45
2020-02-06 15:30:46 -08:00
Tianjie Xu
9bd832a012 Remove the key parameter when verifying avb images in validate_target_files
If a key is specified, the avbtool always use the input key to verify
all the chained images. And this will cause failures when the vbmeta &
system use different keys (e.g. RSA 4096 vs RSA2048). Because the public
key to vbmeta will always fail to verify the system image. Remove the
'--key' parameter in the verification command, so the avbtool will use
the embedded public in the image.

Test: validate target-file from sdk_gphone_x86_64
Bug: 148916990
Change-Id: I9d31be0f8c32af605af94fa73d07818f40f51ec4
2020-02-06 13:31:26 -08:00
Automerger Merge Worker
2c9931fbe9 Merge "Add functions for easier vendor var definitions." am: 24e2f7c0f1
Change-Id: Ie75048860bad50197be04013e0cfa4401c54b253
2020-02-06 03:30:19 +00:00
Bill Peckham
24e2f7c0f1 Merge "Add functions for easier vendor var definitions." 2020-02-06 03:14:49 +00:00
Sundong Ahn
f3cd49787a Add PRODUCT_PACKAGES_SHIPPING_API_LEVEL_29
The PRODUCT_PACKAGES_SHIPPING_API_LEVEL_29 is added. This value is base
module when shipping api level is less than or equal to 29.

Bug: 124531214
Test: m -j
Change-Id: I0f06b04cf4c824b9c975d9b84f4a0e8171acef75
Merged-In: I0f06b04cf4c824b9c975d9b84f4a0e8171acef75
(cherry picked from commit a18f974bd7)
2020-02-06 01:44:03 +00:00
Bill Peckham
dba4b00232 Add functions for easier vendor var definitions.
The add_soong_config_namespace adds a namespace and
initializes it to be empty. The add_soong_config_var
function adds a pre-existing variable as a Soong
config variable, and the add_soong_config_var_value
function defines a make variable and also adds it as
a soong config variable.

Bug: 144532889
Test: $(OUT)/soong/soong.variables contains variables.
Change-Id: I5cc6a670a089ecd5163f19f7a2fba33f5860c952
2020-02-06 00:21:31 +00:00
Automerger Merge Worker
2dafa806d9 Merge "More Java/Kotlin warning patterns" am: 99f9f35e29
Change-Id: I459e529fb0ff745866fbb93ee113221a4c0df51b
2020-02-05 23:24:19 +00:00
Chih-hung Hsieh
99f9f35e29 Merge "More Java/Kotlin warning patterns" 2020-02-05 22:50:36 +00:00
Automerger Merge Worker
0181bbb6bb Merge "Add exec_strategy as CLI flags to all rewrapper commands" am: 4475590a45
Change-Id: I198485413d88f2625dd99e16cd6c67003b717c81
2020-02-05 20:35:22 +00:00
Kousik Kumar
4475590a45 Merge "Add exec_strategy as CLI flags to all rewrapper commands" 2020-02-05 20:26:39 +00:00
Automerger Merge Worker
9418ccdf32 Merge "Move VAB properties to vendor." am: 18513de68f
Change-Id: Ia103aeaa5024db5035e5d4382d88522092e95fcd
2020-02-05 18:04:18 +00:00
Yifan Hong
18513de68f Merge "Move VAB properties to vendor." 2020-02-05 17:57:08 +00:00
Kousik Kumar
d463007dfc Add exec_strategy as CLI flags to all rewrapper commands
Bug: b/148798195
Test: The same change is live in master-build-rbe-testing branch where
its not causing any behavior change, and also it works for
RemoteExecution where RBE_CXX_EXEC_STRATEGY variable is set.
2020-02-05 16:06:47 +00:00
Automerger Merge Worker
3324364f3e Merge "Install VNDK_USING_CORE_VARIANT_LIBRARIES" am: 1d5f5d9be6
Change-Id: Ic3cf6a903c9ef6f16975daf54b9414fac428cd8b
2020-02-05 14:57:51 +00:00
Treehugger Robot
1d5f5d9be6 Merge "Install VNDK_USING_CORE_VARIANT_LIBRARIES" 2020-02-05 14:40:36 +00:00
Jooyung Han
ce01a3b014 Install VNDK_USING_CORE_VARIANT_LIBRARIES
With TARGET_VNDK_USE_CORE_VARIANT := true, some VNDK libraries are not
installed and instead system variants are used at runtime.

When building system only, VNDK_USING_CORE_VARIANT_LIBRARIES are not
installed under /system because there is no dependency to trigger
installing. (By definition, /vendor modules depends on vndk libs)

Bug: 148803529
Test: lunch aosp_cf_x86_go_phone-userdebug
      m systemimage # should install vndk libraries of core variant

Change-Id: Ied4347969955491b13dc674f2e8453d76592d1d7
2020-02-05 16:18:09 +09:00
Chih-Hung Hsieh
ed74896600 More Java/Kotlin warning patterns
* Simplify java warning pattern functions.

Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html
Test: warn.py --gencsv build.log > warnings.csv
Change-Id: I837fa9290acded3b936182877d9e0c00de4cdf4f
2020-02-04 15:34:12 -08:00
Automerger Merge Worker
89d0ab8c75 Merge "Add support for LINE_COVERAGE (2/2)" am: 65e9798709
Change-Id: I15d2e57619f32267143dab8795ac14deb84ef3de
2020-02-04 22:46:42 +00:00
Kyriakos Ispoglou
65e9798709 Merge "Add support for LINE_COVERAGE (2/2)" 2020-02-04 22:37:41 +00:00
Automerger Merge Worker
23894433e2 Merge "Add ASAN_SYMBOLIZER_PATH for SANITIZE_HOST=address builds." am: d3a7ce9367
Change-Id: I1f08cd4762f1e6a1302f9198694674a637a47172
2020-02-04 20:20:48 +00:00
Treehugger Robot
d3a7ce9367 Merge "Add ASAN_SYMBOLIZER_PATH for SANITIZE_HOST=address builds." 2020-02-04 20:10:20 +00:00
Automerger Merge Worker
72eacf1e01 Merge "Add new Java/Kotlin/Make warning patterns" am: 9f7a42025d
Change-Id: I580158104ad93a0d3f69871ec67d2a6e98bc7637
2020-02-04 18:51:43 +00:00
Chih-hung Hsieh
9f7a42025d Merge "Add new Java/Kotlin/Make warning patterns" 2020-02-04 18:41:57 +00:00
Stephen Hines
aa8d72c93f Add ASAN_SYMBOLIZER_PATH for SANITIZE_HOST=address builds.
Bug: http://b/30877494
Test: source build/envsetup.sh && echo $ASAN_SYMBOLIZER_PATH --version
Change-Id: I669a5762cc2cea26c0c29f935abde6c14eb0ced7
2020-02-04 09:16:28 -08:00
Automerger Merge Worker
fe10ee9d32 Merge "Add Legacy GSI R" am: 644ed279eb
Change-Id: Ic8b8379f49510aa40523f8c7a187decdf2151834
2020-02-01 16:20:01 +00:00
Treehugger Robot
644ed279eb Merge "Add Legacy GSI R" 2020-02-01 16:13:01 +00:00
Chih-Hung Hsieh
a7f5f3fcbb Add new Java/Kotlin/Make warning patterns
Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html
Test: warn.py --gencsv build.log > warnings.csv
Change-Id: I3195999d60f268f105ead022c193319de4af4e64
2020-01-31 16:14:04 -08:00
Automerger Merge Worker
f561e162e2 Merge "Add quote to the signing arguments when passing to apexer" am: 2c2b9b4d64
Change-Id: Ib8ae825b9369efb01795809aa18a74a6f9bd4dd6
2020-01-31 22:47:22 +00:00
Baligh Uddin
2c2b9b4d64 Merge "Add quote to the signing arguments when passing to apexer" 2020-01-31 22:37:46 +00:00
Kyriakos Ispoglou
c3627b55dd Add support for LINE_COVERAGE (2/2)
This is the 2nd part of the CL.

Bug: b/147604881
Test: Code works successfully on Taimen devices
Change-Id: I834c8743f1f66e7515952b804e6da8a99edf8c2e
2020-01-31 14:37:11 -08:00
Tianjie Xu
0e38d64e49 Add quote to the signing arguments when passing to apexer
We should add quote when passing the signing arguments to apexer. So
the final argument whould look like
apexer ... --signing_args "--signing_helper_with_files=%path"

And the argument parser in avbtool will eventually parse the
"--signing_helper_with_files" correctly.

Bug: 148627666
Test: unittest pass, run a smoke sign_target_files_apk with signing arguments
Change-Id: Ie203d26a508cb98ca94e6c364a2640b681ad79f2
2020-01-31 20:19:18 +00:00
Automerger Merge Worker
286af6d8cf Merge "Pass signing_args to apexer to repack apex" am: 0a6022e781
Change-Id: I4abbdd28024e18a7113734e4daa2ada2b70fa380
2020-01-31 16:40:55 +00:00
Automerger Merge Worker
eb9359ee08 Merge "Rename NativeCoverage to Native_coverage" am: a4d2d6578e
Change-Id: I77f41a8a0aa96d2fb8b161c861bcf5d71f7ef131
2020-01-31 16:40:42 +00:00
Automerger Merge Worker
be4035dd31 Merge "Update VNDK library list for IDumpstateDevice 1.1." am: d0511cfbbb
Change-Id: I8c6eb7b6676eb11438fe0d065d4356de495a5bf3
2020-01-31 16:40:29 +00:00
Baligh Uddin
0a6022e781 Merge "Pass signing_args to apexer to repack apex" 2020-01-31 13:51:20 +00:00
Treehugger Robot
a4d2d6578e Merge "Rename NativeCoverage to Native_coverage" 2020-01-31 03:12:22 +00:00
Tianjie Xu
cea6ad1fb0 Pass signing_args to apexer to repack apex
In the build signing environment, we don't necessary have access to the
physical private key. And we work around it by passing an extra
signing_helper to the avbtool instead of a private key. Since we need
to perform signing to add the hashtree footer when rebuilding the apex
image. We should propogate the signing_helper to apexer and eventually
to avbtool.

Bug: 148627666
Test: unit tests pass. Smoke test by pass a public key to apexer and
hardcode the private key in signing helper script.
Change-Id: I56d57485493a5ba2cbe4c49e493ee9604f68088b
2020-01-31 01:37:36 +00:00
Treehugger Robot
d0511cfbbb Merge "Update VNDK library list for IDumpstateDevice 1.1." 2020-01-31 01:06:19 +00:00
Automerger Merge Worker
0c9c8f48f5 Merge "Add libfdtrack to base_system." am: da8d656ca0
Change-Id: I3d36467804bba83bc0f409b047c5a448bd0c847b
2020-01-30 22:55:25 +00:00
Josh Gao
da8d656ca0 Merge "Add libfdtrack to base_system." 2020-01-30 22:42:48 +00:00
Automerger Merge Worker
d67ff5cc29 Merge "Mark BUILD_HOST_EXECUTABLE as deprecated" am: e2e32f5d27
Change-Id: Ie6e325a82bb20e864417fc6a01f76d27499a7145
2020-01-30 17:45:22 +00:00
Dan Willemsen
e2e32f5d27 Merge "Mark BUILD_HOST_EXECUTABLE as deprecated" 2020-01-30 16:37:07 +00:00
Nikita Ioffe
46fe30f89c Merge "Don't inherit userspace_reboot.mk from mainline_system.mk"
am: c3d679bb88

Change-Id: Ie120fdd9d26df013d9f911f4fc53ac282d136ff3
2020-01-30 03:24:06 -08:00
Baligh Uddin
d770e83b05 Merge "Add mke2fs.conf to otatools"
am: 86b4532286

Change-Id: I8ca73117f75eb34751d26eed19c1c6ee09a83a2b
2020-01-30 03:23:15 -08:00