OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//mojo/go/rules.gni") |
| 6 |
| 7 if (is_android) { |
| 8 group("go") { |
| 9 deps = [ |
| 10 ":go_echo_client", |
| 11 ":go_echo_server", |
| 12 ] |
| 13 } |
| 14 |
| 15 go_shared_library("go_echo_client") { |
| 16 sources = [ |
| 17 "echo_client.go", |
| 18 ] |
| 19 deps = [ |
| 20 "//examples/echo:bindings", |
| 21 "//mojo/go:bindings", |
| 22 "//mojo/go:platform_cgo", |
| 23 "//mojo/public/c/system", |
| 24 "//mojo/public/interfaces/application", |
| 25 "//mojo/public/platform/native:system", |
| 26 ] |
| 27 } |
| 28 |
| 29 go_shared_library("go_echo_server") { |
| 30 sources = [ |
| 31 "echo_server.go", |
| 32 ] |
| 33 deps = [ |
| 34 "//examples/echo:bindings", |
| 35 "//mojo/go:bindings", |
| 36 "//mojo/go:platform_cgo", |
| 37 "//mojo/public/c/system", |
| 38 "//mojo/public/interfaces/application", |
| 39 "//mojo/public/platform/native:system", |
| 40 ] |
| 41 } |
| 42 } |
OLD | NEW |