aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas G <douglas@gadeco.com.br>2016-05-13 04:19:57 -0300
committerDouglas G <douglas@gadeco.com.br>2016-05-13 04:19:57 -0300
commit4e94e9cfd3c3b86585c508f8772d6dba31e3a153 (patch)
tree3308ad841c94d321b1cd944358b5c25f9b8c624a
parent5eb2e8d7c57102849180ec1f5ae88058e5923baf (diff)
Add AOKP configuration files
-rw-r--r--AndroidProducts.mk3
-rwxr-xr-xaokp.mk37
-rwxr-xr-xvendorsetup.sh4
3 files changed, 43 insertions, 1 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
index b5f0275..1a08a23 100644
--- a/AndroidProducts.mk
+++ b/AndroidProducts.mk
@@ -15,4 +15,5 @@
#
PRODUCT_MAKEFILES := \
- $(LOCAL_DIR)/device.mk
+ $(LOCAL_DIR)/device.mk
+
diff --git a/aokp.mk b/aokp.mk
new file mode 100755
index 0000000..0eaae60
--- /dev/null
+++ b/aokp.mk
@@ -0,0 +1,37 @@
+#
+# Copyright 2016 The Android Open-Source 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.
+#
+
+# Boot animation
+TARGET_SCREEN_WIDTH := 720
+TARGET_SCREEN_HEIGHT := 1280
+
+# Inherit some common CM stuff.
+$(call inherit-product-if-exists, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
+$(call inherit-product-if-exists, vendor/aokp/configs/common_full_phone.mk)
+
+# Inherit device configuration
+$(call inherit-product, device/asus/T00F/device.mk)
+
+DEVICE_PACKAGE_OVERLAYS += device/asus/T00F/overlay
+
+PRODUCT_RUNTIMES := runtime_libart_default
+
+# Device identifier. This must come after all inclusions
+PRODUCT_NAME := aokp_T00F
+PRODUCT_BRAND := ASUS
+PRODUCT_MODEL := ASUS_T00F
+PRODUCT_MANUFACTURER := ASUS
+PRODUCT_DEVICE := T00F
diff --git a/vendorsetup.sh b/vendorsetup.sh
index 206f744..f47fdce 100755
--- a/vendorsetup.sh
+++ b/vendorsetup.sh
@@ -14,6 +14,10 @@
# limitations under the License.
#
+add_lunch_combo aokp_T00F-user
+add_lunch_combo aokp_T00F-userdebug
+add_lunch_combo aokp_T00F-eng
+
add_lunch_combo cm_T00F-user
add_lunch_combo cm_T00F-userdebug
add_lunch_combo cm_T00F-eng