Chromium Code Reviews| 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("//mojo/public/mojo_application.gni") | |
| 5 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 7 | 8 |
| 8 source_set("common") { | 9 source_set("common") { |
| 9 sources = [ | 10 sources = [ |
| 10 "binding_set.h", | 11 "binding_set.h", |
| 11 "interface_ptr_set.h", | 12 "interface_ptr_set.h", |
| 12 "strong_binding_set.h", | 13 "strong_binding_set.h", |
| 13 ] | 14 ] |
| 14 | 15 |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 33 ":test_interfaces", | 34 ":test_interfaces", |
| 34 "//base", | 35 "//base", |
| 35 "//mojo/message_pump", | 36 "//mojo/message_pump", |
| 36 "//mojo/public/cpp/bindings", | 37 "//mojo/public/cpp/bindings", |
| 37 "//mojo/public/cpp/bindings:callback", | 38 "//mojo/public/cpp/bindings:callback", |
| 38 "//mojo/public/cpp/system", | 39 "//mojo/public/cpp/system", |
| 39 "//testing/gtest", | 40 "//testing/gtest", |
| 40 ] | 41 ] |
| 41 } | 42 } |
| 42 | 43 |
| 43 test("mojo_common_unittests") { | 44 mojo_native_application("mojo_common_apptests") { |
| 45 testonly = true | |
| 46 | |
| 44 deps = [ | 47 deps = [ |
| 45 ":tests", | 48 ":tests", |
| 46 "//mojo/data_pipe_utils:tests", | 49 "//mojo/application", |
|
viettrungluu
2016/05/19 22:18:49
This target also contains tests. Arguably it shoul
Sean Klein
2016/05/19 22:52:27
Ahhh yikes. Sorry about that. Apptest added for da
| |
| 47 "//mojo/edk/test:run_all_unittests", | 50 "//mojo/application:test_support", |
| 48 "//mojo/environment:chromium", | |
| 49 "//mojo/message_pump:tests", | |
|
viettrungluu
2016/05/19 22:18:49
"
Sean Klein
2016/05/19 22:52:28
Apptest added for message pump too. I promise I'm
| |
| 50 ] | 51 ] |
| 51 } | 52 } |
| 52 | 53 |
| 53 mojom("test_interfaces") { | 54 mojom("test_interfaces") { |
| 54 testonly = true | 55 testonly = true |
| 55 sources = [ | 56 sources = [ |
| 56 "test_interfaces.mojom", | 57 "test_interfaces.mojom", |
| 57 ] | 58 ] |
| 58 } | 59 } |
| 59 | 60 |
| 60 source_set("tracing_impl") { | 61 source_set("tracing_impl") { |
| 61 sources = [ | 62 sources = [ |
| 62 "trace_provider_impl.cc", | 63 "trace_provider_impl.cc", |
| 63 "trace_provider_impl.h", | 64 "trace_provider_impl.h", |
| 64 "tracing_impl.cc", | 65 "tracing_impl.cc", |
| 65 "tracing_impl.h", | 66 "tracing_impl.h", |
| 66 ] | 67 ] |
| 67 | 68 |
| 68 deps = [ | 69 deps = [ |
| 69 "//base", | 70 "//base", |
| 70 "//mojo/public/cpp/application", | 71 "//mojo/public/cpp/application", |
| 71 "//mojo/public/cpp/bindings", | 72 "//mojo/public/cpp/bindings", |
| 72 "//mojo/public/interfaces/application", | 73 "//mojo/public/interfaces/application", |
| 73 "//mojo/services/tracing/interfaces", | 74 "//mojo/services/tracing/interfaces", |
| 74 ] | 75 ] |
| 75 } | 76 } |
| OLD | NEW |