Commit Graph

21590 Commits

Author SHA1 Message Date
Paul Scovanner
b8e6ab17b4 Update Security String to 2019-08-05 Bug:126590667 am: a3e1c57a95
am: 3a25bc8b55

Change-Id: I2312582276fdd37adec718ff668939e595eafb4a
2019-06-12 16:12:19 -07:00
Paul Scovanner
3a25bc8b55 Update Security String to 2019-08-05 Bug:126590667
am: a3e1c57a95

Change-Id: I0b10bab75834759c3bd216fc77c38c84b445c4e2
2019-06-12 16:06:18 -07:00
android-build-team Robot
888e632a2a Version bump to QP1A.190612.003 [core/build_id.mk]
Change-Id: Id5ecb99b2033b043b0411872fbc6fcb4bff99304
2019-06-12 23:00:00 +00:00
Paul Scovanner
ead61ed19e Update Security String from 08-05 to 2019-08-01
Bug:126590667
2019-06-12 22:51:45 +00:00
Dan Willemsen
6b72c73a50 Fix dependency on BOARD_AVB_SYSTEM_KEY_PATH
Bug: 130111713
Test: treehugger
Change-Id: I2183ac9f8c45eec178876768dfcc83ae62445293
2019-06-12 21:36:57 +00:00
Dan Willemsen
f14179b3ff Fix some java library dependencies
Bug: 130111713
Test: treehugger
Test: build system image w/RBE
Change-Id: I2c76701c1ad396c1b13f873297785c736fba544d
2019-06-12 21:36:29 +00:00
Dan Willemsen
b441630067 Depend on NDK libraries
Bug: 130111713
Test: treehugger
Test: build system image with RBE
Change-Id: Ibbe4e11a7681c52d2197ce35ae47d4939ca246b6
2019-06-12 21:35:46 +00:00
Dan Willemsen
bbe4e11a76 Call clean-path in more places
When an Android.mk specifies a local path that is outside the current
directory, it uses '..', since we prepend $(LOCAL_PATH)/ to the given
path.

This path ('a/b/../c') gets inserted into command lines and
dependencies. For dependencies, when it gets to Ninja, Ninja calls
CanonicalizePath and removes those references ('a/c'), but the command
line is preserved.

So we've got a command line that references 'a/b', but no dependency on
it. Usually that's not a big problem, but it's an issue if we're trying
to only expose dependencies to the rule, like with RBE only sending the
dependencies to the remote workers. So use our 'clean-path' macro to
collapse the '..' references in Kati so that they don't show up in the
command line either.

Test: treehugger
Test: build a system image with RBE
Change-Id: I0706faa2ac15e9c12c720f43c7bb8171c5efd97c
2019-06-12 21:35:33 +00:00
Dan Willemsen
0706faa2ac Add missing dependecy on SOONG_ZIP
Bug: 130111713
Test: treehugger
Change-Id: Ic5b7c4fbefa83cf002c5f30c1b4646f35e718ca2
2019-06-12 21:35:24 +00:00
Dan Willemsen
c5b7c4fbef Add dependencies on the toolchain (clang, etc)
Historically, we've relied on the path to the clang compiler changing in
order to trigger rebuilds instead of direct dependencies on the compiler
itself. That's somewhat more reliable, since the actual $(CLANG) file is
often a script that doesn't actually change during every update.

In Soong, we've added the dependency anyway, so do it here as well. This
makes it easier for my RBE experiments to identify when we intend to use
clang and to send the entire compiler.

Test: treehugger
Test: build a system image with RBE, find that every command that needed
the compiler gets it.
Change-Id: I3838b5d77884394a8c0f7a1ba133142102602084
2019-06-12 21:34:52 +00:00
Alexander Smundak
b97e73b0d6 Merge "Tune JVM, print full diagnostics on crash." am: f25ffc0a98
am: 50385ee9f3

Change-Id: I265cb14efe0b64716fbf092865e9a541e86575b8
2019-06-12 09:06:04 -07:00
Alexander Smundak
f25ffc0a98 Merge "Tune JVM, print full diagnostics on crash." 2019-06-12 15:33:06 +00:00
android-build-team Robot
586d97e5a4 Make change and version bump to PQ3B.190801.001
Change-Id: If8940b420d93faaaa40735450246f66ca383290b
2019-06-12 09:57:10 +00:00
Paul Scovanner
b10f7384ae Update Security String from 08-05 to 2019-08-01
Bug:126590667

Merged-In: a3e1c57a95
(cherry picked from commit 0b6993aa3aa9053f3a762e380a8fb8f68636b932)

Change-Id: Iae0be422cc387e2b7a8310cc1a09ce90250ab84f
2019-06-12 09:54:38 +00:00
Paul Scovanner
4a078bcf42 Update Security String to 2019-08-05
Bug:126590667
(cherry picked from commit a3e1c57a95)

