Commit Graph

48225 Commits

Author SHA1 Message Date
Treehugger Robot c041a1bb47 Merge "Fix possible incremental build issue" 2019-01-12 06:23:31 +00:00
Yifan Hong f7696a6544 Merge "Fix size check for devices with multiple groups"
am: b26319ca38

Change-Id: I84f23b46bfbfd2af8aef7339e5efc177d492ecf8
2019-01-11 22:04:54 -08:00
Treehugger Robot b26319ca38 Merge "Fix size check for devices with multiple groups" 2019-01-12 05:59:30 +00:00
Kevin Cheng 82f73db968 Merge "Update acloud alias to support mac via workaround in go/acloud-mac."
am: fa77f1be7a

Change-Id: I599321589869a4e2a0250b8d8e381b4ab3de5fcd
2019-01-11 21:27:48 -08:00
Treehugger Robot fa77f1be7a Merge "Update acloud alias to support mac via workaround in go/acloud-mac." 2019-01-12 05:16:35 +00:00
Dan Willemsen 45539e3941 Fix possible incremental build issue
We tried to start using toybox's sed, but it produced invalid results
with one of init's genrules. Clear out that generated code to fix future
incremental builds, since we don't rebuild everything on a $PATH change.

Bug: 122744241
Test: generate bad file, remove toybox sed, apply this change
Change-Id: I197aa4b68b2fe309b3033e8736e1d80c8ded80ad
2019-01-11 19:51:06 -08:00
Adam Seaton 2f19e51ae4 Merge platform/build into pi-platform-dev for January builds 2019-01-11 15:38:12 -08:00
Tao Bao 2db2039202 Merge "releasetools: Skip copying split super images while signing."
am: 774c0f92bf

Change-Id: I6c88a82476f9b3d4febb71f98e4c9a118a3d67d3
2019-01-11 15:33:40 -08:00
Tao Bao f37455e064 Merge "releasetools: Update OWNERS."
am: dd95cf51fa

Change-Id: I7d52627267ce0f20a3151e8b25efaf3ed3c10f08
2019-01-11 15:32:28 -08:00
Tao Bao 774c0f92bf Merge "releasetools: Skip copying split super images while signing." 2019-01-11 23:18:49 +00:00
Tao Bao dd95cf51fa Merge "releasetools: Update OWNERS." 2019-01-11 23:09:28 +00:00
Dan Willemsen d44ea2ae7c Merge "Deprecate USER in favor of BUILD_USERNAME"
am: d148d61ccf

Change-Id: Id73f0971f51029d21d66d5b45d1971b63d0116dd
2019-01-11 14:40:58 -08:00
Treehugger Robot d148d61ccf Merge "Deprecate USER in favor of BUILD_USERNAME" 2019-01-11 22:32:57 +00:00
Yifan Hong d58e70bf21 Fix size check for devices with multiple groups
The old code calls check-sum-of-partition-sizes within a foreach
loop, causing syntax error:
... fi partition_size_list=...

Add a semicolon after fi to fix this.
Test: build with multiple groups, each group with a partition in it

Change-Id: Ic4387408f3efc1744871619c300546765c678a61
2019-01-11 13:21:11 -08:00
Michael Butler 7babbf0bf8 Merge "Revert "Add $(PRODUCT_OUT)/apex to the artifact path whitelist""
am: d15c8c1da4

Change-Id: I1c856b01224dbda666234aab1ee887d1c6c67416
2019-01-11 13:02:27 -08:00
Tao Bao 33bf268e0b releasetools: Skip copying split super images while signing.
Bug: 122608028
Test: Run sign_target_files_apks.py on a target-files zip that has split
      super images (e.g. OTA/super_system.img).
Change-Id: Iaf7263790961a897ea3f339f5af6b18cf253b946
2019-01-11 12:39:31 -08:00
Michael Butler d15c8c1da4 Merge "Revert "Add $(PRODUCT_OUT)/apex to the artifact path whitelist"" 2019-01-11 20:37:55 +00:00
Tao Bao 4b2306b41c releasetools: Update OWNERS.
Test: N/A
Change-Id: I0c6ac3cd04cc6034787d4b8b90fbd61349c54655
2019-01-11 12:28:09 -08:00
Michael Butler 4cf7cde9aa Revert "Add $(PRODUCT_OUT)/apex to the artifact path whitelist"
This reverts commit 3387e65686.

Reason for revert: Topic likely causing build failure on aosp_x86_64-eng in aosp_master:

