summaryrefslogtreecommitdiffstats
path: root/modules/power/Android.mk
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2012-01-10 00:32:42 -0800
committerTodd Poynor <toddpoynor@google.com>2012-02-17 16:26:32 -0800
commitc82792c0a4135c1a5de4e4f0ca47318fa5dd7e14 (patch)
tree5daa61c8e42491bda5dd9df9028316bd7550dd1a /modules/power/Android.mk
parent5ad38a901dcca2961f3ed35ae0b206c13bc515cd (diff)
downloadhardware_libhardware-c82792c0a4135c1a5de4e4f0ca47318fa5dd7e14.zip
hardware_libhardware-c82792c0a4135c1a5de4e4f0ca47318fa5dd7e14.tar.gz
hardware_libhardware-c82792c0a4135c1a5de4e4f0ca47318fa5dd7e14.tar.bz2
Power HAL: Add initial header file and default/legacy implementation
Change-Id: I43a515a8ffe72a9c4e7d5f7470a5e73e76d5e1b1 Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'modules/power/Android.mk')
-rw-r--r--modules/power/Android.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/power/Android.mk b/modules/power/Android.mk
new file mode 100644
index 0000000..50ab221
--- /dev/null
+++ b/modules/power/Android.mk
@@ -0,0 +1,25 @@
+# Copyright (C) 2011 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := power.default
+LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
+LOCAL_SRC_FILES := power.c
+LOCAL_SHARED_LIBRARIES := liblog
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_SHARED_LIBRARY)