fix build
This commit is contained in:
parent
5bb919d197
commit
18abed4b6f
6 changed files with 16 additions and 21 deletions
|
@ -226,6 +226,8 @@ TARGET_RIL_VARIANT := caf
|
|||
# Security patch level - T825XXU2BRL2
|
||||
VENDOR_SECURITY_PATCH := 2018-12-01
|
||||
|
||||
SELINUX_IGNORE_NEVERALLOWS := true
|
||||
|
||||
# SELinux
|
||||
include device/qcom/sepolicy/sepolicy.mk
|
||||
BOARD_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy
|
||||
|
|
|
@ -19,12 +19,12 @@ Copyright (C) 2018 Valera Chigir <valera1978@tut.by>
|
|||
|
||||
- Make a workspace
|
||||
|
||||
mkdir cm15
|
||||
cd cm15
|
||||
mkdir cm16
|
||||
cd cm16
|
||||
|
||||
- Do repo init & sync
|
||||
|
||||
repo init -u git://github.com/LineageOS/android.git -b lineage-15.1
|
||||
repo init -u git://github.com/LineageOS/android.git -b lineage-16.0
|
||||
|
||||
- Create .repo/local_manifests/roomservice.xml with the following content:
|
||||
|
||||
|
@ -56,6 +56,6 @@ repo sync
|
|||
|
||||
. build/envsetup.sh
|
||||
|
||||
- Build lineage 15.1
|
||||
- Build lineage 16.0
|
||||
|
||||
brunch gts3llte
|
||||
|
|
|
@ -68,7 +68,7 @@ PRODUCT_COPY_FILES += \
|
|||
frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
|
||||
frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
|
||||
frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute.xml \
|
||||
frameworks/native/data/etc/android.hardware.vulkan.level-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \
|
||||
frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \
|
||||
frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version.xml \
|
||||
frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
|
||||
frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
|
||||
|
@ -376,10 +376,6 @@ PRODUCT_PACKAGES += \
|
|||
PRODUCT_PACKAGES += \
|
||||
android.hardware.vibrator@1.0-impl \
|
||||
android.hardware.vibrator@1.0-service
|
||||
|
||||
# USB
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.usb@1.0-service
|
||||
|
||||
# WiFi
|
||||
PRODUCT_PACKAGES += \
|
||||
|
|
|
@ -19,15 +19,9 @@ allow vndservicemanager shell:file { open read };
|
|||
allow vndservicemanager shell:process getattr;
|
||||
allow vndservicemanager shell:binder transfer;
|
||||
|
||||
#============= gallery_app ==============
|
||||
allow gallery_app vendor_camera_prop:file { getattr open read };
|
||||
|
||||
#============= hal_memtrack_default ==============
|
||||
allow hal_memtrack_default debugfs:file { getattr open read };
|
||||
|
||||
#============= snap_app ==============
|
||||
allow snap_app vendor_camera_prop:file { getattr open };
|
||||
|
||||
#============= tee ==============
|
||||
allow tee gatekeeper_data_file:dir { add_name open write };
|
||||
allow tee gatekeeper_data_file:file getattr;
|
||||
|
|
|
@ -12,11 +12,5 @@ allow qti_init_shell system_prop:property_service set;
|
|||
allow hal_gnss_qti qmuxd_socket:dir { add_name remove_name };
|
||||
allow hal_gnss_qti qmuxd_socket:sock_file { create unlink };
|
||||
|
||||
#============= snap_app ==============
|
||||
allow snap_app vendor_camera_prop:file read;
|
||||
|
||||
#============= snap_app ==============
|
||||
allow snap_app vendor_camera_prop:file read;
|
||||
|
||||
#============= tee ==============
|
||||
allow tee gatekeeper_data_file:file { create write };
|
||||
|
|
9
sepolicy/adddd.te
Normal file
9
sepolicy/adddd.te
Normal file
|
@ -0,0 +1,9 @@
|
|||
#============= hal_bluetooth_qti ==============
|
||||
allow hal_bluetooth_qti bluetooth_data_file:dir { write add_name };
|
||||
|
||||
#============= init ==============
|
||||
allow init proc:file { read getattr };
|
||||
|
||||
#============= system_app ==============
|
||||
allow system_app perfprofd:binder call;
|
||||
allow system_app wificond:binder call;
|
Loading…
Reference in a new issue