| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/mojo_application.gni") |
| 6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 source_set("test_support") { | 9 source_set("test_support") { |
| 10 sources = [ | 10 sources = [ |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 source_set("unittests") { | 22 source_set("unittests") { |
| 23 testonly = true | 23 testonly = true |
| 24 sources = [ | 24 sources = [ |
| 25 "background_shell_unittest.cc", | 25 "background_shell_unittest.cc", |
| 26 ] | 26 ] |
| 27 | 27 |
| 28 deps = [ | 28 deps = [ |
| 29 ":test_app_bindings", | 29 ":test_app_bindings", |
| 30 ":test_support", | 30 ":test_support", |
| 31 "//base", | 31 "//base", |
| 32 "//mojo/shell/background:lib", | 32 "//services/shell/background:lib", |
| 33 "//mojo/shell/background:main", | 33 "//services/shell/background:main", |
| 34 "//mojo/shell/public/cpp:sources", | 34 "//services/shell/public/cpp:sources", |
| 35 "//testing/gtest", | 35 "//testing/gtest", |
| 36 "//url", | 36 "//url", |
| 37 ] | 37 ] |
| 38 | 38 |
| 39 data_deps = [ | 39 data_deps = [ |
| 40 ":test_app", | 40 ":test_app", |
| 41 ] | 41 ] |
| 42 } | 42 } |
| 43 | 43 |
| 44 mojom("test_app_bindings") { | 44 mojom("test_app_bindings") { |
| 45 sources = [ | 45 sources = [ |
| 46 "test.mojom", | 46 "test.mojom", |
| 47 ] | 47 ] |
| 48 } | 48 } |
| 49 | 49 |
| 50 mojo_native_application("test_app") { | 50 mojo_native_application("test_app") { |
| 51 output_name = "background_shell_test_app" | 51 output_name = "background_shell_test_app" |
| 52 | 52 |
| 53 sources = [ | 53 sources = [ |
| 54 "test_service.cc", | 54 "test_service.cc", |
| 55 ] | 55 ] |
| 56 | 56 |
| 57 deps = [ | 57 deps = [ |
| 58 ":test_app_bindings", | 58 ":test_app_bindings", |
| 59 "//base", | 59 "//base", |
| 60 "//mojo/shell/public/cpp:sources", | 60 "//services/shell/public/cpp:sources", |
| 61 "//mojo/shell/public/interfaces", | 61 "//services/shell/public/interfaces", |
| 62 ] | 62 ] |
| 63 } | 63 } |
| OLD | NEW |