Index: mojo/public/tools/bindings/generators/python_templates/module_macros.tmpl |
diff --git a/components/domain_reliability/DEPS b/mojo/public/tools/bindings/generators/python_templates/module_macros.tmpl |
similarity index 53% |
copy from components/domain_reliability/DEPS |
copy to mojo/public/tools/bindings/generators/python_templates/module_macros.tmpl |
index bf04311edd5995c515fa0064f2297ab51be61c13..305b26a832ca59b6704fb1d38b171b577a87b468 100644 |
--- a/components/domain_reliability/DEPS |
+++ b/mojo/public/tools/bindings/generators/python_templates/module_macros.tmpl |
@@ -2,8 +2,10 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-include_rules = [ |
- "+net", |
- "+components/keyed_service/core", |
+{%- macro enum_values(enum) -%} |
+[ |
+{% for field in enum.fields %} |
+ ('{{field.name}}', {{field.computed_value}}), |
+{% endfor %} |
] |
- |
+{%- endmacro -%} |