aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2016-11-16 00:01:04 -0800
committerSteve Kondik <shade@chemlab.org>2016-11-16 00:01:04 -0800
commit0185a18d23aed0928770fc5da4175afc90162268 (patch)
treea1dbb91ec30e6bc341422c9684629014b71222da
Initial commit
-rw-r--r--README4
-rw-r--r--cm.dependencies6
-rw-r--r--cm.mk21
3 files changed, 31 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..6ba4eae
--- /dev/null
+++ b/README
@@ -0,0 +1,4 @@
+Device configuration for Google Pixel (sailfish).
+
+Nothing is really here, all configuration is in device/google/marlin.
+
diff --git a/cm.dependencies b/cm.dependencies
new file mode 100644
index 0000000..11a87e5
--- /dev/null
+++ b/cm.dependencies
@@ -0,0 +1,6 @@
+[
+ {
+ "repository": "android_device_google_marlin",
+ "target_path": "device/google/marlin"
+ }
+]
diff --git a/cm.mk b/cm.mk
new file mode 100644
index 0000000..3dcb646
--- /dev/null
+++ b/cm.mk
@@ -0,0 +1,21 @@
+# Boot animation
+TARGET_SCREEN_HEIGHT := 1920
+TARGET_SCREEN_WIDTH := 1280
+
+# Inherit some common CM stuff.
+$(call inherit-product, vendor/cm/config/common_full_phone.mk)
+
+# Inherit device configuration
+$(call inherit-product, device/google/marlin/aosp_sailfish.mk)
+
+## Device identifier. This must come after all inclusions
+PRODUCT_NAME := cm_sailfish
+PRODUCT_BRAND := google
+PRODUCT_MODEL := Pixel
+TARGET_MANUFACTURER := Google
+PRODUCT_RESTRICT_VENDOR_FILES := false
+
+PRODUCT_BUILD_PROP_OVERRIDES += \
+ PRODUCT_NAME=sailfish \
+ BUILD_FINGERPRINT="google/sailfish/sailfish:7.1/NDE63V/3389651:user/release-keys" \
+ PRIVATE_BUILD_DESC="sailfish-user 7.1 NDE63V 3389651 release-keys"