Commit graph

62903 commits

Author SHA1 Message Date
Treehugger Robot
729f56007e Merge "envsetup.sh: add 'syswrite' function" am: cecc644055
Original change: https://android-review.googlesource.com/c/platform/build/+/1423411

Change-Id: I2afe075553c664c91d1cffefeda5c252312053fa
2020-09-22 19:11:57 +00:00
Treehugger Robot
cecc644055 Merge "envsetup.sh: add 'syswrite' function" 2020-09-22 18:34:24 +00:00
Anton Hansson
929a2573c8 Merge "Remove SafetyRegulatoryInfo from generic system" am: 3fc285a21a
Original change: https://android-review.googlesource.com/c/platform/build/+/1433312

Change-Id: I9df840578b7ed7872f3ba3c98fc262f5f08971c0
2020-09-22 09:34:05 +00:00
Anton Hansson
3fc285a21a Merge "Remove SafetyRegulatoryInfo from generic system" 2020-09-22 08:52:22 +00:00
Chih-hung Hsieh
d7218ea055 Merge "Add new Java/C++/Yacc warning patterns" am: d890f596ce
Original change: https://android-review.googlesource.com/c/platform/build/+/1431707

Change-Id: If4089b2fe804b03287fa53efedfe51aeec95cc20
2020-09-22 07:55:38 +00:00
Yanting Yang
e109340cfa Remove SafetyRegulatoryInfo from generic system
SafetyRegulatoryInfo should not exist in AOSP.

Fixes: 166139891
Test: make && flash to verify regulatory option of Settings
Merged-In: I5fbef719ba30cdbf37e0d4c6daa06a50c06e9495
Change-Id: I5fbef719ba30cdbf37e0d4c6daa06a50c06e9495
2020-09-22 08:34:52 +01:00
Chih-hung Hsieh
d890f596ce Merge "Add new Java/C++/Yacc warning patterns" 2020-09-22 07:11:54 +00:00
Treehugger Robot
25d8e36d8e Merge "remove unusued line_coverage.mk and build target" am: 89e9c8fbf1
Original change: https://android-review.googlesource.com/c/platform/build/+/1433466

Change-Id: Ia3eaf001c38e5663d98483f090e8d4d91fb3c11b
2020-09-22 04:21:21 +00:00
Treehugger Robot
89e9c8fbf1 Merge "remove unusued line_coverage.mk and build target" 2020-09-22 03:34:03 +00:00
Kris Alder
d78384a42d remove unusued line_coverage.mk and build target
These are no longer used in favor of clang-coverage-based solutions.

Bug: 162767128
Test: n/a
Change-Id: I8014b6b5ec5d46789e19dc399c1aa8ebd79a3012
2020-09-21 23:19:53 +00:00
Ivan Lozano
48d2472b38 Merge "rust: Don't install static libraries." am: b8f47c50a6
Original change: https://android-review.googlesource.com/c/platform/build/+/1431731

Change-Id: I7561cb6509a34204d32393c04d108e508ed2e1ec
2020-09-21 19:52:30 +00:00
Ivan Lozano
b8f47c50a6 Merge "rust: Don't install static libraries." 2020-09-21 19:38:28 +00:00
Roland Levillain
00c43dfae1 Merge "Add new armv8-2a-dotprod arch variant support." am: 9f5b7aa9b2
Original change: https://android-review.googlesource.com/c/platform/build/+/1426690

Change-Id: I6a54564d22f82947290b7b35e6e3a9f0da318b2b
2020-09-21 18:02:27 +00:00
Treehugger Robot
9ad9398223 Merge "Add an aosp target that supports 64-bit app only" am: f5941dae52
Original change: https://android-review.googlesource.com/c/platform/build/+/1430099

Change-Id: I29c9cc1fc17f73099b9cb0b8452c974d9f13c105
2020-09-21 18:02:10 +00:00
Tom Cherry
2470ef097c Merge "Use libcutils_headers for android_filesystem_config.h" am: 787ef71f29
Original change: https://android-review.googlesource.com/c/platform/build/+/1430228

Change-Id: I3632573a131374139ff9c9a9e9607f14944a6c18
2020-09-21 18:01:12 +00:00
Roland Levillain
9f5b7aa9b2 Merge "Add new armv8-2a-dotprod arch variant support." 2020-09-21 17:54:04 +00:00
Treehugger Robot
f5941dae52 Merge "Add an aosp target that supports 64-bit app only" 2020-09-21 17:48:36 +00:00
Sam Lin
7c9f562d00 Add an aosp target that supports 64-bit app only
Bug: 168796046
Test: N/A
Change-Id: I57116fe67cbe1322f348c9d0506655f32a900dcc
Merged-In: I57116fe67cbe1322f348c9d0506655f32a900dcc
2020-09-21 17:44:46 +00:00
Tom Cherry
787ef71f29 Merge "Use libcutils_headers for android_filesystem_config.h" 2020-09-21 17:26:10 +00:00
Tim Van Patten
9c5f12cab9 Merge "Add ANGLE.apk to the base system" am: 54f87c12e9
Original change: https://android-review.googlesource.com/c/platform/build/+/1431045

