| 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 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 | 7 |
| 8 go_library("application") { | 8 go_library("application") { |
| 9 sources = [ | 9 sources = [ |
| 10 "//mojo/public/go/application/application_impl.go", | 10 "//mojo/public/go/application/application_impl.go", |
| 11 "//mojo/public/go/application/connection.go", | 11 "//mojo/public/go/application/connection.go", |
| 12 "//mojo/public/go/application/describer.go", |
| 12 ] | 13 ] |
| 13 deps = [ | 14 deps = [ |
| 14 ":bindings", | 15 ":bindings", |
| 15 ":system", | 16 ":system", |
| 17 "//mojo/public/interfaces/application", |
| 18 "//mojo/public/interfaces/bindings", |
| 16 ] | 19 ] |
| 17 } | 20 } |
| 18 | 21 |
| 19 go_library("bindings") { | 22 go_library("bindings") { |
| 20 sources = [ | 23 sources = [ |
| 21 "//mojo/public/go/bindings/async_waiter.go", | 24 "//mojo/public/go/bindings/async_waiter.go", |
| 22 "//mojo/public/go/bindings/connector.go", | 25 "//mojo/public/go/bindings/connector.go", |
| 23 "//mojo/public/go/bindings/decoder.go", | 26 "//mojo/public/go/bindings/decoder.go", |
| 24 "//mojo/public/go/bindings/encoder.go", | 27 "//mojo/public/go/bindings/encoder.go", |
| 25 "//mojo/public/go/bindings/interface.go", | 28 "//mojo/public/go/bindings/interface.go", |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 101 |
| 99 # These are additional test mojoms beyond those in the target | 102 # These are additional test mojoms beyond those in the target |
| 100 # //mojo/public/interfaces/bindings/tests:test_interfaces. | 103 # //mojo/public/interfaces/bindings/tests:test_interfaces. |
| 101 # These are built without 'generate_type_info = true' and so | 104 # These are built without 'generate_type_info = true' and so |
| 102 # allow us to test the go code generation in this mode also. | 105 # allow us to test the go code generation in this mode also. |
| 103 mojom("more_test_mojoms") { | 106 mojom("more_test_mojoms") { |
| 104 sources = [ | 107 sources = [ |
| 105 "tests/test_enums.mojom", | 108 "tests/test_enums.mojom", |
| 106 ] | 109 ] |
| 107 } | 110 } |
| OLD | NEW |