tools/code_coverage/coverage.py
def _SetMacXcodePath():
  """Set DEVELOPER_DIR to the path to hermetic Xcode.app on Mac OS X."""
  if sys.platform != 'darwin':
    return

  xcode_path = os.path.join(SRC_ROOT_PATH, 'build', 'mac_files', 'Xcode.app')
  if os.path.exists(xcode_path):
    os.environ['DEVELOPER_DIR'] = xcode_path
Set DEVELOPER_DIR to the path to hermetic Xcode.app on Mac OS X.
Set DEVELOPER_DIR to the path to hermetic Xcode.app on Mac OS X.
Set DEVELOPER_DIR to the path to hermetic Xcode . app on Mac OS X .
def _SetMacXcodePath():
  if sys.platform != 'darwin':
    return
  xcode_path = os.path.join(SRC_ROOT_PATH, 'build', 'mac_files', 'Xcode.app')
  if os.path.exists(xcode_path):
    os.environ['DEVELOPER_DIR'] = xcode_path
def _SetMacXcodePath ( ) : if sys . platform != 'darwin' : return xcode_path = os . path . join ( SRC_ROOT_PATH , 'build' , 'mac_files' , 'Xcode.app' ) if os . path . exists ( xcode_path ) : os . environ [ 'DEVELOPER_DIR' ] = xcode_path
Set DEVELOPER_DIR to the path to hermetic Xcode.app on Mac OS X.
Set DEVELOPER_DIR to the path to hermetic Xcode . app on Mac OS X .
"""Set DEVELOPER_DIR to the path to hermetic Xcode.app on Mac OS X."""