| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/go/rules.gni") | 5 import("//mojo/go/rules.gni") |
| 6 | 6 |
| 7 # The purpose of this target is to ensure the parser remains buildable on all | 7 # The purpose of this target is to ensure the parser remains buildable on all |
| 8 # platforms. The output files are not consumed by anything. The parser is built | 8 # platforms. The output files are not consumed by anything. The parser is built |
| 9 # and uploaded to GCS by manually running build_mojom_tool.py. | 9 # and uploaded to GCS by manually running build_mojom_tool.py. |
| 10 action("mojom_tool") { | 10 action("mojom_tool") { |
| 11 script = "../tools/build_mojom_tool.py" | 11 script = "../tools/build_mojom_tool.py" |
| 12 | 12 |
| 13 inputs = [ | 13 inputs = [ |
| 14 "generated/mojom_files/mojom_files.mojom.go", | 14 "../generated/mojom_files/mojom_files.mojom.go", |
| 15 "generated/mojom_types/mojom_types.mojom.go", | 15 "../generated/mojom_types/mojom_types.mojom.go", |
| 16 "integration_tests/comment_merger_test.go", | 16 "integration_tests/comment_merger_test.go", |
| 17 "integration_tests/computed_data_test.go", | 17 "integration_tests/computed_data_test.go", |
| 18 "integration_tests/resolution_test.go", | 18 "integration_tests/resolution_test.go", |
| 19 "lexer/lexer.go", | 19 "lexer/lexer.go", |
| 20 "lexer/token_stream.go", | 20 "lexer/token_stream.go", |
| 21 "lexer/tokens.go", | 21 "lexer/tokens.go", |
| 22 "mojom/computed_data.go", | 22 "mojom/computed_data.go", |
| 23 "mojom/mojom_descriptor.go", | 23 "mojom/mojom_descriptor.go", |
| 24 "mojom/scopes.go", | 24 "mojom/scopes.go", |
| 25 "mojom/types.go", | 25 "mojom/types.go", |
| (...skipping 13 matching lines...) Expand all Loading... |
| 39 ] | 39 ] |
| 40 | 40 |
| 41 args = [ | 41 args = [ |
| 42 "--src-root", | 42 "--src-root", |
| 43 rebase_path("//", root_build_dir), | 43 rebase_path("//", root_build_dir), |
| 44 "--out-dir", | 44 "--out-dir", |
| 45 rebase_path(target_out_dir, root_build_dir), | 45 rebase_path(target_out_dir, root_build_dir), |
| 46 "--quiet", | 46 "--quiet", |
| 47 ] | 47 ] |
| 48 } | 48 } |
| OLD | NEW |