| 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 | 6 |
| 7 go_library("application") { | 7 go_library("application") { |
| 8 sources = [ | 8 sources = [ |
| 9 "//mojo/public/go/application/application_impl.go", | 9 "//mojo/public/go/application/application_impl.go", |
| 10 "//mojo/public/go/application/connection.go", | 10 "//mojo/public/go/application/connection.go", |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 "//mojo/public/platform/native_cgo/system_cgo.go", | 53 "//mojo/public/platform/native_cgo/system_cgo.go", |
| 54 ] | 54 ] |
| 55 } | 55 } |
| 56 | 56 |
| 57 if (is_android) { | 57 if (is_android) { |
| 58 group("go") { | 58 group("go") { |
| 59 deps = [ | 59 deps = [ |
| 60 ":go_sample_app", | 60 ":go_sample_app", |
| 61 ] | 61 ] |
| 62 } | 62 } |
| 63 go_shared_library("go_sample_app") { | 63 go_mojo_application("go_sample_app") { |
| 64 sources = [ | 64 sources = [ |
| 65 "sample_app/app.go", | 65 "sample_app/app.go", |
| 66 ] | 66 ] |
| 67 deps = [ | 67 deps = [ |
| 68 ":bindings", | 68 ":bindings", |
| 69 ":platform_cgo", | 69 ":platform_cgo", |
| 70 "//mojo/public/c/system", | 70 "//mojo/public/c/system", |
| 71 "//mojo/public/platform/native:system", | 71 "//mojo/public/platform/native:system", |
| 72 ] | 72 ] |
| 73 } | 73 } |
| (...skipping 17 matching lines...) Expand all Loading... |
| 91 "tests/testutil.go", | 91 "tests/testutil.go", |
| 92 "tests/testutil_test.go", | 92 "tests/testutil_test.go", |
| 93 "tests/validation_test.go", | 93 "tests/validation_test.go", |
| 94 ] | 94 ] |
| 95 static_library_sources = [ | 95 static_library_sources = [ |
| 96 "c_embedder/c_embedder.cc", | 96 "c_embedder/c_embedder.cc", |
| 97 "c_embedder/c_embedder.h", | 97 "c_embedder/c_embedder.h", |
| 98 ] | 98 ] |
| 99 deps = [ | 99 deps = [ |
| 100 ":application", | 100 ":application", |
| 101 ":bindings", | |
| 102 ":platform_cgo", | 101 ":platform_cgo", |
| 102 "//examples/echo", |
| 103 "//mojo/edk/system", | 103 "//mojo/edk/system", |
| 104 "//mojo/public/interfaces/bindings/tests:test_interfaces", | 104 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
| 105 "//examples/echo", | |
| 106 ] | 105 ] |
| 107 } | 106 } |
| 108 } | 107 } |
| OLD | NEW |