Commit Graph

64034 Commits

Author SHA1 Message Date
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
David Anderson e5c8867691 Add virtual A/B compression product.
Sets ro.virtual_ab.compression.enabled and includes snapuserd_ramdisk.

A device will do the following to enable virtual a/b compression:

$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota_compression.mk)

Bug: 168257347
Test: build with product included
Change-Id: Ide19576a69629389a7878d5dff3c5706c22527d9
2020-09-17 12:15:19 -07: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
Treehugger Robot 53a80be100 Merge "HOST_CROSS_OS/ARCH can be configured to linux_bionic/arm64" 2020-09-14 03:41:47 +00:00
Bill Yi 5dc03ed7b4 Merge mainline-release 6664920 to stage-aosp-master - DO NOT MERGE
Merged-In: I91b91ce6a1d3924bf575ed8c0da8e51116462e00
Change-Id: I5e265b127f1a85cb12b07fffae4ad32fa6fd1130
2020-09-13 07:58:37 -07:00
Luca Stefani e0fc4caea9 Sync modules required by releasetools
Test: m otapackage
Change-Id: Id9e43909f3600224af5649b2615dffd7d59723eb
2020-09-12 06:10:13 +00:00
android-build-team Robot f3a4604ae7 Version bump to RP1A.201005.006 [core/build_id.mk]
Change-Id: I18acc8afe854f5b4f38e8e479d3c893f9aace419
2020-09-11 19:01:21 +00:00
Treehugger Robot 3ef10eee71 Merge "Disable sparse image for GSI products" am: 6651152c08
Original change: https://android-review.googlesource.com/c/platform/build/+/1421368

Change-Id: I91bed71e03d58af816d483b54ddd668299a4c1d5
2020-09-11 08:48:22 +00:00
Treehugger Robot 6651152c08 Merge "Disable sparse image for GSI products" 2020-09-11 08:17:49 +00:00
Joe Onorato ef5dc401ae Merge changes I4a43604b,I7200f5f9,If3402a0a am: 55c090ebe0
Original change: https://android-review.googlesource.com/c/platform/build/+/1413820

Change-Id: Ia65262f3e8a337e8164b02417bc0635f33e5f18b
2020-09-11 06:20:25 +00:00
Joe Onorato 55c090ebe0 Merge changes I4a43604b,I7200f5f9,If3402a0a
* changes:
  Add CSV output of remaining makefiles for bp converstion
  Refactor the mongo main() into a class in mk2bp_catalog.py
  Add per-partition summaries and "easy" transitions to mk2bp_catalog
2020-09-11 05:46:48 +00:00
Yifan Hong 6fa28a9ef6 Merge "Add modules partition." am: b1e66600c0
Original change: https://android-review.googlesource.com/c/platform/build/+/1395849

Change-Id: I64138f675cf7f287512cc2f679cac143ad15812e
2020-09-11 00:59:39 +00:00
Xin Li 9c782b4d6e [automerger skipped] Merge "Merge Android R" am: a51b1b857b -s ours
am skip reason: Change-Id I1688ae7c3bb013eed0a3b5fa148811e0d7c50e04 with SHA-1 ab222e8a7f is in history

Original change: https://android-review.googlesource.com/c/platform/build/+/1421814

Change-Id: Idc26fe744cddcc12fadd075c21b76a8d6996d1c7
2020-09-11 00:39:53 +00:00
Yifan Hong b1e66600c0 Merge "Add modules partition." 2020-09-11 00:25:24 +00:00
Joe Onorato 3198607cfd Add CSV output of remaining makefiles for bp converstion
Test: m out/target/product/$(get_build_var TARGET_DEVICE)/mk2bp_remaining.html out/target/product/$(get_build_var TARGET_DEVICE)/mk2bp_remaining.csv
Change-Id: I4a43604b2d536387c787b02a4627a0ad9e2a6ff9
2020-09-10 14:09:29 -07:00
Joe Onorato 8ade9b2e00 Refactor the mongo main() into a class in mk2bp_catalog.py
Test: m out/target/product/$(get_build_var TARGET_DEVICE)/mk2bp_remaining.html
Change-Id: I7200f5f9a6735bb0da3928aa5dc74723d69752d3
2020-09-10 14:09:28 -07:00
Joe Onorato 934bd8dcfc Add per-partition summaries and "easy" transitions to mk2bp_catalog
"Easy" means makefiles that are both clean themselves and
only depend on clean targets themselves too.

Test: m out/target/product/$(get_build_var TARGET_DEVICE)/mk2bp_remaining.html
Change-Id: If3402a0ada5d9db5fb04c617d197ab28d695b03c
2020-09-10 14:09:28 -07:00
Xin Li a51b1b857b Merge "Merge Android R" 2020-09-10 17:22:43 +00:00
Xin Li 1b47b69c72 Merge Android R
Bug: 168057903
Merged-In: I1688ae7c3bb013eed0a3b5fa148811e0d7c50e04
Change-Id: I9e9ef6fa29d6bc519b7c57ad4c3e26c5adf1c08b
2020-09-09 20:21:02 -07:00