Remove reference to TULSI_UPDATE_DSYM_CACHE
This was accidentally missed in https://github.com/bazelbuild/tulsi/commit/f93c6d6fb338185ccc7d50998423d3e6cd8c218b.
PiperOrigin-RevId: 200789640
diff --git a/src/TulsiGenerator/Scripts/bazel_build.py b/src/TulsiGenerator/Scripts/bazel_build.py
index f177fb4..ba64e18 100755
--- a/src/TulsiGenerator/Scripts/bazel_build.py
+++ b/src/TulsiGenerator/Scripts/bazel_build.py
@@ -524,10 +524,7 @@
else:
self.generate_dsym = os.environ.get('TULSI_MUST_USE_DSYM', 'NO') == 'YES'
- update_dsym_cache = os.environ.get('TULSI_UPDATE_DSYM_CACHE',
- 'NO') == 'YES'
- if update_dsym_cache:
- self.update_symbol_cache = UpdateSymbolCache()
+ self.update_symbol_cache = UpdateSymbolCache()
# Target architecture. Must be defined for correct setting of
# the --cpu flag. Note that Xcode will set multiple values in
@@ -1668,14 +1665,13 @@
return False
# Update the dSYM symbol cache with a reference to this dSYM bundle.
- if self.update_symbol_cache:
- err_msg = self.update_symbol_cache.UpdateUUID(uuid,
- dsym_bundle_path,
- arch)
- if err_msg:
- _PrintXcodeWarning('Attempted to save (uuid, dsym_bundle_path, arch) '
- 'to DBGShellCommands\' dSYM cache, but got error '
- '\"%s\".' % err_msg)
+ err_msg = self.update_symbol_cache.UpdateUUID(uuid,
+ dsym_bundle_path,
+ arch)
+ if err_msg:
+ _PrintXcodeWarning('Attempted to save (uuid, dsym_bundle_path, arch) '
+ 'to DBGShellCommands\' dSYM cache, but got error '
+ '\"%s\".' % err_msg)
return True