summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/surfaceflinger/Android.mk2
-rw-r--r--services/surfaceflinger/surfaceflinger.rc5
2 files changed, 7 insertions, 0 deletions
diff --git a/services/surfaceflinger/Android.mk b/services/surfaceflinger/Android.mk
index 1eb23616c..17ca10e9b 100644
--- a/services/surfaceflinger/Android.mk
+++ b/services/surfaceflinger/Android.mk
@@ -122,6 +122,8 @@ LOCAL_LDFLAGS := -Wl,--version-script,art/sigchainlib/version-script.txt -Wl,--e
122LOCAL_CFLAGS := -DLOG_TAG=\"SurfaceFlinger\" 122LOCAL_CFLAGS := -DLOG_TAG=\"SurfaceFlinger\"
123LOCAL_CPPFLAGS := -std=c++11 123LOCAL_CPPFLAGS := -std=c++11
124 124
125LOCAL_INIT_RC := surfaceflinger.rc
126
125LOCAL_SRC_FILES := \ 127LOCAL_SRC_FILES := \
126 main_surfaceflinger.cpp 128 main_surfaceflinger.cpp
127 129
diff --git a/services/surfaceflinger/surfaceflinger.rc b/services/surfaceflinger/surfaceflinger.rc
new file mode 100644
index 000000000..718b6b65f
--- /dev/null
+++ b/services/surfaceflinger/surfaceflinger.rc
@@ -0,0 +1,5 @@
1service surfaceflinger /system/bin/surfaceflinger
2 class core
3 user system
4 group graphics drmrpc
5 onrestart restart zygote