Change-Id: I09f5e6de584b81a8090acb611bbfd1d80bfbd8b1
2020-09-21 16:59:19 +00:00
Tim Van Patten
54f87c12e9 Merge "Add ANGLE.apk to the base system" 2020-09-21 16:43:06 +00:00
Bill Yi
87c7ea3204 Merge "Merge mainline-release 6664920 to master - DO NOT MERGE" am: c9e91554ee
Original change: https://android-review.googlesource.com/c/platform/build/+/1430071

Change-Id: I55a69c9a7015c95ac7a9df02f977818301b24c85
2020-09-19 05:23:10 +00:00
Bill Yi
3ffdfd1176 Merge mainline-release 6664920 to master - DO NOT MERGE am: cf9e7f1929
Original change: https://android-review.googlesource.com/c/platform/build/+/1430071

Change-Id: I25ca83ad2b2ba2a874f1c863ef2128ca3311ac29
2020-09-19 05:22:26 +00:00
Chih-Hung Hsieh
e8f4a716ad Add new Java/C++/Yacc 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: I49eafa322902f0587738b583b6262117595318ee
2020-09-18 21:51:06 -07:00
Tom Cherry
54752bf0ae Use libcutils_headers for android_filesystem_config.h
android_filesystem_config.h is found since system/core/include is on
the include path for all projects and contains a symlink to the real
android_filesystem_config.h.  This is fragile and the below bug seeks
to remove this symlink and have users correctly depend on
libcutils_headers.

Bug: 165825252
Test: build
Change-Id: Ie921c4fd96d6e4e42d127bfbfe7a892756ad9495
2020-09-18 22:49:10 +00:00
Bill Yi
c9e91554ee Merge "Merge mainline-release 6664920 to master - DO NOT MERGE" 2020-09-18 18:47:56 +00:00
Ivan Lozano
3e3d0913a5 rust: Don't install static libraries.
Bug: 168729404
Test: Make no longer attempts to install static libraries.
Change-Id: Ifdfd486dfbb0d64e2aeb9738f88c4d4efcb0337a
2020-09-18 14:30:28 -04:00
Tim Van Patten
fad0ce8296 Add ANGLE.apk to the base system
This CL re-enables building ANGLE as parta of the base system. This was
done up until the recent merge of goog/master to aosp/master, and is
required as part of enabling ANGLE as the default OpenGL ES driver for
Cuttlefish.

Bug: b/168625635
Test: atest CtsAngleIntegrationHostTestCases
Change-Id: I12c8db290ed7dc6b213b6f1c22692666dcdf143f
Merged-In: Ide4e3d8f78d3748d557a47ecd153d66694fd1e3a
2020-09-18 11:32:01 -06:00
Bill Yi
cf9e7f1929 Merge mainline-release 6664920 to master - DO NOT MERGE
Merged-In: I4bbc4aca7e21839ac5afd59cc3a13bf102138dd0
Change-Id: If6a82875aafd5d9d92763042e96b6f186efce004
2020-09-17 21:56:55 -07:00
Treehugger Robot
f946a58290 Merge "fs_config: Update docs" am: 281affb8a8
Original change: https://android-review.googlesource.com/c/platform/build/+/1429098

Change-Id: I4b66725b7e8236f4bff42cd8018647dae68a02b8
2020-09-17 19:21:34 +00:00
Treehugger Robot
281affb8a8 Merge "fs_config: Update docs" 2020-09-17 17:15:56 +00:00
Treehugger Robot
993848a0ed Merge "Add a showcommands function to envsetup." am: 00daf9d906
Original change: https://android-review.googlesource.com/c/platform/build/+/1412071

Change-Id: Ic4cbdff23d4cbe508a402a438077d06bb69a52ac
2020-09-17 05:08:32 +00:00
Treehugger Robot
00daf9d906 Merge "Add a showcommands function to envsetup." 2020-09-17 04:35:33 +00:00
Dan Shi
ff1b3b68f4 Merge "Force extra config file to be .config" am: 978a57a443
Original change: https://android-review.googlesource.com/c/platform/build/+/1429097

Change-Id: I11ac4d28fe7eb9c093a7c9de9fc36071ba453b71
2020-09-17 04:14:40 +00:00
Dan Shi
978a57a443 Merge "Force extra config file to be .config" 2020-09-17 03:23:30 +00:00
Steven Moreland
74114f1e69 envsetup.sh: add 'syswrite' function
This function:
- disables verity on the device
- reboots the device only if it is needed
- remounts partitions on the device

