Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
angler: setup omni makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Whatley authored and darkobas committed Aug 27, 2016
1 parent 1029f45 commit 77b1fc0
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 2 deletions.
3 changes: 2 additions & 1 deletion AndroidProducts.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@
#

PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_angler.mk
$(LOCAL_DIR)/aosp_angler.mk \
$(LOCAL_DIR)/omni_angler.mk
2 changes: 1 addition & 1 deletion CleanSpec.mk
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/ETC/system_build_prop_intermediates/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, find $(OUT_DIR)/target/product/bullhead/ -name \*build.prop* -exec rm -rf {} \;)
$(call add-clean-step, find $(OUT_DIR)/target/product/angler/ -name \*build.prop* -exec rm -rf {} \;)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
Expand Down
8 changes: 8 additions & 0 deletions omni.dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{
"remote": "omnirom",
"repository": "android_kernel_huawei_angler",
"target_path": "kernel/huawei/angler",
"revision": "android-7.0"
}
]
22 changes: 22 additions & 0 deletions omni_angler.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Inherit base AOSP device configuration
$(call inherit-product, device/huawei/angler/aosp_angler.mk)

# Inherit APNs list
$(call inherit-product, vendor/omni/config/gsm.mk)

# Inherit from our custom product configuration
$(call inherit-product, vendor/omni/config/common.mk)

# Bootanimation
TARGET_BOOTANIMATION_SIZE := 1080x720

# Override product naming for Omni
PRODUCT_NAME := omni_angler
PRODUCT_BRAND := google
PRODUCT_MODEL := Nexus 6p
PRODUCT_MANUFACTURER := HUAWEI
PRODUCT_RESTRICT_VENDOR_FILES := false

PRODUCT_BUILD_PROP_OVERRIDES += \
BUILD_FINGERPRINT="google/angler/angler:7.0/NRD90M/3085278:user/release-keys" \
PRIVATE_BUILD_DESC="angler-user 7.0 NRD90M 3085278 release-keys"
1 change: 1 addition & 0 deletions vendorsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@
#

add_lunch_combo aosp_angler-userdebug
add_lunch_combo omni_angler-userdebug

0 comments on commit 77b1fc0

Please sign in to comment.