Commit Graph

22765 Commits

Author SHA1 Message Date
android-build-team Robot
c3252f9a66 Make change and version bump to QQ1A.190908.001
Change-Id: I1d5090ac2785d00fe770257cc22d7e05afeea58b
2019-09-07 23:21:55 +00:00
Yi Kong
8206233e51 Merge "Add back the llvm-ar P flag" 2019-09-07 03:41:42 +00:00
Yi Kong
6c5e504c26 Add back the llvm-ar P flag
The P flag is supported as of llvm r354044, add back the flag to reduce
the size of intermediate archieve files. This does not affect the final
binaries.

Test: build
Bug: 71618641
Change-Id: I4021aec783ba341768893392b73b976c1fa5bdf7
2019-09-06 15:19:59 -07:00
Elliott Hughes
6b5481fa5e Merge "Remove unused $MD5SUM." 2019-09-06 21:39:15 +00:00
Elliott Hughes
5602110d73 Remove unused $MD5SUM.
Test: treehugger
Change-Id: I63273b1602362a84beaf32d2260a0a4e35e6ef4d
2019-09-06 11:02:08 -07:00
Treehugger Robot
c2ecd76a0b Merge "Dist proguard dictionaries for platform builds" 2019-09-06 15:53:19 +00:00
Colin Cross
114e8dfa3e Dist proguard dictionaries for platform builds
Proguard dictionaries are useful for platform builds as well as
unbundled builds, produce them for both.

Bug: 140585949
Test: m out/target/product/$(get_build_var TARGET_DEVICE)/${TARGET_PRODUCT}-proguard-dict-eng.ccross.zip
Change-Id: I63b826be35cfbfc9661b5be7de5bea285bd3d3fc
2019-09-05 21:08:38 -07:00
Colin Cross
70bfe07e6c Support injecting boringssl hash in Make
Add LOCAL_INJECT_BSSL_HASH for the two modules in Make that
statically link libcrypto.

Bug: 137267623
Test: m checkbuild
Change-Id: I5d21c262ff388aeb2dbd02595706c5531a628b7e
2019-09-05 15:31:31 -07:00
android-build-team Robot
69b07f33eb Version bump to QQ1A.190905.004 [core/build_id.mk]
Change-Id: I0842daecfc326b18b1c59f29ccf6543e6366859a
2019-09-05 21:58:39 +00:00
Colin Cross
7a9acce4ec Keep proguard fields for lite runtime
The lite proto runtime uses reflection to access fields based on the names in
the schema, keep all the fields.

Bug: 117607748
Bug: 140062984
Test: m checkbuild
Change-Id: I39bc7d28f619dd2ccaee603e4d407aa7ad33f534
Merged-In: I39bc7d28f619dd2ccaee603e4d407aa7ad33f534
2019-09-05 14:42:14 -07:00
Colin Cross
521d4454fa Make javanano a plugin
Treat LOCAL_PROTOC_OPTIMIZE_TYPE := javanano as a plugin by
explicitly passing the path to protoc-gen-javanano.  This allows
removing the javanano customizations from the core plugin code,
which no longer supports javanano natively.

Bug: 117607748
Test: m checkbuild
Change-Id: I913d798136fbee9bfaabe1d815b80c85025cb9b9
Merged-In: I913d798136fbee9bfaabe1d815b80c85025cb9b9
2019-09-05 14:42:14 -07:00
android-build-team Robot
a8b53c37c4 Version bump to QQ1A.190905.003 [core/build_id.mk]
Change-Id: I9ee78285f9058253de6045ca013eac41f2294d35
2019-09-05 21:14:23 +00:00
Elliott Hughes
fdef43d69c Merge "Switch to toybox stat on macOS too." 2019-09-05 21:02:06 +00:00
Elliott Hughes
2e51a1553f Switch to toybox stat on macOS too.
Bug: http://b/139450866
Test: builds
Change-Id: I1a992a63fbf5181a48262901730b8b67661cc259
2019-09-05 10:02:41 -07:00
android-build-team Robot
6f2f169b6b Version bump to QQ1A.190905.002 [core/build_id.mk]
Change-Id: I67b1564934f237a807514d73a25e4337f6163d49
2019-09-05 03:35:44 +00:00
android-build-team Robot
c0c32c25b3 Make change and version bump to QQ1A.190905.001
Change-Id: I144d735752228a8613be5857046c92ea948c4291
2019-09-05 03:22:23 +00:00
android-build-team Robot
8deb83c401 Version bump to QQ1A.190904.003 [core/build_id.mk]
Change-Id: Id6b6a2db505766ffdf2a8955340078fd82ec1224
2019-09-05 00:54:04 +00:00
Julien Desprez
c264c32770 Merge "Delete cts_instant tasks: not needed anymore"
am: 979c9f3117

