Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
device_xiaomi_sm8350-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LMODroid-Devices
device_xiaomi_sm8350-common
Commits
21c27b7c
Commit
21c27b7c
authored
4 years ago
by
Demon000
Browse files
Options
Downloads
Patches
Plain Diff
sm6250-common: copy permission files
parent
8a17c1a0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common.mk
+73
-0
73 additions, 0 deletions
common.mk
with
73 additions
and
0 deletions
common.mk
+
73
−
0
View file @
21c27b7c
...
...
@@ -30,6 +30,11 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES
+=
\
$(
LOCAL_PATH
)
/audio/audio_policy_configuration.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/audio_policy_configuration.xml
PRODUCT_COPY_FILES
+=
\
frameworks/native/data/etc/android.hardware.audio.pro.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.audio.pro.xml
\
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.audio.low_latency.xml
\
frameworks/native/data/etc/android.software.midi.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.software.midi.xml
# AVB
PRODUCT_PACKAGES
+=
\
q-gsi.avbpubkey
\
...
...
@@ -40,19 +45,41 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES
+=
\
BluetoothQti
PRODUCT_COPY_FILES
+=
\
frameworks/native/data/etc/android.hardware.bluetooth.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.bluetooth.xml
\
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.bluetooth_le.xml
# Camera
PRODUCT_PACKAGES
+=
\
Snap
PRODUCT_COPY_FILES
+=
\
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.camera.flash-autofocus.xml
\
frameworks/native/data/etc/android.hardware.camera.front.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.camera.front.xml
\
frameworks/native/data/etc/android.hardware.camera.full.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.camera.full.xml
\
frameworks/native/data/etc/android.hardware.camera.raw.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.camera.raw.xml
# Fastbootd
PRODUCT_PACKAGES
+=
\
fastbootd
# Fingerprint
PRODUCT_COPY_FILES
+=
\
frameworks/native/data/etc/android.hardware.fingerprint.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.fingerprint.xml
# Fstab
PRODUCT_COPY_FILES
+=
\
$(
LOCAL_PATH
)
/rootdir/etc/fstab.qcom:
$(
TARGET_COPY_OUT_RAMDISK
)
/fstab.qcom
\
$(
LOCAL_PATH
)
/rootdir/etc/fstab.qcom:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/fstab.qcom
# GPS
PRODUCT_COPY_FILES
+=
\
frameworks/native/data/etc/android.hardware.location.gps.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.location.gps.xml
# Graphics
PRODUCT_COPY_FILES
+=
\
frameworks/native/data/etc/android.hardware.opengles.aep.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.opengles.aep.xml
# HIDL
PRODUCT_PACKAGES
+=
\
android.hidl.base@1.0
\
...
...
@@ -81,6 +108,10 @@ PRODUCT_COPY_FILES += \
$(
LOCAL_PATH
)
/keylayout/uinput-fpc.kl:system/usr/keylayout/uinput-fpc.kl
\
$(
LOCAL_PATH
)
/keylayout/uinput-goodix.kl:system/usr/keylayout/uinput-goodix.kl
# IR
PRODUCT_COPY_FILES
+=
\
frameworks/native/data/etc/android.hardware.consumerir.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.consumerir.xml
# Light
PRODUCT_PACKAGES
+=
\
android.hardware.light@2.0-service.xiaomi_sm6250
...
...
@@ -89,6 +120,10 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES
+=
\
$(
LOCAL_PATH
)
/media/media_profiles_vendor.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/media_profiles_vendor.xml
# Network
PRODUCT_COPY_FILES
+=
\
frameworks/native/data/etc/android.software.ipsec_tunnels.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.software.ipsec_tunnels.xml
# Overlays
DEVICE_PACKAGE_OVERLAYS
+=
\
$(
LOCAL_PATH
)
/overlay
\
...
...
@@ -116,6 +151,16 @@ PRODUCT_COPY_FILES += \
$(
LOCAL_PATH
)
/rootdir/etc/init.recovery.qcom.rc:recovery/root/init.recovery.qcom.rc
\
$(
LOCAL_PATH
)
/rootdir/bin/init.recovery.qcom.sh:recovery/root/init.recovery.qcom.sh
# Sensors
PRODUCT_COPY_FILES
+=
\
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.sensor.accelerometer.xml
\
frameworks/native/data/etc/android.hardware.sensor.compass.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.sensor.compass.xml
\
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.sensor.gyroscope.xml
\
frameworks/native/data/etc/android.hardware.sensor.light.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.sensor.light.xml
\
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.sensor.proximity.xml
\
frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.sensor.stepcounter.xml
\
frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.sensor.stepdetector.xml
# Soong namespaces
PRODUCT_SOONG_NAMESPACES
+=
\
$(
LOCAL_PATH
)
...
...
@@ -133,10 +178,38 @@ PRODUCT_PACKAGES += \
PRODUCT_BOOT_JARS
+=
\
telephony-ext
PRODUCT_COPY_FILES
+=
\
frameworks/native/data/etc/android.hardware.telephony.ims.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.telephony.ims.xml
\
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.telephony.gsm.xml
\
frameworks/native/data/etc/android.hardware.telephony.cdma.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.telephony.cdma.xml
\
frameworks/native/data/etc/android.software.sip.voip.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.software.sip.voip.xml
# TextClassifier
PRODUCT_PACKAGES
+=
\
textclassifier.bundle1
# Touchscreen
PRODUCT_COPY_FILES
+=
\
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml
# Ueventd
PRODUCT_COPY_FILES
+=
\
$(
LOCAL_PATH
)
/configs/ueventd.rc:
$(
TARGET_COPY_OUT_VENDOR
)
/ueventd.rc
# USB
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
# Vulkan
PRODUCT_COPY_FILES
+=
\
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.version-1_1.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.vulkan.version.xml
# WiFi
PRODUCT_COPY_FILES
+=
\
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
\
frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.wifi.passpoint.xml
\
frameworks/native/data/etc/android.hardware.wifi.rtt.xml:
$(
TARGET_COPY_OUT_VENDOR
)
/etc/permissions/android.hardware.wifi.rtt.xml
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment