config: import BoardConfig from internal shiftos vendor

Change-Id: I517476c7d943f841b31ff2a4ac42d19188d393cf
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/config/BoardConfigShiftOS.mk b/config/BoardConfigShiftOS.mk
new file mode 100644
index 0000000..f7fb76f
--- /dev/null
+++ b/config/BoardConfigShiftOS.mk
@@ -0,0 +1,68 @@
+#####
+# DEXOPT
+#
+
+ifeq ($(HOST_OS),linux)
+  # Enable dexpreopt to speed boot time on userdebug
+  ifeq ($(TARGET_BUILD_VARIANT),userdebug)
+    ifeq ($(WITH_DEXPREOPT),)
+      WITH_DEXPREOPT := true
+      WITH_DEXPREOPT_BOOT_IMG_ONLY := true                   # For Android O
+      WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := true # For Android O_MR1
+    endif
+  endif
+
+  # Enable dexpreopt for everything on user builds
+  ifeq ($(TARGET_BUILD_VARIANT),user)
+    ifeq ($(WITH_DEXPREOPT),)
+      WITH_DEXPREOPT := true
+    endif
+  endif
+
+  # Disable dexpreopt for prebuilts
+  # DONT_DEXPREOPT_PREBUILTS := true
+endif
+
+#
+# DEXOPT
+#####
+
+#####
+# Factory
+#
+
+# Set to true if building for factory (non release build)
+TARGET_FACTORY_BUILD := false
+
+#
+# Factory
+#####
+
+#####
+# GMS
+#
+
+# Set GMS Home
+ANDROID_PARTNER_GMS_HOME := vendor/partner_gms
+
+# if WITH_GMS is set, use its value
+ifneq ($(WITH_GMS),)
+  SHIFT_BUILD_WITH_GMS := $(WITH_GMS)
+endif
+
+# if nothing is set for SHIFT_BUILD_WITH_GMS,
+# enable it by default
+ifeq ($(SHIFT_BUILD_WITH_GMS),)
+  SHIFT_BUILD_WITH_GMS := true
+endif
+
+ifneq ($(SHIFT_BUILD_WITH_GMS),)
+  BUILD_GMS := $(SHIFT_BUILD_WITH_GMS)
+endif
+
+# GMS Extras
+SHIFT_BUILD_WITH_GMS_EXTRA := false
+
+#
+# GMS
+#####