Revert "soong_config: Add flag for msm8974 1440p EGL workaround"

This reverts commit f3f7eb2d8782d200d7855b778ba43e71fefff79f.

Support for this in fw/native has been ported in the previous branch
and is very unlikely that will be done or even needed for R.

Change-Id: I9c9709e323d6a27f3c9196887af7ab0ffa1819e9
diff --git a/build/soong/android/variable.go b/build/soong/android/variable.go
index 4b0895a..5d11cdc 100644
--- a/build/soong/android/variable.go
+++ b/build/soong/android/variable.go
@@ -3,9 +3,6 @@
 	Additional_gralloc_10_usage_bits struct {
 		Cppflags []string
 	}
-	Apply_msm8974_1440p_egl_workaround struct {
-		Cflags []string
-	}
 	Bootloader_message_offset struct {
 		Cflags []string
 	}
@@ -68,7 +65,6 @@
 
 type ProductVariables struct {
 	Additional_gralloc_10_usage_bits  *string `json:",omitempty"`
-	Apply_msm8974_1440p_egl_workaround  *bool `json:",omitempty"`
 	Bootloader_message_offset  *int `json:",omitempty"`
 	Has_legacy_camera_hal1  *bool `json:",omitempty"`
 	Qcom_um_soong_namespace  *string `json:",omitempty"`
diff --git a/build/soong/soong_config.mk b/build/soong/soong_config.mk
index 5598578..fe033fa 100644
--- a/build/soong/soong_config.mk
+++ b/build/soong/soong_config.mk
@@ -5,7 +5,6 @@
 
 # See build/core/soong_config.mk for the add_json_* functions you can use here.
 $(call add_json_str_omitempty, Additional_gralloc_10_usage_bits, $(TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS))
-$(call add_json_bool, Apply_msm8974_1440p_egl_workaround, $(filter true,$(TARGET_MSM8974_1440P_EGL_WORKAROUND)))
 $(call add_json_val_default, Bootloader_message_offset, $(BOOTLOADER_MESSAGE_OFFSET), 0)
 $(call add_json_bool, Has_legacy_camera_hal1, $(filter true,$(TARGET_HAS_LEGACY_CAMERA_HAL1)))
 $(call add_json_str_omitempty, Qcom_um_soong_namespace, $(if $(filter $(UM_PLATFORMS),$(TARGET_BOARD_PLATFORM)),$(QCOM_SOONG_NAMESPACE),))