| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 | 6 |
| 7 action("precompile_templates") { | 7 action("precompile_templates") { |
| 8 sources = mojom_generator_sources | 8 sources = mojom_generator_sources |
| 9 sources += [ | 9 sources += [ |
| 10 "$mojom_generator_root/generators/cpp_templates/enum_macros.tmpl", | 10 "$mojom_generator_root/generators/cpp_templates/enum_macros.tmpl", |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 script = mojom_generator_script | 65 script = mojom_generator_script |
| 66 outputs = [ | 66 outputs = [ |
| 67 "$target_gen_dir/cpp_templates.zip", | 67 "$target_gen_dir/cpp_templates.zip", |
| 68 "$target_gen_dir/java_templates.zip", | 68 "$target_gen_dir/java_templates.zip", |
| 69 "$target_gen_dir/js_templates.zip", | 69 "$target_gen_dir/js_templates.zip", |
| 70 ] | 70 ] |
| 71 args = [ | 71 args = [ |
| 72 "--use_bundled_pylibs", | 72 "--use_bundled_pylibs", |
| 73 "precompile", | 73 "precompile", |
| 74 "-o", | 74 "-o", |
| 75 rebase_path(target_gen_dir), | 75 rebase_path(target_gen_dir, root_build_dir), |
| 76 ] | 76 ] |
| 77 } | 77 } |
| OLD | NEW |