huangcm
2024-09-30 df6679f4a364cf78b2a2ebeceecb7f62994725e2
android/device/softwinner/ceres-c3/ceres_c3.mk
....@@ -3,7 +3,8 @@
33
44 #32bit android,you should define TARGET_ARCH := arm
55 #64bit android,you should define TARGET_ARCH := arm64
6
-TARGET_ARCH ?= arm
6
+#TARGET_ARCH ?= arm
7
+TARGET_ARCH ?= arm64
78 ifeq ($(TARGET_ARCH),arm)
89 $(call inherit-product, device/softwinner/ceres-common/ceres_32_bit.mk)
910 else ifeq ($(TARGET_ARCH),arm64)
....@@ -158,6 +159,16 @@
158159 PRODUCT_PACKAGES += \
159160 SoundRecorder
160161
162
+PRODUCT_PACKAGES += \
163
+ FT618
164
+
165
+PRODUCT_PACKAGES += \
166
+ tinyplay \
167
+ tinycap \
168
+ tinymix \
169
+ tinypcminfo
170
+
171
+
161172 #PRODUCT_PACKAGES += AllwinnerGmsIntegration
162173
163174 ############################### 3G Dongle Support ###############################
....@@ -255,7 +266,10 @@
255266
256267 # set primary display orientation to 270
257268 PRODUCT_PROPERTY_OVERRIDES += \
258
- ro.surface_flinger.primary_display_orientation=ORIENTATION_270 \
269
+ ro.surface_flinger.primary_display_orientation=ORIENTATION_0
270
+ #feisi
271
+ #ro.surface_flinger.primary_display_orientation=ORIENTATION_90
272
+ #ro.surface_flinger.primary_display_orientation=ORIENTATION_270
259273
260274 PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
261275 ro.minui.default_rotation=ROTATION_LEFT \
....@@ -265,8 +279,8 @@
265279 ro.camera.enableLazyHal=true
266280
267281 PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
268
- ro.primary_display.user_rotation=90 \
269
- ro.input_flinger.primary_touch.rotation=270\
282
+ ro.primary_display.user_rotation=0 \
283
+ ro.input_flinger.primary_touch.rotation=0\
270284
271285 # if display width < height, maybe qq camera is not match
272286 # we can set the property for qq.
....@@ -310,6 +324,11 @@
310324
311325 #PRODUCT_ROTATION := 90
312326
327
+PRODUCT_COPY_FILES += \
328
+ $(LOCAL_PATH)/ido/liblcd_bl.so:/system/lib64/liblcd_bl.so \
329
+ $(LOCAL_PATH)/ido/liblcd_bl32.so:/system/lib/liblcd_bl.so \
330
+
331
+
313332 PRODUCT_CHARACTERISTICS := tablet
314333
315334 PRODUCT_AAPT_CONFIG := mdpi xlarge hdpi xhdpi large