am skip reason: Change-Id Ia17b532fbb282be414adf879914870082dd0841b with SHA-1 366afc5011 is in history
Change-Id: I3d50ef9cf2c826b53fabb8fc1d68182cce495b79
am skip reason: Change-Id I4b8c21320c2f38914ef39d3d8f036d885fab4e72 with SHA-1 309b1c0da3 is in history
Change-Id: I40958809b0eeecc942f54b57fd434848a38ad7b9
am skip reason: Change-Id I85c334e6998c6dd2a68460b3580d50fffd900e6f with SHA-1 1372c1b430 is in history
Change-Id: I368aa61260137a0b1303c0d4e520b63492a2ab87
am skip reason: Change-Id I25f6cd9dd0679af6acfc2594314d11fa53ae2151 with SHA-1 33c7736936 is in history
Change-Id: I86daca0dcdb2293c6f7494801756db69f07b4729
Test: Ran a build with `RBE_JAR="true" RBE_JAR_EXEC_STRATEGY="remote"
RBE_ZIP="true" RBE_ZIP_EXEC_STRATEGY="remote" ... use_rbe m` and that
succeeded.
Bug: b/156765207
Change-Id: Ia17b532fbb282be414adf879914870082dd0841b
Merged-In: Ia17b532fbb282be414adf879914870082dd0841b
Test: Ran a sample turbine action with:
RBE_TURBINE_EXEC_STRATEGY="remote" RBE_TURBINE="true" ... use_rbe m out/soong/.intermediates/external/protobuf/libprotobuf-java-micro/android_common/turbine/libprotobuf-java-micro.jar
and checked in reproxy_log.txt that remote-metadata had status SUCCESS.
Bug: b/156765475
Change-Id: I85c334e6998c6dd2a68460b3580d50fffd900e6f
Merged-In: I85c334e6998c6dd2a68460b3580d50fffd900e6f
am skip reason: Change-Id Ieb008e9f462d5f40fb65781d94cf116b1caf8446 with SHA-1 570a292bab is in history
Change-Id: I8432f1abab02ff187f89fa62ea0aa9c2acbe7ce5
Drop down to a single high-mem task when we've got <=16GB, as the system
probably isn't completely free RAM, ninja will be using a couple gigs,
along with whatever "normal" actions will be running concurrently. So
it's unlikely that we can handle two 6-8GB actions along with everything
else.
Also print warnings when we detect <=16GB total RAM, or when we're
running more parallel jobs than than we have GB RAM. These both notify
the user and suggest lowering the `-j` value if they run into problems.
Bug: 141066538
Test: fake totalRAM to [0.5,8,16]GB, checking warning
Test: fake totalRAM to 17GB, `m -j4 nothing` has no warning
Test: `m -j187 nothing` on a 188GB system
Test: `m -j188 nothing` on a 188GB system
Change-Id: Ieb008e9f462d5f40fb65781d94cf116b1caf8446
Merged-In: Ieb008e9f462d5f40fb65781d94cf116b1caf8446
(cherry picked from commit 570a292bab)
am skip reason: Change-Id I1607f8cfb4d2c3cbb3672152bbeb561d9968bc60 with SHA-1 1dcc27e47c is in history
Change-Id: Ia56580a7bbd5eb8274f343de18214207091871f9
am skip reason: Change-Id I201ebabaa533c5ee19e394ab30ca2fa0e3d7ce0e with SHA-1 43d3025cd5 is in history
Change-Id: I095b567924f76c715f0e75dea43fb492a16b07d5
This library no longer exists on device and "org.apache.http.legacy"
should be used instead. The error lingered in the code for a while
because the code was not exercised at all. (The only app that sets
EnforceUsesLibraries is GoogleDialer (not in AOSP), and it specifies
"org.apache.http.legacy" explicitly as an optional used library.)
Test: lunch aosp_cf_x86_phone-userdebug && m
Change-Id: I05fa115476315d35a8877fc42bd1c2042f72f2de