| Index: third_party/WebKit/Source/build/scripts/make_internal_runtime_flags.py
|
| diff --git a/third_party/WebKit/Source/build/scripts/make_internal_runtime_flags.py b/third_party/WebKit/Source/build/scripts/make_internal_runtime_flags.py
|
| index 131394158827761ba9ef8f782c019eff403493d1..1bf1bb9777b0ce5592b22647bd905896cb72fd6b 100755
|
| --- a/third_party/WebKit/Source/build/scripts/make_internal_runtime_flags.py
|
| +++ b/third_party/WebKit/Source/build/scripts/make_internal_runtime_flags.py
|
| @@ -45,6 +45,7 @@ class InternalRuntimeFlagsWriter(make_runtime_features.RuntimeFeatureWriter):
|
| super(InternalRuntimeFlagsWriter, self).__init__(in_file_path)
|
| self._outputs = {(self.class_name + '.idl'): self.generate_idl,
|
| (self.class_name + '.h'): self.generate_header,
|
| + (self.class_name + '.cpp'): self.generate_implementation,
|
| }
|
|
|
| @template_expander.use_jinja(class_name + '.idl.tmpl')
|
| @@ -62,6 +63,13 @@ class InternalRuntimeFlagsWriter(make_runtime_features.RuntimeFeatureWriter):
|
| 'standard_features': self._standard_features,
|
| }
|
|
|
| + @template_expander.use_jinja(class_name + '.cpp.tmpl')
|
| + def generate_implementation(self):
|
| + return {
|
| + 'features': self._features,
|
| + 'standard_features': self._standard_features,
|
| + }
|
| +
|
|
|
| if __name__ == '__main__':
|
| in_generator.Maker(InternalRuntimeFlagsWriter).main(sys.argv)
|
|
|