infra/scripts/build_directory.py
def AreNinjaFilesNewerThanXcodeFiles(src_dir=None):
  """Returns True if the generated ninja files are newer than the generated
  xcode files.

  Parameters:
    src_dir: The path to the src directory.  If None, it's assumed to be
             at src/ relative to the current working directory.
  """
  src_dir = src_dir or 'src'
  ninja_path = os.path.join(src_dir, 'out', 'Release', 'build.ninja')
  xcode_path = os.path.join(
      src_dir, 'build', 'all.xcodeproj', 'project.pbxproj')
  return IsFileNewerThanFile(ninja_path, xcode_path)
Returns True if the generated ninja files are newer than the generated
  xcode files.

  Parameters:
    src_dir: The path to the src directory.  If None, it's assumed to be
             at src/ relative to the current working directory.
  
Returns True if the generated ninja files are newer than the generated
xcode files.
Returns True if the generated ninja files are newer than the generated xcode files .
def AreNinjaFilesNewerThanXcodeFiles(src_dir=None):
  src_dir = src_dir or 'src'
  ninja_path = os.path.join(src_dir, 'out', 'Release', 'build.ninja')
  xcode_path = os.path.join(
      src_dir, 'build', 'all.xcodeproj', 'project.pbxproj')
  return IsFileNewerThanFile(ninja_path, xcode_path)
def AreNinjaFilesNewerThanXcodeFiles ( src_dir = None ) : src_dir = src_dir or 'src' ninja_path = os . path . join ( src_dir , 'out' , 'Release' , 'build.ninja' ) xcode_path = os . path . join ( src_dir , 'build' , 'all.xcodeproj' , 'project.pbxproj' ) return IsFileNewerThanFile ( ninja_path , xcode_path )
Returns True if the generated ninja files are newer than the generated
xcode files.
Returns True if the generated ninja files are newer than the generated xcode files .
"""Returns True if the generated ninja files are newer than the generated
  xcode files.

  Parameters:
    src_dir: The path to the src directory.  If None, it's assumed to be
             at src/ relative to the current working directory.
  """
src_dir
The path to the src directory.  If None, it's assumed to be
at src/ relative to the current working directory.
The path to the src directory . If None it ' s assumed to be at src / relative to the current working directory .