summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Veit <claymore1298@gmail.com>2018-05-02 22:15:54 +0200
committerJulian Veit <claymore1298@gmail.com>2018-05-03 18:38:31 +0200
commit5f91d318d4bd73f9974c3b9d214469702c82158e (patch)
tree32308f658a3d602ab3bc01931b854d1ae37ab8a2
parentbd86c8fb8bb0e84b7fb567b73e33110e4dd1459f (diff)
himawl: AICP modifications
-rw-r--r--aicp.dependencies7
-rw-r--r--aicp.mk (renamed from lineage.mk)13
-rwxr-xr-xextract-files.sh21
-rw-r--r--lineage.dependencies6
-rwxr-xr-xsetup-makefiles.sh25
5 files changed, 20 insertions, 52 deletions
diff --git a/aicp.dependencies b/aicp.dependencies
new file mode 100644
index 0000000..7aafe98
--- /dev/null
+++ b/aicp.dependencies
@@ -0,0 +1,7 @@
+[
+ {
+ "repository": "AICP/device_htc_hima-common",
+ "target_path": "device/htc/hima-common",
+ "branch": "o8.1"
+ }
+]
diff --git a/lineage.mk b/aicp.mk
index 7c12b82..720911e 100644
--- a/lineage.mk
+++ b/aicp.mk
@@ -1,11 +1,11 @@
$(call inherit-product, device/htc/himawl/full_himawl.mk)
# Inherit some common Lineage stuff.
-$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
+$(call inherit-product, vendor/aicp/config/common_full_phone.mk)
PRODUCT_GMS_CLIENTID_BASE := android-verizon
-PRODUCT_NAME := lineage_himawl
+PRODUCT_NAME := aicp_himawl
PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_DEVICE="htc_himawl" \
@@ -13,3 +13,12 @@ PRODUCT_BUILD_PROP_OVERRIDES += \
PRIVATE_BUILD_DESC="4.49.605.11 CL947620 release-keys"
BUILD_FINGERPRINT := "htc/HTCOneM9vzw/htc_himawl:7.0/NRD90M/947620.11:user/release-keys"
+
+# AICP Device Maintainers
+PRODUCT_BUILD_PROP_OVERRIDES += \
+ DEVICE_MAINTAINERS="Julian Veit (Claymore1297)"
+
+# Boot animation
+TARGET_SCREEN_HEIGHT := 1920
+TARGET_SCREEN_WIDTH := 1080
+-include vendor/aicp/config/bootanimation.mk
diff --git a/extract-files.sh b/extract-files.sh
index 2634e9d..c4d467f 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -1,25 +1,8 @@
-#!/bin/bash
-#
-# Copyright (C) 2016 The CyanogenMod Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
+#!/bin/sh
set -e
-# Required!
export DEVICE=himawl
-export DEVICE_COMMON=hima-common
export VENDOR=htc
-./../../$VENDOR/$DEVICE_COMMON/extract-files.sh $@
+./../hima-common/extract-files.sh $@
diff --git a/lineage.dependencies b/lineage.dependencies
deleted file mode 100644
index 8616a78..0000000
--- a/lineage.dependencies
+++ /dev/null
@@ -1,6 +0,0 @@
-[
- {
- "repository": "android_device_htc_hima-common",
- "target_path": "device/htc/hima-common"
- }
-]
diff --git a/setup-makefiles.sh b/setup-makefiles.sh
deleted file mode 100755
index 0dffbaf..0000000
--- a/setup-makefiles.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2016 The CyanogenMod Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-set -e
-
-# Required!
-export DEVICE=himawl
-export DEVICE_COMMON=hima-common
-export VENDOR=htc
-
-./../../$VENDOR/$DEVICE_COMMON/setup-makefiles.sh $@