blob: 5af18ec1cee668ce23d961b5b9543c9a03177dc8 [file] [log] [blame]
Dinesh K Garg1e60c752014-01-17 05:20:37 -08001# Board specific SELinux policy variable definitions
Avijit Kanti Das60e32ec2014-10-08 11:47:24 -07002ifeq ($(call is-vendor-board-platform,QCOM),true)
Dinesh K Garg1e60c752014-01-17 05:20:37 -08003BOARD_SEPOLICY_DIRS := \
Avijit Kanti Das5d0f9582015-03-19 12:05:13 -07004 $(BOARD_SEPOLICY_DIRS) \
Brent Hronik6a6ca232013-12-17 12:28:23 -07005 device/qcom/sepolicy \
Avijit Kanti Das65b23fe2014-08-08 16:09:14 -07006 device/qcom/sepolicy/common \
7 device/qcom/sepolicy/test \
8 device/qcom/sepolicy/$(TARGET_BOARD_PLATFORM)
Dinesh K Garg1e60c752014-01-17 05:20:37 -08009
10BOARD_SEPOLICY_UNION := \
Avijit Kanti Das5d0f9582015-03-19 12:05:13 -070011 $(BOARD_SEPOLICY_UNION) \
Avijit Kanti Das345ffcb2014-07-24 01:03:22 -070012 genfs_contexts \
Dinesh K Garg1e60c752014-01-17 05:20:37 -080013 file_contexts \
Hariprasad Jayakumardbf08c52014-01-28 12:03:20 -080014 service_contexts \
Tarun Gupta4f7527d2014-10-13 22:54:12 +053015 property_contexts \
Biswajit Paul64f83f62014-10-13 14:36:16 -070016 te_macros \
Dinesh K Garg1e60c752014-01-17 05:20:37 -080017 device.te \
Biswajit Paulbf8f4912014-01-17 15:07:21 -080018 vold.te \
19 ueventd.te \
20 file.te \
Tarun Gupta4f7527d2014-10-13 22:54:12 +053021 property.te \
Susheel Yadagirid0927c62014-10-14 16:01:45 -070022 untrusted_app.te \
Biswajit Pauled3f0232014-02-05 16:55:08 -080023 drmserver.te \
Avijit Kanti Das353e9292014-07-23 23:39:30 -070024 adbd.te \
Avijit Kanti Das0196c6a2014-07-23 23:44:35 -070025 app.te \
26 cnd.te \
27 system_server.te \
Avijit Kanti Das0196c6a2014-07-23 23:44:35 -070028 mediaserver.te \
Olav Haugan265b0a22014-07-08 16:07:16 -070029 msm_irqbalanced.te \
Avijit Kanti Das353e9292014-07-23 23:39:30 -070030 qmuxd.te \
Brent Hronik6a6ca232013-12-17 12:28:23 -070031 netmgrd.te \
Subash Abhinov Kasiviswanathan9d9c0b52014-10-28 11:30:03 -060032 port-bridge.te \
Hariprasad Jayakumar3fef26f2014-01-28 12:03:20 -080033 atfwd.te \
Hariprasad Jayakumara4559a42014-03-14 18:56:03 -070034 radio.te \
Brent Hronikccc29032013-12-17 12:45:57 -070035 smd_test.te \
36 qmi_ping.te \
Brent Hronike2088162014-01-24 19:17:30 -070037 qmi_test_service.te \
Subash Abhinov Kasiviswanathan2c3fed32014-03-12 17:13:13 -060038 irsc_util.te \
Avijit Kanti Das71c08422014-07-25 17:11:21 -070039 netd.te \
40 rild.te \
41 diag.te \
Avijit Kanti Das345ffcb2014-07-24 01:03:22 -070042 diag_test.te \
43 audiod.te \
Hariprasad Jayakumardbf08c52014-01-28 12:03:20 -080044 service.te \
Shiju Mathew30dea982014-04-11 11:51:53 -040045 system_app.te \
Avijit Kanti Das65b23fe2014-08-08 16:09:14 -070046 thermal-engine.te \
Jie Cheng1e820232014-10-17 10:19:15 +080047 vm_bms.te \
Ravi Kumar Siddojigarie4e03972014-09-04 20:35:57 +053048 bluetooth.te \
Archana Sathyakumar1e3449f2014-08-29 12:33:39 -070049 init_shell.te \
Avijit Kanti Das36fb2c12014-10-06 15:21:57 -070050 mpdecision.te \
Vince Leung358d6f32014-10-16 15:10:52 -070051 perfd.te \
Avijit Kanti Dasf1499022014-10-06 16:22:55 -070052 mm-qcamerad.te \
Avijit Kanti Das60e32ec2014-10-08 11:47:24 -070053 domain.te \
Avijit Kanti Dasd01b3b32014-10-21 10:30:09 -070054 init.te \
Avijit Kanti Das1429ed22015-03-17 17:43:09 -070055 shell.te \
Nikhilesh Reddy63535202014-08-29 11:29:35 -070056 time_daemon.te \
Manu Gautam61f2c322014-08-29 12:21:05 -070057 rmt_storage.te \
Nikhilesh Reddy7851fba2014-08-29 11:49:14 -070058 rfs_access.te \
Avijit Kanti Das226cc032014-10-06 19:09:05 -070059 hvdcp.te \
Avijit Kanti Das658ff4d2014-10-26 00:30:09 -070060 qti.te \
Avijit Kanti Das226cc032014-10-06 19:09:05 -070061 qseecomd.te \
62 mcStarter.te \
Avijit Kanti Dase0405802014-09-08 18:23:18 -070063 keystore.te \
Avijit Kanti Dasf2b7a742014-10-24 18:32:44 -070064 ims.te \
Avijit Kanti Dasb41c5c52014-12-01 10:28:56 -080065 imscm.te \
Biswajit Paul64f83f62014-10-13 14:36:16 -070066 healthd.te \
Jie Cheng50191782014-10-15 18:11:22 +080067 charger_monitor.te \
Biswajit Paul64f83f62014-10-13 14:36:16 -070068 surfaceflinger.te \
Avijit Kanti Das808ae2f2014-10-21 17:11:11 -070069 mm-pp-daemon.te \
Biswajit Paul64f83f62014-10-13 14:36:16 -070070 wpa.te \
71 bootanim.te \
Ameya Thakur9c45c062014-07-15 16:10:43 -070072 zygote.te \
Ameya Thakur57745462014-10-14 17:56:06 -070073 mdm_helper.te \
Ameya Thakurb6947d62014-10-01 16:32:13 -070074 peripheral_manager.te \
Avijit Kanti Dasfe61c2d2014-10-16 20:17:03 -070075 qcomsysd.te \
Avijit Kanti Das282098d2014-10-21 14:46:20 -070076 usb_uicc_daemon.te \
jinwuf1e16bf2014-10-14 18:36:18 +080077 adsprpcd.te \
Avijit Kanti Das2b495d02014-10-20 17:43:13 -070078 qlogd.te \
Susheel Yadagirid0927c62014-10-14 16:01:45 -070079 ipacm.te \
Ameya Thakur37b34bc2014-10-20 14:58:24 -070080 dpmd.te \
Dinesh K Garge5bafbf2014-10-22 00:13:49 -070081 ssr_setup.te \
Avijit Kanti Das136e6632014-10-27 12:30:14 -070082 subsystem_ramdump.te \
83 ssr_diag.te \
Tushar Janefalkar87c1f922014-10-21 15:16:12 -070084 sectest.te \
85 location.te \
86 location_app.te \
87 seapp_contexts \
88 logd.te \
Samir Mehtab5f8a432014-10-30 12:49:26 +053089 installd.te \
Mulu He738a29d2014-10-27 16:19:16 +080090 wcnss_service.te \
Boxiang Pana2253d22014-11-07 18:00:42 -080091 mmi.te \
Manu Prasad8ec06e02014-10-21 11:46:26 -070092 dhcp.te \
Avijit Kanti Das46bf5312014-12-08 14:03:03 -080093 mediaserver_test.te \
Biswajit Paula1432652015-01-22 15:19:38 -080094 energyawareness.te \
Ravi Kumar Siddojigari733050a2014-11-19 17:32:24 +053095 hbtp.te \
96 kernel.te \
Manu Prasad6b869a82014-12-05 18:53:01 +053097 vold.te \
Ravit Denniseef34992014-10-29 20:09:18 +020098 wfdservice.te \
Alexy Josepha2ff47f2015-01-07 15:15:05 -080099 usf.te \
Alexy Joseph33d55432015-02-10 15:14:00 -0800100 platform_app.te \
101 dtsconfigurator.te \
Sanket Khidkikara061aa02015-03-10 22:04:54 -0700102 dtseagleservice.te \
Bryse Flowersf54a5332015-03-09 15:14:23 -0700103 net.te \
Ameya Thakurb0e12872015-03-11 14:24:24 -0700104 dnsmasq.te \
105 recovery.te
Avijit Kanti Das60e32ec2014-10-08 11:47:24 -0700106
107# Compile sensor pilicy only for SSC targets
108SSC_TARGET_LIST := apq8084
109SSC_TARGET_LIST += msm8226
110SSC_TARGET_LIST += msm8960
111SSC_TARGET_LIST += msm8974
112SSC_TARGET_LIST += msm8994
113
114#ifeq ($(call is-board-platform-in-list,$(SSC_TARGET_LIST)),true)
115BOARD_SEPOLICY_UNION += sensors.te
116BOARD_SEPOLICY_UNION += sensors_test.te
117#endif
Dinesh K Garg09a2f192014-10-31 16:28:22 -0700118
Avijit Kanti Das60e32ec2014-10-08 11:47:24 -0700119endif