Added pdk mini-emulator-mips64 support

Bug: 22046040

Change-Id: I012a3b90969b40a5cd705fb995cef5fa5bb1b184
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
new file mode 100644
index 0000000..811c252
--- /dev/null
+++ b/AndroidProducts.mk
@@ -0,0 +1,17 @@
+# Copyright (C) 2015 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.
+#
+
+PRODUCT_MAKEFILES := \
+    $(LOCAL_DIR)/m_e_mips64.mk
diff --git a/BoardConfig.mk b/BoardConfig.mk
new file mode 100644
index 0000000..610724d
--- /dev/null
+++ b/BoardConfig.mk
@@ -0,0 +1,22 @@
+# Copyright (C) 2015 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.
+#
+
+# BoardConfig.mk
+#
+# Product-specific compile-time definitions.
+#
+
+include device/generic/mips64/BoardConfig.mk
+
diff --git a/m_e_mips64.mk b/m_e_mips64.mk
new file mode 100644
index 0000000..d9f4ab6
--- /dev/null
+++ b/m_e_mips64.mk
@@ -0,0 +1,27 @@
+# Copyright (C) 2015 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.
+
+include $(SRC_TARGET_DIR)/product/emulator.mk
+$(call inherit-product, device/generic/mips64/mini_mips64.mk)
+
+$(call inherit-product, device/generic/mini-emulator-armv7-a-neon/mini_emulator_common.mk)
+
+PRODUCT_NAME := m_e_mips64
+PRODUCT_DEVICE := mini-emulator-mips64
+PRODUCT_BRAND := Android
+PRODUCT_MODEL := mini-emulator-mips64
+
+LOCAL_KERNEL := prebuilts/qemu-kernel/mips64/kernel-qemu
+PRODUCT_COPY_FILES += \
+    $(LOCAL_KERNEL):kernel
diff --git a/vendorsetup.sh b/vendorsetup.sh
new file mode 100644
index 0000000..2ed4ad6
--- /dev/null
+++ b/vendorsetup.sh
@@ -0,0 +1,22 @@
+# Copyright (C) 2015 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.
+#
+
+# This file is executed by build/envsetup.sh, and can use anything
+# defined in envsetup.sh.
+#
+# In particular, you can add lunch options with the add_lunch_combo
+# function: add_lunch_combo generic-eng
+
+add_lunch_combo m_e_mips64-eng