• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:build +full:- +full:options

3 # Use of this source code is governed by a BSD-style license that can be
7 This script runs every build as the first hook (See DEPS). If it detects that
8 the build should be clobbered, it will delete the contents of the build
12 diff between the new landmines and the old ones is non-null. At this point, the
13 build is clobbered.
41 Returns output directory absolute path dependent on build and targets.
43 r'c:\b\build\slave\win\build\src\out'
44 '/mnt/data/b/build/slave/linux/build/src/out'
45 '/b/build/slave/ios_rel_device/build/src/out'
47 Keep this function in sync with tools/build/scripts/slave/compile.py
88 """Returns an options object containing the configuration for this script."""
91 '-s', '--landmine-scripts', action='append',
93 'is passed to this script via option -t. Note that an extra '
95 parser.add_option('-d', '--src-dir',
97 'source root dir when calculating the build directory.')
98 parser.add_option('-v', '--verbose', action='store_true',
104 options, args = parser.parse_args()
110 level=logging.DEBUG if options.verbose else logging.ERROR)
112 if options.src_dir:
113 if not os.path.isdir(options.src_dir):
114 parser.error('Cannot find source root dir at %s' % options.src_dir)
115 logging.debug('Overriding source root dir. Using: %s', options.src_dir)
117 options.src_dir = \
120 if not options.landmine_scripts:
121 options.landmine_scripts = [os.path.join(options.src_dir, 'build',
126 options.landmine_scripts += [extra_script]
128 return options
132 options = process_options()
135 for s in options.landmine_scripts:
139 clobber_if_necessary(landmines, options.src_dir)