Remove checking TARGET_DEVICE as it's not visible
Each device inherits it's own
BUG:117168130
Change-Id: I4a3a59d3eaf91719be33a09a0c33486f97afbc8b
diff --git a/self-extractors/root/proprietary/device-vendor.mk b/self-extractors/root/proprietary/device-vendor.mk
index b00c611..b241870 100644
--- a/self-extractors/root/proprietary/device-vendor.mk
+++ b/self-extractors/root/proprietary/device-vendor.mk
@@ -12,11 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-ifneq ($(filter sargo,$(TARGET_DEVICE)),)
-LOCAL_STEM := sargo/BoardConfigPartial.mk
-else
-LOCAL_STEM := bonito/BoardConfigPartial.mk
-endif
+LOCAL_STEM := bonito/device-partial.mk
$(call inherit-product-if-exists, vendor/google_devices/$(LOCAL_STEM))
$(call inherit-product-if-exists, vendor/qcom/$(LOCAL_STEM))
diff --git a/self-extractors_sargo/root/proprietary/device-vendor.mk b/self-extractors_sargo/root/proprietary/device-vendor.mk
index acc4b09..5b8a174 100644
--- a/self-extractors_sargo/root/proprietary/device-vendor.mk
+++ b/self-extractors_sargo/root/proprietary/device-vendor.mk
@@ -12,11 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-ifneq ($(filter sargo,$(TARGET_DEVICE)),)
LOCAL_STEM := sargo/device-partial.mk
-else
-LOCAL_STEM := bonito/device-partial.mk
-endif
$(call inherit-product-if-exists, vendor/google_devices/$(LOCAL_STEM))
$(call inherit-product-if-exists, vendor/qcom/$(LOCAL_STEM))