Change-Id: I354c4bd2f2c5070d4a8eece477ed1bbc748cfdad
2019-06-12 09:54:33 +00:00
android-build-team Robot
70ecb703e6 Make change and version bump to QP1A.190612.002
Change-Id: Ic201ce7a961f8ff66a508ede1476b4b98f41485a
2019-06-12 03:54:57 +00:00
android-build-team Robot
4529650f26 Make change and version bump to QP1A.190612.001
Change-Id: I400aa0cbcfb157a044e5c2268e9c916362190a27
2019-06-12 03:17:14 +00:00
Oliver Nguyen
6f69d2164b Merge "Package coverage files as a zip." am: 6aef14d0e9
am: dcb71cf2bb

Change-Id: I7437fe7d5ff8f2b90f110f8e6e0787ed1c900a61
2019-06-11 19:27:56 -07:00
Treehugger Robot
6aef14d0e9 Merge "Package coverage files as a zip." 2019-06-12 02:00:01 +00:00
Sasha Smundak
a638788c1a Tune JVM, print full diagnostics on crash.
JVM occasionally (0.5% time) crashes on entering a method with SIGSEGV.
It might be due to excessive load on the host machine. Reduce the number
of the compiler threads to 6, and do not start all the GC threads
immediately. If JVM crashes, copy full diagnostics to stderr.

Bug: 132766811
Test: treehugger
Change-Id: Ic1b09e0f2cbcf4c22214eaaeae464899b2b99ef7
2019-06-11 13:29:12 -07:00
Paul Scovanner
a3e1c57a95 Update Security String to 2019-08-05
Bug:126590667
2019-06-11 19:46:33 +00:00
Dan Willemsen
3b37c4cad4 Merge "Add missing dependencies to python scripts" am: 56bfae6402
am: 083777a4c9

Change-Id: I791359b0acebb29402c8ebb922c0a3b30717889c
2019-06-10 20:37:40 -07:00
Treehugger Robot
56bfae6402 Merge "Add missing dependencies to python scripts" 2019-06-11 03:15:54 +00:00
android-build-team Robot
64f473826d Make change and version bump to QP1A.190611.001
Change-Id: I9ffe8ad056942aa04314d5bee2a94df3650cac7f
2019-06-11 03:15:25 +00:00
Dan Willemsen
fa9252d3f7 Merge "Convert java proto generation to use srcjars" am: 68c39b5d06
am: a5ce550534

Change-Id: I95e036ffd49c20914b6aeedb5f2e5f58b482557e
2019-06-10 20:06:34 -07:00
Treehugger Robot
68c39b5d06 Merge "Convert java proto generation to use srcjars" 2019-06-11 02:51:18 +00:00
Jooyung Han
7921c73255 Merge "Ignore testcases' NOTICE files" am: e6d5b8321f
am: 415074c997

Change-Id: I2af85be677cad04196776756f5528de9c8c59b70
2019-06-10 18:00:54 -07:00
Jooyung Han
3a1f5a85bc Merge "fix: wrong dependency from ETC to libc++.so" am: 86a3f0c6c0
am: f21e15515d

Change-Id: I1ae4d0ecb00f766a733863f36a64cc8a8f5d5db4
2019-06-10 18:00:08 -07:00
Treehugger Robot
e6d5b8321f Merge "Ignore testcases' NOTICE files" 2019-06-11 00:24:31 +00:00
Treehugger Robot
86a3f0c6c0 Merge "fix: wrong dependency from ETC to libc++.so" 2019-06-11 00:24:13 +00:00
Dan Willemsen
c84e4cb917 Add missing dependencies to python scripts
These were found when trying to run remotely on RBE with only the
sources depended upon available for each rule.

Bug: 130111713
Test: treehugger
Change-Id: Id763f8fc7dfbe60445f98604db3422147165f537
2019-06-10 23:58:49 +00:00
Dan Willemsen
84c6c1cfe4 Convert java proto generation to use srcjars
So that we actually represent all files in the build graph.

Test: treehugger
Change-Id: I48e32437fcfd8c0de8cbc87d07934393db557aa4
2019-06-10 16:31:07 -07:00
Oliver Nguyen
e91ab2397f Package coverage files as a zip.
Test: make NATIVE_COVERAGE=true COVERAGE_PATHS="*"
Change-Id: I7ee9253ef47a502a9d29f7e15a4402cbb90e34ae
2019-06-10 15:27:31 -07:00
Xin Li
236438ab1e Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190605.003) into master" 2019-06-10 19:54:59 +00:00
Hridya Valsaraju
0606ded214 Merge "Print a warning when sum of sizes of logical partitions an OEM-set limit" am: f1e61651e0
am: 9f72c850d7

Change-Id: I7ff45a5a34be2fa85c73f050cac698dc3169c125
2019-06-10 11:33:04 -07:00
Hridya Valsaraju
9f72c850d7 Merge "Print a warning when sum of sizes of logical partitions an OEM-set limit"
am: f1e61651e0

