Skip to content

Commit b059ede

Browse files
committed
angler: Pixel-ify
1 parent 0c4a5f3 commit b059ede

File tree

6 files changed

+46
-67
lines changed

6 files changed

+46
-67
lines changed

AndroidProducts.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,4 @@
1515
#
1616

1717
PRODUCT_MAKEFILES := \
18-
$(LOCAL_DIR)/aosp_angler.mk \
19-
$(LOCAL_DIR)/statix_angler.mk
18+
$(LOCAL_DIR)/aosp_angler.mk

aosp.dependencies

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[
2+
{
3+
"repository":"kernel_huawei_angler",
4+
"target_path":"kernel/huawei/angler"
5+
},
6+
{
7+
"repository":"vendor_huawei_angler",
8+
"target_path":"vendor/huawei/angler",
9+
"branch":"ten",
10+
"remote": "pixel-devices-blobs"
11+
},
12+
{
13+
"repository": "LineageOS/android_hardware_sony_timekeep",
14+
"target_path": "hardware/sony/timekeep",
15+
"branch": "lineage-17.1",
16+
"remote": "github"
17+
},
18+
{
19+
"repository":"packages_apps_PixelLiveWallpaper",
20+
"target_path":"packages/apps/PixelLiveWallpaper",
21+
"branch":"ten",
22+
"remote":"pixel-gitlab"
23+
},
24+
{
25+
"repository":"PixelBoot/packages_apps_GoogleCamera_angler",
26+
"target_path":"packages/apps/GoogleCamera",
27+
"branch":"ten",
28+
"remote":"gitlab"
29+
}
30+
]

aosp_angler.mk

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,28 @@ PRODUCT_COPY_FILES := device/huawei/angler/apns-full-conf.xml:system/etc/apns-co
2424
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
2525
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
2626

27+
# Inherit some common PixelExperience stuff
28+
TARGET_BOOT_ANIMATION_RES := 1440
29+
TARGET_GAPPS_ARCH := arm64
30+
$(call inherit-product, $(TOPDIR)vendor/aosp/config/common_full_phone.mk)
31+
2732
PRODUCT_NAME := aosp_angler
2833
PRODUCT_DEVICE := angler
29-
PRODUCT_BRAND := Android
30-
PRODUCT_MODEL := AOSP on angler
34+
PRODUCT_BRAND := google
35+
PRODUCT_MODEL := Nexus 6P
3136
PRODUCT_MANUFACTURER := Huawei
3237
PRODUCT_RESTRICT_VENDOR_FILES := false
3338

3439
$(call inherit-product, device/huawei/angler/device.mk)
3540
$(call inherit-product-if-exists, vendor/huawei/angler/device-vendor.mk)
3641

42+
# Device Fingerprint
43+
PRODUCT_BUILD_PROP_OVERRIDES += \
44+
PRODUCT_NAME=angler \
45+
PRIVATE_BUILD_DESC="angler-user 8.1.0 OPM3.171019.014 4503998 release-keys"
46+
47+
BUILD_FINGERPRINT := google/angler/angler:8.1.0/OPM3.171019.014/4503998:user/release-keys
48+
3749
PRODUCT_PACKAGES += \
3850
Launcher3 \
3951
WallpaperPicker

device.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
398398

399399
# Write Manufacturer & Model information in created media files.
400400
# IMPORTANT: ONLY SET THIS PROPERTY TO TRUE FOR PUBLIC DEVICES
401-
ifneq ($(filter aosp_angler% statix_angler%, $(TARGET_PRODUCT)),)
401+
ifneq ($(filter aosp_angler% angler%, $(TARGET_PRODUCT)),)
402402
PRODUCT_PROPERTY_OVERRIDES += \
403403
media.recorder.show_manufacturer_and_model=true
404404
else

statix.dependencies

Lines changed: 0 additions & 17 deletions
This file was deleted.

statix_angler.mk

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)