Remove exception for lldbinit and watch apps.
When building, the app extension + app target will build such that
the app target "wins" in being the last target built.
In addition, bazel_build.py's lldbinit update logic no longer
retrieves path redirection information directly from the binaries
being debugged, so this is more likely to cause problems going
forward than it solves.
PiperOrigin-RevId: 192200007
diff --git a/src/TulsiGenerator/Scripts/bazel_build.py b/src/TulsiGenerator/Scripts/bazel_build.py
index 2af6bdb..94d88d7 100755
--- a/src/TulsiGenerator/Scripts/bazel_build.py
+++ b/src/TulsiGenerator/Scripts/bazel_build.py
@@ -1456,10 +1456,6 @@
def _UpdateLLDBInit(self, clear_source_map=False):
"""Updates ~/.lldbinit-tulsiproj to enable debugging of Bazel binaries."""
- # Apple Watch app binaries do not contain any sources.
- if self.product_type == 'com.apple.product-type.application.watchapp2':
- return 0
-
# Make sure a reference to ~/.lldbinit-tulsiproj exists in ~/.lldbinit or
# ~/.lldbinit-Xcode. Priority is given to ~/.lldbinit-Xcode if it exists,
# otherwise the bootstrapping will be written to ~/.lldbinit.