"build/make/core/base_rules.mk:271: error: art/build/apex: MODULE.TARGET.SHARED_LIBRARIES.com.android.runtime.host.libart-compiler already defined by art/build/apex."

Change-Id: I2033828e7a13062b72d1d66a7f289cf5bb12b776
2019-01-11 20:24:25 +00:00
Roland Levillain cdee52b383 Merge "Support kryo385 CPU."
am: 2e77d4ee2c

Change-Id: Ibd9ee1cbc5007f9e38af4ffd795d465c3ee29316
2019-01-11 11:01:21 -08:00
Kevin Cheng f0497e4e51 Update acloud alias to support mac via workaround in go/acloud-mac.
Bug: 113557161
Test: acloud on mac, (m acloud and running prebuilt)
Change-Id: Iee6abb6751e8b265dfffdf9c425f073443db2531
2019-01-11 11:00:29 -08:00
Roland Levillain 2e77d4ee2c Merge "Support kryo385 CPU." 2019-01-11 18:41:11 +00:00
Jiyong Park 9f18e49aca Merge "Add $(PRODUCT_OUT)/apex to the artifact path whitelist"
am: 6bff2bc817

Change-Id: I81dc03a5506328f93d9d8df8d8d903902fff4f5b
2019-01-11 09:51:42 -08:00
Yoshisato Yanagisawa 7c7d4e9671 Merge "Remove Goma resource check code."
am: 3ca411b18b

Change-Id: Ibf7404e4b235975b170dd0b4316d300bf1d5d8eb
2019-01-11 09:50:41 -08:00
Sooraj Sasindran 1eb475e693 Rename ANS to ONS
Rename ANS to ONS
Bug: 118347827
Test: compile

Merged-In: Id01f0fc595e736f081d97309f62426cc54ac9e94
Change-Id: Id01f0fc595e736f081d97309f62426cc54ac9e94
2019-01-11 17:47:03 +00:00
Treehugger Robot 6bff2bc817 Merge "Add $(PRODUCT_OUT)/apex to the artifact path whitelist" 2019-01-11 17:43:16 +00:00
Mark Salyzyn 2907f67255 Merge changes Ic8ef968e,I6665bd6f
am: e093534aba

Change-Id: Id1fb5375a22ba12c748b4ec99a04e4860697a751
2019-01-11 09:34:51 -08:00
Treehugger Robot 3ca411b18b Merge "Remove Goma resource check code." 2019-01-11 17:31:06 +00:00
Jiyong Park 4b8374322b Merge "Install bootstrap variant of bionic libs"
am: fe714ead44

Change-Id: I4cc602a51f541e7d75f8bdf7db2a9818f5d7ac5c
2019-01-11 09:17:54 -08:00
Treehugger Robot e093534aba Merge changes Ic8ef968e,I6665bd6f
* changes:
  build_image: support non-sparse right-sized images
  build_image: right-sizing add .2% margin for space and inodes
2019-01-11 17:17:20 +00:00
Treehugger Robot fe714ead44 Merge "Install bootstrap variant of bionic libs" 2019-01-11 16:59:15 +00:00
Vladimir Marko e3a2db8661 Remove conscrypt from boot image.
But keep it as part of the boot class path and deliver the
dex files uncompressed in /system/framework/conscrypt.jar.

Test: Pixel 2 XL boots.
Bug: 119868597
Change-Id: I41b96a586401d120998be5a111331935030922c6
2019-01-11 10:27:17 +00:00
Yoshisato Yanagisawa 391cbc5409 Remove Goma resource check code.
Since resource check has been done in Soong, we do not need that
here.

Bug: 118390303
Test: treehugger
Change-Id: Ib9d0862c65c6dc6e7fd7563995a9a335b3185786
Signed-off-by: Yoshisato Yanagisawa <yyanagisawa@google.com>
2019-01-11 17:07:58 +09:00
Jiyong Park 2a0ed36bd9 Install bootstrap variant of bionic libs
Bionic libs are moved to the runtime APEX and thus are available via the
path /apex/com.android.runtime/lib[64]. However, for processes that are
started before the APEX is ready, a copy of the bionic libs should be left
under /system/lib[64]. This change ensures that the bootstrap bionic
libs are always installed to the system partition.

Note that, at runtime, the bionic libs in the runtime APEX are
bind-mounted to /system/lib/<libname>.so which essentially hides the
bootstrap bionic libs to the processes after the activation of the
runtime APEX.

Bug: 120266448
Test: m and check that libc, libdl, libm are under
/system/lib[64]

