| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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_sdk.gni") | 5 import("../../mojo_sdk.gni") |
| 6 | 6 |
| 7 # Generate C++/JavaScript/Java/Python/Dart/Go source files from mojom files. The | 7 # Generate C++/JavaScript/Java/Python/Dart/Go source files from mojom files. The |
| 8 # output files will go under the generated file directory tree with the same | 8 # output files will go under the generated file directory tree with the same |
| 9 # path as each input file. | 9 # path as each input file. |
| 10 # | 10 # |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 "$generator_root/generators/python_templates/module.py.tmpl", | 120 "$generator_root/generators/python_templates/module.py.tmpl", |
| 121 "$generator_root/generators/python_templates/module_macros.tmpl", | 121 "$generator_root/generators/python_templates/module_macros.tmpl", |
| 122 "$generator_root/generators/mojom_cpp_generator.py", | 122 "$generator_root/generators/mojom_cpp_generator.py", |
| 123 "$generator_root/generators/mojom_dart_generator.py", | 123 "$generator_root/generators/mojom_dart_generator.py", |
| 124 "$generator_root/generators/mojom_go_generator.py", | 124 "$generator_root/generators/mojom_go_generator.py", |
| 125 "$generator_root/generators/mojom_js_generator.py", | 125 "$generator_root/generators/mojom_js_generator.py", |
| 126 "$generator_root/generators/mojom_java_generator.py", | 126 "$generator_root/generators/mojom_java_generator.py", |
| 127 "$generator_root/generators/mojom_python_generator.py", | 127 "$generator_root/generators/mojom_python_generator.py", |
| 128 "$generator_root/mojom_tool/bin/linux64/mojom.sha1", | 128 "$generator_root/mojom_tool/bin/linux64/mojom.sha1", |
| 129 "$generator_root/mojom_tool/bin/mac64/mojom.sha1", | 129 "$generator_root/mojom_tool/bin/mac64/mojom.sha1", |
| 130 "$generator_root/mojom_tool/bin/linux64/generators/c.sha1", |
| 131 "$generator_root/mojom_tool/bin/mac64/generators/c.sha1", |
| 130 "$generator_root/pylib/mojom/__init__.py", | 132 "$generator_root/pylib/mojom/__init__.py", |
| 131 "$generator_root/pylib/mojom/error.py", | 133 "$generator_root/pylib/mojom/error.py", |
| 132 "$generator_root/pylib/mojom/generate/__init__.py", | 134 "$generator_root/pylib/mojom/generate/__init__.py", |
| 133 "$generator_root/pylib/mojom/generate/constant_resolver.py", | 135 "$generator_root/pylib/mojom/generate/constant_resolver.py", |
| 134 "$generator_root/pylib/mojom/generate/generator.py", | 136 "$generator_root/pylib/mojom/generate/generator.py", |
| 135 "$generator_root/pylib/mojom/generate/module.py", | 137 "$generator_root/pylib/mojom/generate/module.py", |
| 136 "$generator_root/pylib/mojom/generate/pack.py", | 138 "$generator_root/pylib/mojom/generate/pack.py", |
| 137 "$generator_root/pylib/mojom/generate/template_expander.py", | 139 "$generator_root/pylib/mojom/generate/template_expander.py", |
| 138 "$generator_root/pylib/mojom/parse/__init__.py", | 140 "$generator_root/pylib/mojom/parse/__init__.py", |
| 139 "$generator_root/pylib/mojom/parse/parser_runner.py", | 141 "$generator_root/pylib/mojom/parse/parser_runner.py", |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 # //mojo/something:something and we can append "_java" to get the java | 549 # //mojo/something:something and we can append "_java" to get the java |
| 548 # dependency name. | 550 # dependency name. |
| 549 full_name = get_label_info(d, "label_no_toolchain") | 551 full_name = get_label_info(d, "label_no_toolchain") |
| 550 deps += [ "${full_name}_java" ] | 552 deps += [ "${full_name}_java" ] |
| 551 } | 553 } |
| 552 | 554 |
| 553 srcjar_deps = [ ":$java_srcjar_target_name" ] | 555 srcjar_deps = [ ":$java_srcjar_target_name" ] |
| 554 } | 556 } |
| 555 } | 557 } |
| 556 } | 558 } |
| OLD | NEW |