summaryrefslogtreecommitdiff
path: root/init/Android.mk
diff options
context:
space:
mode:
authorIsaac Chen <isaacchen@isaacchen.cn>2018-07-13 14:10:47 +0200
committerIsaac Chen <isaacchen@isaacchen.cn>2018-07-13 00:03:18 +0000
commite9c2d355a47a24fc2b29970ee64580c02ca5adb9 (patch)
treeccbadd746ce46dca3611dee02459ba207a2634dc /init/Android.mk
parenta3b292d0ca3964256bea468ac46e29b5e2dbdd66 (diff)
wayne: Build libinit
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
Diffstat (limited to 'init/Android.mk')
-rw-r--r--init/Android.mk31
1 files changed, 31 insertions, 0 deletions
diff --git a/init/Android.mk b/init/Android.mk
new file mode 100644
index 0000000..8f04ac1
--- /dev/null
+++ b/init/Android.mk
@@ -0,0 +1,31 @@
+#
+# Copyright (C) 2016 The CyanogenMod 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_C_INCLUDES := \
+ system/core/base/include \
+ system/core/init
+LOCAL_MODULE := libinit_wayne
+LOCAL_MODULE_TAGS := optional
+LOCAL_SRC_FILES := init_wayne.cpp
+LOCAL_STATIC_LIBRARIES := \
+ libbase \
+ libselinux
+
+include $(BUILD_STATIC_LIBRARY)