Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: mojo/go/BUILD.gn

Issue 1945103002: Go bindings: Don't import 'fmt' unless it is needed. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | mojo/go/tests/enums_test.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | mojo/go/tests/enums_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698