Change-Id: Id8ec086da905b4c350b556cbb0633854e0e34017
2019-06-10 11:28:06 -07:00
Treehugger Robot
f1e61651e0 Merge "Print a warning when sum of sizes of logical partitions an OEM-set limit" 2019-06-10 18:17:40 +00:00
android-build-team Robot
544e95e83f Make change and version bump to QP1A.190610.001
Change-Id: Ie8dd4efd89943b10a53fd8918db8b2a4cfd46586
2019-06-09 23:16:29 +00:00
android-build-team Robot
b520db13f9 Make change and version bump to QP1A.190609.001
Change-Id: I912be523c90599636dbbbad2117a8e2762adb524
2019-06-08 23:16:24 +00:00
Hridya Valsaraju
6fab18a7eb Print a warning when sum of sizes of logical partitions an OEM-set limit
BOARD_SUPER_PARTITION_WARN_LIMIT can be set by OEMs to print
a warning when the sum of sizes of logical partitions exceed the same.
It is set to 95% of BOARD_SUPER_PARTITION_SIZE by default.

Bug: 133329143
Test: mmm -j32

Change-Id: I7d3bedd970a92be60991898e436f63d914359301
2019-06-07 09:50:47 -07:00
TreeHugger Robot
b0120f8cdd Merge "DO NOT MERGE - Merge pi-platform-release (PPRL.190605.003) into stage-aosp-master" into stage-aosp-master 2019-06-07 07:06:18 +00:00
android-build-team Robot
c609f1ebb7 Version bump to QP1A.190606.002 [core/build_id.mk]
Change-Id: I95b0758241cc0f8b5ef09b8d2aaeabc1803fb553
2019-06-07 01:59:05 +00:00
Alistair Strachan
126c86e559 Merge "Add misc_info.txt to rebuild super.img" am: 95836d71e6
am: c0e3153e3f

Change-Id: I095512c218d962fa0d10ec5e59a4c58071ee7564
2019-06-06 13:42:39 -07:00
Alistair Strachan
95836d71e6 Merge "Add misc_info.txt to rebuild super.img" 2019-06-06 20:23:17 +00:00
Colin Cross
4f60e366db Make kernel modules into normal installed files
We sometimes see build failures when building platform.zip happens
at the same time as building vendor.img if the vendor.img rule
runs rm -rf $OUT/vendor/lib/modules at the same time that platform.zip
is zipping $OUT/vendor/.  Move the kernel modules into normal
installation rules so that they are in place by the time either
the vendor.img or platform.zip rules run.

This will also cause the kernel modules to show up in
installed-files*.txt.

Test: m vendorimage && ls $OUT/vendor/lib/modules
Change-Id: I178b1d54bfcdb5cf5c29885ace9183ac28fc8826
2019-06-06 12:51:47 -07:00
Martin Stjernholm
bc345d9cad Merge "Fix typo causing ALL_DEPS.$(module).ALL_DEPS to be incomplete." am: ddd8b1e64f
am: 54b9c7e4cf

Change-Id: Ic8a695b6ebaf9a656f96738c8d2bc5d031c36621
2019-06-06 02:53:46 -07:00
Martin Stjernholm
ddd8b1e64f Merge "Fix typo causing ALL_DEPS.$(module).ALL_DEPS to be incomplete." 2019-06-06 09:37:15 +00:00
android-build-team Robot
d1447629d9 Make change and version bump to QP1A.190606.001
Change-Id: Icac4a2d2978fc5941c4c5e0c4874ea59d635be1a
2019-06-06 06:52:04 +00:00
Tao Bao
97a6690a23 Rebuild recovery-from-boot patch when calling add_img_to_target_files.
When using Verified Boot 2.0, releasetools specifies a salt value based
on build fingerprint, so that to give idempotent images.

However, the change that removed static `ro.build.fingerprint` [1] broke
the behavior, as common.LoadInfoDict still relies on fingerprints.
Without a fixed salt, the first call to make_recovery_patch.py and the
second one (which writes IMAGES/{boot,recovery}.img) will see different
images, which leads to install-recovery.sh failure.

Note that currently there's a dependency that requires getting bootable
images through two separate calls. make_recovery_patch.py has to happen
first to get (placeholder) files in the system image. We then generate
canned fs_config files, and finally use add_img_to_target_files.py to
write the images.

This CL adds a quick workaround to force rebuilding the
recovery-from-boot patch while calling add_img_to_target_files.py.

[1] https://android-review.googlesource.com/c/platform/build/+/892933

Bug: 134123803
Bug: 134525174
Test: TreeHugger
Test: Build a non-A/B target that uses AVB. Run validate_target_files.py
      on the generated target_files.zip.
Change-Id: I5859e30be63bfd54398cf41fd2d907f15285f560
Merged-In: I5859e30be63bfd54398cf41fd2d907f15285f560
(cherry picked from commit 4978fa99d1)
2019-06-05 22:04:47 -07:00
Tao Bao
41376712ca Merge "Rebuild recovery-from-boot patch when calling add_img_to_target_files." am: e55c0ae469
am: d4680b2f33

Change-Id: Ifa54144ab48d54b7b2b18425f2951f249b625274
2019-06-05 21:19:26 -07:00