Makefiles for toro variant.

Bug: 5827352
Change-Id: Idd95ec4424f70d71cd8011e051e3dfde50ade610
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
index 8545718..0f90dc1 100644
--- a/AndroidProducts.mk
+++ b/AndroidProducts.mk
@@ -15,4 +15,5 @@
 #
 
 PRODUCT_MAKEFILES := \
-    $(LOCAL_DIR)/full_toro.mk
+    $(LOCAL_DIR)/full_toro.mk \
+    $(LOCAL_DIR)/full_toro_spr.mk
diff --git a/device_spr.mk b/device_spr.mk
new file mode 100644
index 0000000..e6b4b11
--- /dev/null
+++ b/device_spr.mk
@@ -0,0 +1,22 @@
+# Copyright (C) 2011 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 includes all definitions that apply only to toro devices
+#
+# Anything that is generic to all tuna products should go in the tuna directory
+#
+# Everything in this directory will become public
+
+$(call inherit-product, device/samsung/toro/device.mk)
+$(call inherit-product-if-exists, vendor/samsung/toro_spr/device-vendor.mk)
diff --git a/device_vzw.mk b/device_vzw.mk
new file mode 100644
index 0000000..8f5be24
--- /dev/null
+++ b/device_vzw.mk
@@ -0,0 +1,22 @@
+# Copyright (C) 2011 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 includes all definitions that apply only to toro devices
+#
+# Anything that is generic to all tuna products should go in the tuna directory
+#
+# Everything in this directory will become public
+
+$(call inherit-product, device/samsung/toro/device.mk)
+$(call inherit-product-if-exists, vendor/samsung/toro_vzw/device-vendor.mk)
diff --git a/full_toro.mk b/full_toro.mk
index c8e87fb..1eb2027 100644
--- a/full_toro.mk
+++ b/full_toro.mk
@@ -37,10 +37,10 @@
 # This is where we'd set a backup provider if we had one
 #$(call inherit-product, device/sample/products/backup_overlay.mk)
 # Inherit from toro device
-$(call inherit-product, device/samsung/toro/device.mk)
+$(call inherit-product, device/samsung/toro/device_vzw.mk)
 
 # Set those variables here to overwrite the inherited values.
 PRODUCT_NAME := full_toro
 PRODUCT_DEVICE := toro
 PRODUCT_BRAND := Android
-PRODUCT_MODEL := Full AOSP on Toro
+PRODUCT_MODEL := Full AOSP on Toro-VZW
diff --git a/full_toro_spr.mk b/full_toro_spr.mk
new file mode 100644
index 0000000..d8cb495
--- /dev/null
+++ b/full_toro_spr.mk
@@ -0,0 +1,46 @@
+# Copyright (C) 2011 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 the build configuration for a full Android
+# build for toro hardware. This cleanly combines a set of
+# device-specific aspects (drivers) with a device-agnostic
+# product configuration (apps). Except for a few implementation
+# details, it only fundamentally contains two inherit-product
+# lines, full and toro, hence its name.
+#
+
+# Camera
+PRODUCT_PACKAGES := \
+    Camera \
+    Gallery
+
+#if we do this after the full_base_telephony is included some of these don't get picked up..
+PRODUCT_COPY_FILES += \
+    device/samsung/toro/bcmdhd.cal:system/etc/wifi/bcmdhd.cal \
+    device/sample/etc/apns-conf_verizon.xml:system/etc/apns-conf.xml \
+    frameworks/base/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml
+
+# Inherit from those products. Most specific first.
+$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
+# This is where we'd set a backup provider if we had one
+#$(call inherit-product, device/sample/products/backup_overlay.mk)
+# Inherit from toro device
+$(call inherit-product, device/samsung/toro/device_spr.mk)
+
+# Set those variables here to overwrite the inherited values.
+PRODUCT_NAME := full_toro_spr
+PRODUCT_DEVICE := toro
+PRODUCT_BRAND := Android
+PRODUCT_MODEL := Full AOSP on Toro-SPR
diff --git a/vendorsetup.sh b/vendorsetup.sh
index f3239ab..c3bc29b 100755
--- a/vendorsetup.sh
+++ b/vendorsetup.sh
@@ -15,3 +15,4 @@
 #
 
 add_lunch_combo full_toro-userdebug
+add_lunch_combo full_toro_spr-userdebug