specify root_targets draft
authorMyk Melez <myk@mykzilla.org>
Fri, 19 Aug 2016 09:48:57 -0700
changeset 403574 f59f5e7556aa5c949898740eeebcf13d2986b21a
parent 403573 afc0eb343913ee30eebef73ac4a94fde478b4745
child 403575 d5858079dbe1a00b4ed9572fef134dc38d93e659
push id26947
push userbmo:myk@mykzilla.org
push dateSat, 20 Aug 2016 00:15:08 +0000
milestone51.0a1
specify root_targets
python/mozbuild/mozbuild/frontend/gyp_reader.py
--- a/python/mozbuild/mozbuild/frontend/gyp_reader.py
+++ b/python/mozbuild/mozbuild/frontend/gyp_reader.py
@@ -88,16 +88,17 @@ def read_from_gyp(config, path, output, 
     # unicode strings, so convert them.
     path = encode(path)
     str_vars = dict((name, encode(value)) for name, value in vars.items())
 
     params = {
         b'parallel': False,
         b'generator_flags': {},
         b'build_files': [path],
+        b'root_targets': None,
     }
 
     # Files that gyp_chromium always includes
     includes = [encode(mozpath.join(script_dir, 'common.gypi'))]
     finder = FileFinder(chrome_src, find_executables=False)
     includes.extend(encode(mozpath.join(chrome_src, name))
         for name, _ in finder.find('*/supplement.gypi'))