| 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") { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 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", |
| 26 "mojom/user_defined_types.go", | 26 "mojom/user_defined_types.go", |
| 27 "mojom/utils.go", | 27 "mojom/utils.go", |
| 28 "parser/parse_driver.go", | 28 "parser/parse_driver.go", |
| 29 "parser/parser.go", | 29 "parser/parser.go", |
| 30 "parser/parsing.go", | 30 "parser/parsing.go", |
| 31 "serialization/serialization.go", | 31 "serialization/serialization.go", |
| 32 "utils/sort_utils.go", | 32 "utils/sort_utils.go", |
| 33 "utils/wellfounded_graphs.go", |
| 33 ] | 34 ] |
| 34 | 35 |
| 35 outputs = [ | 36 outputs = [ |
| 36 "$target_out_dir/mojom_linux_amd64", | 37 "$target_out_dir/mojom_linux_amd64", |
| 37 "$target_out_dir/mojom_darwin_amd64", | 38 "$target_out_dir/mojom_darwin_amd64", |
| 38 ] | 39 ] |
| 39 | 40 |
| 40 args = [ | 41 args = [ |
| 41 "--src-root", | 42 "--src-root", |
| 42 rebase_path("//", root_build_dir), | 43 rebase_path("//", root_build_dir), |
| 43 "--out-dir", | 44 "--out-dir", |
| 44 rebase_path(target_out_dir, root_build_dir), | 45 rebase_path(target_out_dir, root_build_dir), |
| 45 "--quiet", | 46 "--quiet", |
| 46 ] | 47 ] |
| 47 } | 48 } |
| OLD | NEW |