Change-Id: I9d5e8e718aa020c012f312a70ed54652130048dd
2019-01-11 13:44:20 +09:00
Jeongik Cha 237303f1e2 Merge "Dump and enforce certificate for apks"
am: bdf0ec03b6

Change-Id: I8a76b3a37611163de51fdde455849e5d6c76347e
2019-01-10 20:39:30 -08:00
Dan Willemsen e6ef8196a9 Merge changes I68c8a566,Ib8a588e5
am: 73e13b5030

Change-Id: I85aa8faf3381a93eb19da1c191162d844c6bce22
2019-01-10 20:38:27 -08:00
Jiyong Park 3387e65686 Add $(PRODUCT_OUT)/apex to the artifact path whitelist
$(PRODUCT_OUT)/apex is where shared libraries in APEXes get installed
into. The path can be considered as a fake path as the shared libraries
are installed there just to have symbol files for them under
$(PRODUCT_OUT)/symbols/apex for debugging purpose. Shared libraries in
APEXes are made available to the path at runtime by mounting APEXes via
apexd. The files under $(PRODUCT_OUT)/apex are never compiled into a
file system image (e.g. system.img)

Bug: 120846816
Test: build/soong/build_test.bash -dist -products mainline_system_arm64
Change-Id: I3727091214f08f945559fa5f0f1450e74c1a5c9b
2019-01-11 13:33:56 +09:00
Jeongik Cha bdf0ec03b6 Merge "Dump and enforce certificate for apks" 2019-01-11 04:31:02 +00:00
Treehugger Robot 73e13b5030 Merge changes I68c8a566,Ib8a588e5
* changes:
  All all_objects to LOCAL_INTERMEDIATE_TARGETS
  Reorder binary.mk to move LOCAL_INTERMEDIATE_TARGETS later
2019-01-11 04:29:49 +00:00
Justin Klaassen 6c8af001be Merge "Remove ExactCalculator module"
am: 8a7fb942e9

Change-Id: I14f46a5d531f6de22a8f75e4b12c627918f4ff8f
2019-01-10 19:25:25 -08:00
Treehugger Robot 8a7fb942e9 Merge "Remove ExactCalculator module" 2019-01-11 03:14:39 +00:00
Mark Salyzyn a575edb5d9 Merge "build_image: hard code set inode size to 256"
am: 546550e095

Change-Id: I718b3479e373acfb381c9f20edbfaa3beb97a054
2019-01-10 18:18:14 -08:00
Treehugger Robot 546550e095 Merge "build_image: hard code set inode size to 256" 2019-01-11 02:01:22 +00:00
Mark Salyzyn 6541d0a80e build_image: support non-sparse right-sized images
Allow right-size to support images that are not sparse.
This is in support of cuttlefish.

Test: build
Bug: 122328872
Change-Id: Ic8ef968e750203dffde7044bc6dfc71c1e283158
2019-01-10 14:49:34 -08:00
Mark Salyzyn 60a716fe8c build_image: right-sizing add .2% margin for space and inodes
To address flakiness in image creation, add a .2% margin of safety
for both inodes and space for ext filesystems.

Test: build
Bug: 122328872
Change-Id: I6665bd6fe642291b825dba58dfd09cc55628230f
2019-01-10 14:49:24 -08:00
Mark Salyzyn c777eaa779 build_image: hard code set inode size to 256
inode-size will jump around based on filesystem size, however
readonly Android system partitions have a specific pattern of
xattr associated with sepolicy and 256 is the most efficient at
absorbing the content.

Test: manual
Bug: 122328872
Change-Id: I06dd6a503067ab6477293b386d56a89dd86b0e83
2019-01-10 14:49:12 -08:00
Dan Willemsen c2230d4684 Merge "Add BUILD_USERNAME and BUILD_HOSTNAME"
am: 1b8939b946

Change-Id: I05a569a08ea2a68f46ff48053c16b0a2e5b5a384
2019-01-10 13:36:06 -08:00
Elliott Hughes 2818d925f9 Merge "Use NEON for CTS/SDK/VTS builds too (64-bit edition)."
am: 6621a2fa8b

Change-Id: Id730224e68cc7344868c2fd825dfc7ca130f2be1
2019-01-10 13:31:57 -08:00
Treehugger Robot 1b8939b946 Merge "Add BUILD_USERNAME and BUILD_HOSTNAME" 2019-01-10 21:29:47 +00:00
Elliott Hughes 6621a2fa8b Merge "Use NEON for CTS/SDK/VTS builds too (64-bit edition)." 2019-01-10 21:23:03 +00:00