summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Cherry2015-08-14 15:01:23 -0500
committerTom Cherry2015-08-19 19:26:29 -0500
commit74155996d931edbd19ed5b3f71a58ceff920b451 (patch)
treebe7afc033e0103579ab9a8b5d68e356cbf71fe17 /services
parentd974a3647bd371886093738ab16485c943cb5bad (diff)
downloadframeworks-native-74155996d931edbd19ed5b3f71a58ceff920b451.tar.gz
frameworks-native-74155996d931edbd19ed5b3f71a58ceff920b451.tar.xz
frameworks-native-74155996d931edbd19ed5b3f71a58ceff920b451.zip
bundle init.rc contents with its service
Bug: 23186545 Change-Id: I2a70a39122b146d5bbc9b55156e769782e011bff
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