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("rules.gni") | 5 import("rules.gni") |
| 6 import("//mojo/public/tools/bindings/mojom.gni") |
6 | 7 |
7 go_library("application") { | 8 go_library("application") { |
8 sources = [ | 9 sources = [ |
9 "//mojo/public/go/application/application_impl.go", | 10 "//mojo/public/go/application/application_impl.go", |
10 "//mojo/public/go/application/connection.go", | 11 "//mojo/public/go/application/connection.go", |
11 ] | 12 ] |
12 deps = [ | 13 deps = [ |
13 ":bindings", | 14 ":bindings", |
14 ":system", | 15 ":system", |
15 ] | 16 ] |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 "tests/union_test.go", | 79 "tests/union_test.go", |
79 "tests/validation_test.go", | 80 "tests/validation_test.go", |
80 "tests/validation_type_test.go", | 81 "tests/validation_type_test.go", |
81 ] | 82 ] |
82 static_library_sources = [ | 83 static_library_sources = [ |
83 "c_embedder/c_embedder.cc", | 84 "c_embedder/c_embedder.cc", |
84 "c_embedder/c_embedder.h", | 85 "c_embedder/c_embedder.h", |
85 ] | 86 ] |
86 deps = [ | 87 deps = [ |
87 ":application", | 88 ":application", |
| 89 ":more_test_mojoms", |
88 ":platform_cgo", | 90 ":platform_cgo", |
89 "//examples/echo", | 91 "//examples/echo", |
90 "//mojo/edk/base_edk", | 92 "//mojo/edk/base_edk", |
91 "//mojo/edk/system", | 93 "//mojo/edk/system", |
92 "//mojo/public/interfaces/bindings/tests:test_interfaces", | 94 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
93 ] | 95 ] |
94 } | 96 } |
95 } | 97 } |
| 98 |
| 99 # These are additional test mojoms beyond those in the target |
| 100 # //mojo/public/interfaces/bindings/tests:test_interfaces. |
| 101 # These are built without 'generate_type_info = true' and so |
| 102 # allow us to test the go code generation in this mode also. |
| 103 mojom("more_test_mojoms") { |
| 104 sources = [ |
| 105 "tests/test_enums.mojom", |
| 106 ] |
| 107 } |
OLD | NEW |