commit | 40d86b22363fd9461e67ad288e0273bed509937b | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@google.com> | Thu Sep 03 22:27:10 2015 -0700 |
committer | Alex Deymo <deymo@google.com> | Fri Sep 04 16:00:21 2015 -0700 |
tree | 8336dbd896c21fe2f5d8972fff37028652a6be58 | |
parent | 6f20dd4fc8861d93d188cd27323d2f9746464aaf [diff] |
Make Hardware class platform specific. The Hardware class abstracts the interaction with the actual hardware which is inherently platform-specific. This patch implementes a stub version for Android and moves the Chromium OS implementation, handling both with the same public factory method. Bug: 23084776 TEST=emerge-link update_engine; `mma -i` builds the stubs. Change-Id: I19c791a2e3fa22f0ac38bbe68a9c47838bcf019a