Steven Moreland
46429152c0
Merge "Remove libhidltransport deps" am: e2ca8ba293 am: 3746d95338 am: 6e460f877a
...
am: 8465703b0b
Change-Id: I426a10f347882d00c29d9c6574e3ccbfc3c5f11b
2019-09-30 09:37:10 -07:00
Steven Moreland
8465703b0b
Merge "Remove libhidltransport deps" am: e2ca8ba293 am: 3746d95338
...
am: 6e460f877a
Change-Id: I9134024f2a271d4eb3f4bdae57a2062da6c6cee9
2019-09-30 09:28:32 -07:00
Steven Moreland
6e460f877a
Merge "Remove libhidltransport deps" am: e2ca8ba293
...
am: 3746d95338
Change-Id: Idd29edebb4ee16c00815b7a7557385faee262984
2019-09-30 09:22:00 -07:00
Steven Moreland
3746d95338
Merge "Remove libhidltransport deps"
...
am: e2ca8ba293
Change-Id: Ia3ea9dfe765659d34f44a3486ade41b06be6f7f0
2019-09-30 09:15:58 -07:00
Steven Moreland
e2ca8ba293
Merge "Remove libhidltransport deps"
2019-09-30 15:56:03 +00:00
Tao Bao
5c9a49b9fd
Merge "minadbd: Update README.md." am: ec734e5851 am: 79d93f9eee am: 586fed8db2
...
am: 2b27153d28
Change-Id: Ic8a9d0fc4f4495d5d5b70e7170f6257e1c04d3ac
2019-09-27 17:43:48 -07:00
Tao Bao
2b27153d28
Merge "minadbd: Update README.md." am: ec734e5851 am: 79d93f9eee
...
am: 586fed8db2
Change-Id: I994acdaabbca974c18dc144d9b20366bcb192688
2019-09-27 17:36:48 -07:00
Tao Bao
586fed8db2
Merge "minadbd: Update README.md." am: ec734e5851
...
am: 79d93f9eee
Change-Id: I5a415f079f66cf67af17c08a7f84d2ae68c36c70
2019-09-27 17:30:45 -07:00
Tao Bao
79d93f9eee
Merge "minadbd: Update README.md."
...
am: ec734e5851
Change-Id: I133418ea66cce3fdb70c3baba7fa8d6b68beb740
2019-09-27 17:23:45 -07:00
Tao Bao
ec734e5851
Merge "minadbd: Update README.md."
2019-09-27 23:47:06 +00:00
Tao Bao
0cc2c5b453
minadbd: Update README.md.
...
Test: N/A
Change-Id: I7f4648f2b357de7d9700e38552a0156d13c1bd0b
2019-09-27 13:17:16 -07:00
Tao Bao
9371caa8b0
Merge "minadbd: Export minadbd/types.h to libinstall." am: ffa9ffbd2b am: 74c405d87f am: e0cb5d5c1e
...
am: 86a39318cb
Change-Id: I84281d5179de162893853319eaca563db6ede09b
2019-09-26 16:32:32 -07:00
Tao Bao
86a39318cb
Merge "minadbd: Export minadbd/types.h to libinstall." am: ffa9ffbd2b am: 74c405d87f
...
am: e0cb5d5c1e
Change-Id: Idd7bdcc93648d8de58f62d280aebd8d1dd00d449
2019-09-26 16:25:06 -07:00
Tao Bao
e0cb5d5c1e
Merge "minadbd: Export minadbd/types.h to libinstall." am: ffa9ffbd2b
...
am: 74c405d87f
Change-Id: I93f0cb7ea11664a69e76c703f95ee982ef9402da
2019-09-26 16:19:32 -07:00
Tao Bao
74c405d87f
Merge "minadbd: Export minadbd/types.h to libinstall."
...
am: ffa9ffbd2b
Change-Id: I18571b1a696b02cab050b570bf36878e25a27462
2019-09-26 16:13:36 -07:00
Tao Bao
ffa9ffbd2b
Merge "minadbd: Export minadbd/types.h to libinstall."
2019-09-26 22:46:14 +00:00
Colin Cross
a8efe45ef2
Merge "Use libcrypto_static instead of libcrypto" am: 4c4c7dc26b am: 617d01a9c1 am: 819a24d44e
...
am: c56c1e4480
Change-Id: I74a8273e7efce12c1de0983f3c8ba5e5d354b7b5
2019-09-26 08:19:58 -07:00
Colin Cross
c56c1e4480
Merge "Use libcrypto_static instead of libcrypto" am: 4c4c7dc26b am: 617d01a9c1
...
am: 819a24d44e
Change-Id: I1c2606b711ec9743ff6484cbbfb7e64dc79b71d8
2019-09-26 08:07:09 -07:00
Colin Cross
819a24d44e
Merge "Use libcrypto_static instead of libcrypto" am: 4c4c7dc26b
...
am: 617d01a9c1
Change-Id: I45e8687b462db7676efffd03323efbe1f273e9f2
2019-09-26 07:54:01 -07:00
Colin Cross
617d01a9c1
Merge "Use libcrypto_static instead of libcrypto"
...
am: 4c4c7dc26b
Change-Id: Ia77cc9f13f4807fd2276b332599a1b489cf4a9a6
2019-09-26 07:41:39 -07:00
Colin Cross
4c4c7dc26b
Merge "Use libcrypto_static instead of libcrypto"
2019-09-26 14:32:33 +00:00
Tao Bao
3305d48b0b
minadbd: Export minadbd/types.h to libinstall.
...
Test: mmma bootable/recovery
Change-Id: I503e942b23cc51024aa752c1eb3db5455a44a9d1
2019-09-26 00:04:11 -07:00
Steven Moreland
ff9b62b781
Remove libhidltransport deps
...
Since this was combined into libhidlbase.
Bug: 135686713
Test: build only (libhidltransport is empty)
Change-Id: I253e50726967044714275ab995fb8a8a57bcde36
2019-09-25 15:12:30 -07:00
Bill Yi
4462180165
[automerger skipped] Import translations. DO NOT MERGE am: 92214baec2 -s ours am: 4a8558e9d8 -s ours
...
am: 4c70d5d02d -s ours
am skip reason: subject contains skip directive
Change-Id: Ic69c8b1808ba6956a5ca608fd0d031e098744fa9
2019-09-25 07:37:50 -07:00
Bill Yi
4c70d5d02d
[automerger skipped] Import translations. DO NOT MERGE am: 92214baec2 -s ours
...
am: 4a8558e9d8 -s ours
am skip reason: subject contains skip directive
Change-Id: I94d0b4fdcab116c3d626def7833fa013506d7ecb
2019-09-25 07:27:27 -07:00
Bill Yi
4a8558e9d8
[automerger skipped] Import translations. DO NOT MERGE
...
am: 92214baec2 -s ours
am skip reason: subject contains skip directive
Change-Id: If3581390553ec30c8c59f54b12506cdff680c657
2019-09-25 07:21:27 -07:00
Bill Yi
92214baec2
Import translations. DO NOT MERGE
...
Change-Id: I18c2199dc9439d6013329d1f0eb40dd106618bfb
Auto-generated-cl: translation import
2019-09-24 14:36:40 -07:00
Tao Bao
3010e66ec4
Merge "applypatch: Add backup_source parameter to PatchPartition." am: 86b54dc493 am: 164f4759a2 am: 18185ae561
...
am: 6b60b35b4b
Change-Id: I1636bbf6a0e438b6817574ba9723f48b18f60b95
2019-09-23 16:47:54 -07:00
Tao Bao
6b60b35b4b
Merge "applypatch: Add backup_source parameter to PatchPartition." am: 86b54dc493 am: 164f4759a2
...
am: 18185ae561
Change-Id: I313f427443d4d1c87990ffc6ebbb83e466b00588
2019-09-23 16:40:22 -07:00
Tao Bao
18185ae561
Merge "applypatch: Add backup_source parameter to PatchPartition." am: 86b54dc493
...
am: 164f4759a2
Change-Id: I0d4bc6a5ec15265889e6df57ebdb0ee7c4ed64ca
2019-09-23 16:33:00 -07:00
Tao Bao
164f4759a2
Merge "applypatch: Add backup_source parameter to PatchPartition."
...
am: 86b54dc493
Change-Id: I0776b40d710ba577667aaba055ed6555eb9fbefc
2019-09-23 16:23:57 -07:00
Tao Bao
86b54dc493
Merge "applypatch: Add backup_source parameter to PatchPartition."
2019-09-23 23:07:40 +00:00
Colin Cross
0e643e4d7f
Use libcrypto_static instead of libcrypto
...
Replace libcrypto with libcrypto_static, which can be protected through
visibility to ensure only modules that don't affect FIPS certification
can use it.
Bug: 141248879
Test: m checkbuild
Change-Id: I0affaa292237bdbc772d3adc36086905ed6fbe9d
2019-09-23 13:54:09 -07:00
Tao Bao
1e08b8257c
Merge "applypatch: Use static libs for libbrotli and libbz." am: 4f86af7b9a am: 5108b0b7f4 am: 1fcdb2709b
...
am: 117fae7049
Change-Id: I60d04ae52f867cd9b5c266236c621d6e7f84c283
2019-09-23 13:22:02 -07:00
Tao Bao
117fae7049
Merge "applypatch: Use static libs for libbrotli and libbz." am: 4f86af7b9a am: 5108b0b7f4
...
am: 1fcdb2709b
Change-Id: I285c95c4972e5fa39be55666de19d426edb226c6
2019-09-23 13:14:31 -07:00
Tao Bao
1fcdb2709b
Merge "applypatch: Use static libs for libbrotli and libbz." am: 4f86af7b9a
...
am: 5108b0b7f4
Change-Id: Ib112b7c8ecc533224459c045329a19e50e68f389
2019-09-23 13:08:30 -07:00
Tao Bao
5108b0b7f4
Merge "applypatch: Use static libs for libbrotli and libbz."
...
am: 4f86af7b9a
Change-Id: If7c24567470f842da95ea339f691a355c4402da9
2019-09-23 12:54:38 -07:00
Treehugger Robot
4f86af7b9a
Merge "applypatch: Use static libs for libbrotli and libbz."
2019-09-23 19:33:30 +00:00
Tao Bao
5234ad466c
applypatch: Add backup_source parameter to PatchPartition.
...
And set it to false when installing recovery image via applypatch. We
only need to back up the source partition when doing in-place update
(e.g. when updating a given partition under recovery). When installing
recovery image via applypatch, we won't touch the source partition (i.e.
/boot).
Removing the backup step also allows dropping the dac_override_allowed
permission. Previously it was needed due to the access to /cache.
Because applypatch runs as root:root, while /cache is owned by
system:cache with 0770.
Bug: 68319577
Test: Invoke the code that installs recovery image; check that recovery
is installed successfully without denials.
Test: recovery_unit_test passes on taimen.
Change-Id: I549a770b511762189d6672a2835b6e403d695919
2019-09-23 11:26:48 -07:00
Tao Bao
71c35b9fba
applypatch: Use static libs for libbrotli and libbz.
...
Prior to this CL, applypatch was the only user of libbrotli.so and
libbz.so (update_engine and puffin have been using the static versions).
This CL switches applypatch to their static versions to save space in
/system.
Sizes prior to the change (aosp_taimen-userdebug):
/system/bin/applypatch 91296
/system/lib64/libbrotli.so 688536
/system/lib64/libbz.so 79560
After:
/system/bin/applypatch 272368
Test: `m dist`
Test: Check the built blueline-userdebug target. libbrotli.so and
libbz.so are not installed.
Change-Id: I08422a0d5a287bbac69aa9f6cfd9c97e5b2e9078
2019-09-23 09:17:52 -07:00
Tao Bao
db83e0ff10
Merge "recovery: Don't report unrecognized option in recovery_main." am: 785d0b4efa am: e9788bc361 am: 7b72231ffa
...
am: a5898a4e85
Change-Id: I2bf94686d7403bbaa82ea59458c3e3a5d1d12c9f
2019-09-19 13:47:39 -07:00
Tao Bao
a5898a4e85
Merge "recovery: Don't report unrecognized option in recovery_main." am: 785d0b4efa am: e9788bc361
...
am: 7b72231ffa
Change-Id: I0eb3026ec113f196c80dc070b1e704f8038ffe10
2019-09-19 13:38:32 -07:00
Tao Bao
7b72231ffa
Merge "recovery: Don't report unrecognized option in recovery_main." am: 785d0b4efa
...
am: e9788bc361
Change-Id: I4873bf08c5406a0e2270e2ee267a962b4f3164bf
2019-09-19 13:31:59 -07:00
Tao Bao
e9788bc361
Merge "recovery: Don't report unrecognized option in recovery_main."
...
am: 785d0b4efa
Change-Id: Icde802ad7a85437311b54f973d4e7066e7a4f96e
2019-09-19 13:25:31 -07:00
Treehugger Robot
785d0b4efa
Merge "recovery: Don't report unrecognized option in recovery_main."
2019-09-19 20:07:04 +00:00
Tao Bao
0f40992f50
Merge "tests: recovery_unit_test requires root." am: 15a381e52c am: 687bb18724 am: 3fd5d407a4
...
am: fa433f7956
Change-Id: Ice4689e906bdca8230e9e9cb0fa982c31b0a9075
2019-09-19 11:22:44 -07:00
Tao Bao
fa433f7956
Merge "tests: recovery_unit_test requires root." am: 15a381e52c am: 687bb18724
...
am: 3fd5d407a4
Change-Id: I84f1b329114b423e4a308e0577d4324de1c63e76
2019-09-19 11:16:45 -07:00
Tao Bao
3fd5d407a4
Merge "tests: recovery_unit_test requires root." am: 15a381e52c
...
am: 687bb18724
Change-Id: Ibf26efe9aa858a1f6c4fce645bc67e55e7350576
2019-09-19 11:10:27 -07:00
Tao Bao
687bb18724
Merge "tests: recovery_unit_test requires root."
...
am: 15a381e52c
Change-Id: Ide2897a766d159126d9b0b38882f9cdde0ac2b9e
2019-09-19 11:03:22 -07:00
Tao Bao
15a381e52c
Merge "tests: recovery_unit_test requires root."
2019-09-19 17:43:54 +00:00