Change-Id: I83be1baa082283cb85172aa728ccb4a3f566f8f1
2019-09-04 12:04:12 -07:00
android-build-team Robot
36795a904f Version bump to QQ1A.190904.002 [core/build_id.mk]
Change-Id: Ic2eb284be1e552cf3bc725b1fc5d30137606ae92
2019-09-04 05:16:47 +00:00
android-build-team Robot
4a31e5b634 Make change and version bump to QQ1A.190904.001
Change-Id: I569bd9cea233e39c60731ef68a8fa3b88e33881b
2019-09-04 03:21:30 +00:00
Julien Desprez
7c519defbd Delete cts_instant tasks: not needed anymore
Cts-instant is now run directly from cts so there is no
need for a dedicated (unmaintained) cts-instant target.

Test: None
Bug: 139302375
Change-Id: Ibac30f182028981cc7ad55b3998fbf6a545f62f1
2019-09-03 14:43:41 -07:00
android-build-team Robot
3bef810080 Version bump to QD1A.190821.011 [core/build_id.mk]
Change-Id: Icc104f869653089900182737c26bf8bb778f3c20
2019-09-03 17:50:54 +00:00
android-build-team Robot
12c66f4dc3 Version bump to QQ1A.190903.002 [core/build_id.mk]
Change-Id: I29a8e9cb1c730bce8655c2be7df0c280a7d2d2fa
2019-09-03 04:21:26 +00:00
android-build-team Robot
84fbe470b4 Make change and version bump to QQ1A.190903.001
Change-Id: Icc01f0ad71e3a88e2553fd835f988714be1bd1f9
2019-09-03 03:21:03 +00:00
Martin Stjernholm
2722c66be7 Merge changes from topic "art-without-bionic"
am: 1260ce2fb5

Change-Id: I03851bf14865f7e40dc2ce77561833d03d3b70cc
2019-09-02 03:43:45 -07:00
Martin Stjernholm
1260ce2fb5 Merge changes from topic "art-without-bionic"
* changes:
  Update dexpreopt for the ART APEX name change.
  Add new ART APEX.
2019-09-02 10:28:30 +00:00
android-build-team Robot
5861b330f9 Version bump to QQ1A.190902.002 [core/build_id.mk]
Change-Id: I4255b4c4a7c03c556ac23aa05a804a6b92156d24
2019-09-01 23:51:29 +00:00
android-build-team Robot
6b8950cefb Make change and version bump to QQ1A.190902.001
Change-Id: I074e35783faf14200047fdc4f7f6fbdd68cc30fb
2019-09-01 23:22:12 +00:00
android-build-team Robot
6e3da0803c Version bump to QP1A.191005.006 [core/build_id.mk]
Change-Id: I329d6e96b576a6ca87c6c34af9705f2be2dd335a
2019-09-01 19:21:56 +00:00
android-build-team Robot
9833e7009a Make change and version bump to QQ1A.190901.001
Change-Id: I79cdc8af6482dbe7646f4a42a9ded6cf6067f487
2019-08-31 23:21:53 +00:00
android-build-team Robot
4bd902f37c Version bump to QP1A.191005.005 [core/build_id.mk]
Change-Id: I3a114fe45971723119aa724d2875d98575bf05f8
2019-08-31 05:52:49 +00:00
Yifan Hong
92bad9c73d Merge "Partially Revert "Check VINTF compatibility at OTA generation time.""
am: 66d73717b5

Change-Id: I6629fdc810730ad8db28867d8d9912982cd4f6ff
2019-08-30 17:42:32 -07:00
android-build-team Robot
ea608704d9 Version bump to QD1A.190821.010 [core/build_id.mk]
Change-Id: I3b2f33572cb75636654afdf60d2c79456804c1f8
2019-08-30 23:17:45 +00:00
Yifan Hong
948b259b52 Partially Revert "Check VINTF compatibility at OTA generation time."
This partially reverts commit 9276cf0226.

Reason for revert: broke mixed build

Put META/{system,vendor}_{manifest,matrix}.xml back because mixed builds
needs this.

Bug: 140217956
Test: mainline builds

Change-Id: I80898a17d6b86b17114b729d905dd9ab10bc927a
2019-08-30 12:54:09 -07:00
Tao Bao
bce0264348 Merge "releasetools: img_from_target_files uses zip2zip."
am: f833a75283

