| 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("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 | 6 |
| 7 group("mojom") { | 7 group("mojom") { |
| 8 testonly = true | 8 testonly = true |
| 9 deps = [ | 9 deps = [] |
| 10 ":tests", | |
| 11 ] | |
| 12 if (is_linux && defined(go_build_tool) && go_build_tool != "") { | 10 if (is_linux && defined(go_build_tool) && go_build_tool != "") { |
| 13 deps += [ "//mojom/mojom_parser" ] | 11 deps += [ "//mojom/mojom_parser" ] |
| 14 } | 12 } |
| 15 } | 13 } |
| 16 | |
| 17 group("tests") { | |
| 18 testonly = true | |
| 19 deps = [] | |
| 20 if (is_linux && defined(go_build_tool) && go_build_tool != "") { | |
| 21 deps += [ "//mojom/mojom_parser:serialization_test" ] | |
| 22 } | |
| 23 } | |
| OLD | NEW |