Commit graph

13 commits

Author SHA1 Message Date
Ryan Campbell
3b3b9251fa Merge "VTS driver files for boot control HAL." 2016-11-11 16:03:15 +00:00
Ryan Campbell
548f2a000a VTS driver files for boot control HAL.
Test: manual
Change-Id: Ib9b459321002d249c487628028ac8e90e91bffbf
2016-11-10 17:19:43 +00:00
Connor O'Brien
50e32b752e Run boot HAL service as root
The service must run as root to access block devices required by
the existing implementation.

Test: bootctl is-slot-bootable 1
Change-Id: I882cba8ad24943781d5c447b67518acc03efc9a8
Signed-off-by: Connor O'Brien <connoro@google.com>
2016-11-08 16:26:43 -08:00
Colin Cross
8f084e00d6 Support genrules with multiple tools
To allow genrules with more than one tool, rename the tool property to
tools and make it an array, replace $tool with $(location <label>),
and use $() for other variables for consistency.

Bug: 31948427
Test: compare build.ninja
Change-Id: I3d714f70a2af0dc60faeee10e09b6ed166601f1d
(cherry picked from commit b785f5b82e)
2016-11-07 10:54:59 -08:00
Colin Cross
b785f5b82e Support genrules with multiple tools
To allow genrules with more than one tool, rename the tool property to
tools and make it an array, replace $tool with $(location <label>),
and use $() for other variables for consistency.

Bug: 31948427
Test: compare build.ninja
Change-Id: I3d714f70a2af0dc60faeee10e09b6ed166601f1d
2016-11-04 22:49:15 -07:00
Steven Moreland
7982058699 Running update-makefiles for fixed spacing.
Test: pass
Change-Id: I4dcaf70b1c014f3ecf685d4884601be6f17ee51d
2016-11-01 20:06:29 +00:00
Steven Moreland
7a4f118c48 Stop all these merge conflicts.
Test: mma -j64
Change-Id: I319198af32adf1fef180c5c2c22ba4b360fa7609
2016-10-26 12:05:29 +02:00
Treehugger Robot
da32114e26 Merge "boot: use defaultPassthroughServiceImplementation" 2016-10-24 18:00:16 +00:00
Steven Moreland
ce9779412a Update headers (for export shared lib headers)
Test: mma -j64
Bug: 32337293
Change-Id: I93e7cab90efac407525a1a5f2ad30f816a530e17
2016-10-22 00:28:00 +00:00
Steven Moreland
5ac42e7a88 boot: use defaultPassthroughServiceImplementation
Bug: 32282345
Test: make
Change-Id: Ifb479c665aa4e37881c86152d43f4f1f88983133
2016-10-21 12:40:38 -07:00
Connor O'Brien
cd0d29d4af Add android.hardware.boot_control@1.0 service.
Bug: 31864052
Change-Id: I982077d71a81c0bc8d081f0cc7e83180b97f2b87
Signed-off-by: Connor O'Brien <connoro@google.com>
2016-10-19 14:43:36 -07:00
Connor O'Brien
fe25fd88c8 Add boot_control HIDL default implementation
Create basic implementation that passes commands
through to the old HAL implementation.

Bug: 31864052
Test: Ran and compared output to old implementation
Change-Id: I01f4450dc3a1893e13b8fb325ea40cf9c98297be
Signed-off-by: Connor O'Brien <connoro@google.com>
2016-10-19 14:43:36 -07:00
Alex Deymo
6e0c0102ae boot_control: Define the boot_control HIDL interface.
Bug: 31864052
Merged-In: I9222b140ff51c4d3846b86b03719e2c8e9b7fe47
Change-Id: I9222b140ff51c4d3846b86b03719e2c8e9b7fe47
2016-10-19 14:43:14 -07:00