| Index: mojo/public/tools/bindings/pylib/mojom/generate/generator.py
|
| diff --git a/mojo/public/tools/bindings/pylib/mojom/generate/generator.py b/mojo/public/tools/bindings/pylib/mojom/generate/generator.py
|
| index 666ef439fa52eb8a1365121008270d16092f2a88..8c3e6427d9e72df4e2f9f38b36d66e5fe61b6822 100644
|
| --- a/mojo/public/tools/bindings/pylib/mojom/generate/generator.py
|
| +++ b/mojo/public/tools/bindings/pylib/mojom/generate/generator.py
|
| @@ -40,9 +40,11 @@ def WriteFile(contents, full_path):
|
| class Generator(object):
|
| # Pass |output_dir| to emit files to disk. Omit |output_dir| to echo all
|
| # files to stdout.
|
| - def __init__(self, module, output_dir=None):
|
| + def __init__(self, module, output_dir=None, typemap={}, variant=None):
|
| self.module = module
|
| self.output_dir = output_dir
|
| + self.typemap = typemap
|
| + self.variant = variant
|
|
|
| def GetStructsFromMethods(self):
|
| result = []
|
|
|