device/generic/goldfish
Revisión | 049bb224280d31cf2f9c1ca62226c8eb3b7110d5 (tree) |
---|---|
Tiempo | 2017-06-24 05:44:58 |
Autor | Lingfeng Yang <lfy@goog...> |
Commiter | android-build-team Robot |
Build power.ranchu and add power hal to manifest.xml
Bug: 37302997
Bug: 37863919
Test: Build and run sdk_google_aw_x86-userdebug emulator
Change-Id: Id8fc018b005b011426d3e0bc885ee8ef00dec1eb
(cherry picked from commit 4aa73d308e16905c5971d7c7ede464a824ed770a)
(cherry picked from commit 8ac023565943620cb6b1f85c396b0c3661219342)
@@ -24,11 +24,11 @@ | ||
24 | 24 | </interface> |
25 | 25 | </hal> |
26 | 26 | <hal format="hidl"> |
27 | - <name>android.hardware.graphics.mapper</name> | |
28 | - <transport arch="32+64">passthrough</transport> | |
29 | - <version>2.0</version> | |
27 | + <name>android.hardware.power</name> | |
28 | + <transport>hwbinder</transport> | |
29 | + <version>1.0</version> | |
30 | 30 | <interface> |
31 | - <name>IMapper</name> | |
31 | + <name>IPower</name> | |
32 | 32 | <instance>default</instance> |
33 | 33 | </interface> |
34 | 34 | </hal> |
@@ -27,3 +27,14 @@ LOCAL_SRC_FILES := power_qemu.c | ||
27 | 27 | LOCAL_MODULE := power.goldfish |
28 | 28 | LOCAL_MODULE_TAGS := optional |
29 | 29 | include $(BUILD_SHARED_LIBRARY) |
30 | + | |
31 | +include $(CLEAR_VARS) | |
32 | + | |
33 | +LOCAL_MODULE_RELATIVE_PATH := hw | |
34 | +LOCAL_CFLAGS += -DQEMU_HARDWARE | |
35 | +LOCAL_SHARED_LIBRARIES := liblog libcutils | |
36 | +LOCAL_C_INCLUDES += $(LOCAL_PATH)/../include | |
37 | +LOCAL_SRC_FILES := power_qemu.c | |
38 | +LOCAL_MODULE := power.ranchu | |
39 | +LOCAL_MODULE_TAGS := optional | |
40 | +include $(BUILD_SHARED_LIBRARY) |