Bug: 167697453
Test: syswrite
Change-Id: I23c3e88daaa2b334233f4faf7fe8f8244cd56225
2020-09-17 01:42:32 +00:00
Yifan Hong
d90e24d120 Merge "Revert "Add modules partition."" am: 4e501b58b8
Original change: https://android-review.googlesource.com/c/platform/build/+/1427713

Change-Id: I57769fd76a42e5450ce284da0c81540d5d081b90
2020-09-16 23:23:13 +00:00
Tom Cherry
329545d912 fs_config: Update docs
1. Convert to README.md
2. Sync come content with the updates on source.android.com
3. fs_config uses bionic/libc/kernel/uapi/linux/capability.h, not
system/core/include/private/android_filesystem_capability.h as the
capability header, so update the documentation accordingly.

Test: n/a
Change-Id: I24a084d7a804d3f5d2259cfcea85b8ff4e79d290
2020-09-16 16:21:30 -07:00
Dan Albert
bab814f330 Add a showcommands function to envsetup.
This is similar to the old `m showcommands`, but operates on specific
output paths instead and does not require a build aside from the
initial invocation of soong to generate the ninja files. The
`--regenerate` option is accepted that causes the ninja file to be
regenerated first, but this is not the default because it is slow.
Just note that without this flag results may be stale.

It unfortunately doesn't work for everything in out. For example,
`$OUT/system/lib/libc.so` won't work because it is a symlink that
isn't in the build graph, but `$OUT/system/lib/bootstrap/libc.so`
works.

Test: showcommands out/target/product/walleye/system/lib/libz.so
Bug: None
Change-Id: I4cfded3db994044870fc71ae4bcf9a69224b1e15
2020-09-16 16:20:59 -07:00
Dan Shi
22bc099c02 Force extra config file to be .config
TradeFed only supports .config file as test config.

Bug: 163344047
Test: m HelloWorldTests

Change-Id: Ib963d04fc308b9c319d5b59f50f9ca9b5b575b72
2020-09-16 15:52:13 -07:00
Yifan Hong
4e501b58b8 Merge "Revert "Add modules partition."" 2020-09-16 22:45:54 +00:00
Raphael Gault
b817bb161d Add new armv8-2a-dotprod arch variant support.
This patch introduces the .mk file required to support build for the new
armv8-2a-dotprod Arm64 arch variant. The file just needs to be present
but does not require to contain anything.

Test: test-art-target on Pixel 4.

Change-Id: I4b6a1e306f9819cf31cd556351bd3e8cf08e2537
2020-09-16 14:53:06 +00:00
Yifan Hong
c08cbf0f4a Revert "Add modules partition."
Revert submission 1413808-modules_partition

Reason for revert: modules partition no longer needed
Reverted Changes:
Iceafebd85:Add modules partition
I2fa96199a:rootdir: Add modules directory
Ie397b9ec6:Add modules partition.
I4200d0cf5:fastboot: add modules partition

Bug: 163543381

Change-Id: Iec1d9421bbfeb114fb705f85d910c6def1f211b6
2020-09-15 19:09:26 +00:00
Kousik Kumar
da4ebad824 Merge "Rename wlist to allowlist" am: 4dc545879e
Original change: https://android-review.googlesource.com/c/platform/build/+/1425165

Change-Id: Iceeb6d2eb87c8b7c463e2deaaa3f0f67ab5e69f6
2020-09-15 06:58:19 +00:00
Kousik Kumar
4dc545879e Merge "Rename wlist to allowlist" 2020-09-15 06:37:16 +00:00
Treehugger Robot
41dad99c17 Merge "Sync modules required by releasetools" am: ae40441f55
Original change: https://android-review.googlesource.com/c/platform/build/+/1425051

Change-Id: Ib0c8c81c46520698ddad7665eb83a4adee2f43bb
2020-09-15 01:38:18 +00:00
Treehugger Robot
ae40441f55 Merge "Sync modules required by releasetools" 2020-09-15 00:58:45 +00:00
Kousik Kumar
edb723a3f8 Rename wlist to allowlist
The new release of re-client renames env_var_wlist to env_var_allowlist.
We need to make this change as part of the topic so that with the new
release we are able to deprecate this variable.

Bug: b/167677318
Change-Id: I988381f4f72061f7c6eb99d58593f92cfd618b1b
2020-09-14 11:10:20 +00:00
Bill Yi
2d90620551 Merge "Merge mainline-release 6664920 to stage-aosp-master - DO NOT MERGE" into stage-aosp-master 2020-09-14 05:33:56 +00:00
Treehugger Robot
5a9209eff6 Merge "HOST_CROSS_OS/ARCH can be configured to linux_bionic/arm64" am: 53a80be100
Original change: https://android-review.googlesource.com/c/platform/build/+/1409828

Change-Id: I4240b41b3388ea3694c408d6c2936a4523ead4b0
2020-09-14 04:13:35 +00:00