diff options
author | Tom Cherry | 2015-08-21 13:20:25 -0500 |
---|---|---|
committer | Android Git Automerger | 2015-08-21 13:20:25 -0500 |
commit | a1f3f54c2752b4108f3b21baea6d5fd73738cbff (patch) | |
tree | a32edea0e7539f8575f4b141a45cd4114f2ba59b /services | |
parent | b1fff84f676d44af8277d68f8122f220538db345 (diff) | |
parent | 32592270d40d6060e19aa97949aee72c8aca0807 (diff) | |
download | frameworks-native-a1f3f54c2752b4108f3b21baea6d5fd73738cbff.tar.gz frameworks-native-a1f3f54c2752b4108f3b21baea6d5fd73738cbff.tar.xz frameworks-native-a1f3f54c2752b4108f3b21baea6d5fd73738cbff.zip |
am 32592270: am 64e13880: Merge "bundle init.rc contents with its service"
* commit '32592270d40d6060e19aa97949aee72c8aca0807':
bundle init.rc contents with its service
Diffstat (limited to 'services')
-rw-r--r-- | services/surfaceflinger/Android.mk | 2 | ||||
-rw-r--r-- | services/surfaceflinger/surfaceflinger.rc | 5 |
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 | |||
122 | LOCAL_CFLAGS := -DLOG_TAG=\"SurfaceFlinger\" | 122 | LOCAL_CFLAGS := -DLOG_TAG=\"SurfaceFlinger\" |
123 | LOCAL_CPPFLAGS := -std=c++11 | 123 | LOCAL_CPPFLAGS := -std=c++11 |
124 | 124 | ||
125 | LOCAL_INIT_RC := surfaceflinger.rc | ||
126 | |||
125 | LOCAL_SRC_FILES := \ | 127 | LOCAL_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 @@ | |||
1 | service surfaceflinger /system/bin/surfaceflinger | ||
2 | class core | ||
3 | user system | ||
4 | group graphics drmrpc | ||
5 | onrestart restart zygote | ||