Change-Id: I1731934e5585185167db9638c7b6652871fbf913
2019-08-30 12:29:42 -07:00
android-build-team Robot
29017d92ee Version bump to QQ1A.190829.002 [core/build_id.mk]
Change-Id: I163e3b4d11cdc4b219291224fda63b364206da31
2019-08-30 17:27:24 +00:00
Martin Stjernholm
b324175118 Update dexpreopt for the ART APEX name change.
Test: Build & boot
Bug: 135753770
Exempt-From-Owner-Approval: Approved internally
Change-Id: I130eaa6126d347bd1010c02b4f353b9e9b15ef84
Merged-In: I130eaa6126d347bd1010c02b4f353b9e9b15ef84
2019-08-30 17:47:30 +01:00
android-build-team Robot
e029e4b671 Make change and version bump to QQ1A.190829.001
Change-Id: I3919d45e494781bcd65bb30a5bd85dfed114edf6
2019-08-29 03:21:04 +00:00
Yifan Hong
a592de9c61 Check VINTF compatibility at OTA generation time.
am: 9276cf0226

Change-Id: Iee0efa785ccbf2aaadb1be7b3dc106f805242adb
2019-08-28 17:21:27 -07:00
Yifan Hong
d14a6110c5 Add a script to check VINTF compat of target files package.
am: e3ba82cff2

Change-Id: Iccf4b7afa93749f441f48a3270f3d4beac8a0f06
2019-08-28 17:20:52 -07:00
Ivan Lozano
a9fef4a0c7 Merge "Make support for rust modules from Soong."
am: e9cb5fa350

Change-Id: I9e109fe46ed9532cc445522a381a9016a86d37f3
2019-08-28 17:07:48 -07:00
Tao Bao
57f8ed6b5e releasetools: img_from_target_files uses zip2zip.
Test: Build the following targets and check the built image archive.
      bonito-userdebug (contains flashable images);
      cf_x86_phone-userdebug (contains super.img);
      aosp_arm64-eng (contains VerifiedBootParams.textproto)
Test: m -j otatools-package; Check that zip2zip is included; Use
      bin/img_from_target_files to generate image archive.
Change-Id: I9f28765bd702849f0df309faebd6aa3072920536
2019-08-28 16:36:25 -07:00
Yifan Hong
bcba1cfdaf Merge changes from topic "vintf_ota_delete"
* changes:
  merge_target_files: Checks VINTF metadata of resulting target files
  Check VINTF compatibility at OTA generation time.
  releasetools: add tests for check_target_files_vintf
  Add a script to check VINTF compat of target files package.
2019-08-28 23:19:21 +00:00
Ivan Lozano
e9cb5fa350 Merge "Make support for rust modules from Soong." 2019-08-28 22:04:56 +00:00
android-build-team Robot
17c00283c0 Version bump to QD1A.190821.009 [core/build_id.mk]
Change-Id: I6fb54369eaf0fc9251dad5e2f4973bfa22f08f1e
2019-08-28 20:56:13 +00:00
Yifan Hong
9276cf0226 Check VINTF compatibility at OTA generation time.
Instead of relying on META/{system,vendor}_{manifest,matrix}.xml
and blindly copy compatibility.zip from target files package to
OTA package, do a static check on the input target files package
before generating the OTA package.

META/{system,vendor}_{manifest,matrix} does not contain ODM manifest
fragments, which is incorrect.

Also, the on-device check of compatibility.zip uses a old libvintf
binary on the device, which may not understand the incoming VINTF
metadata. This change removes the on-device check. Hence, it removes
the requirement of forwards compatibility of libvintf.

This behavior can be skipped with --skip-compatibility-check.

Test: build OTA package
Bug: 139300422
Bug: 131425279
Change-Id: I7fb93be9eb73f578fc05a182c6c9d1f073db2800
2019-08-28 11:02:26 -07:00
Yifan Hong
e3ba82cff2 Add a script to check VINTF compat of target files package.
Instead of checking META/{system,vendor}_{manifest,matrix}.xml (which
is error-prone because ODM SKU-specific manifests are not checked),
this script read the target files package, remaps its directory
structure so that checkvintf understands it, and check VINTF
compatibility.

Also, put it in otatools.zip.

Test: run it on an extracted target files package
Bug: 131425279
Change-Id: I06036f9a8d7242d4bc11524028be40e780c508e8
2019-08-28 11:02:26 -07:00
android-build-team Robot
b5c931259e Make change and version bump to QQ1A.190828.001
Change-Id: Icdbe67b3150b2cf911aad8972a421a75c66dfb99
2019-08-28 03:21:51 +00:00
Ramy Medhat
bc2aa08ca5 Merge "Add PWD to environment variable whitelist for RBE builds."
am: 61fae1ac20

Change-Id: I31125dd51cb0e1d3ad43a7fcb76c7108538ed71d
2019-08-27 19:11:53 -07:00
android-build-team Robot
abe5c770e9 Version bump to QP1A.191005.004 [core/build_id.mk]
Change-Id: I08ff03f2ac4458c8d220714d6922b2e5e62b1e31
2019-08-28 02:04:34 +00:00