| 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/mojo_application_manifest.gni") | 6 import("//mojo/public/mojo_application_manifest.gni") |
| 7 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
| 8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
| 9 | 9 |
| 10 source_set("shell") { | 10 source_set("shell") { |
| 11 testonly = true | 11 testonly = true |
| 12 sources = [ | 12 sources = [ |
| 13 "shell_unittest.cc", | 13 "shell_unittest.cc", |
| 14 ] | 14 ] |
| 15 | 15 |
| 16 deps = [ | 16 deps = [ |
| 17 ":interfaces", | 17 ":interfaces", |
| 18 "//base", | 18 "//base", |
| 19 "//base/test:test_config", | 19 "//base/test:test_config", |
| 20 "//mojo/common:common_base", | 20 "//mojo/common:common_base", |
| 21 "//mojo/shell/public/cpp:shell_test_support", | 21 "//services/shell/public/cpp:shell_test_support", |
| 22 "//mojo/shell/public/cpp:sources", | 22 "//services/shell/public/cpp:sources", |
| 23 "//mojo/shell/public/interfaces", | 23 "//services/shell/public/interfaces", |
| 24 ] | 24 ] |
| 25 | 25 |
| 26 data_deps = [ | 26 data_deps = [ |
| 27 ":manifest", | 27 ":manifest", |
| 28 ":shell_unittest_driver", | 28 ":shell_unittest_driver", |
| 29 ":shell_unittest_target", | 29 ":shell_unittest_target", |
| 30 ] | 30 ] |
| 31 } | 31 } |
| 32 | 32 |
| 33 mojom("interfaces") { | 33 mojom("interfaces") { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 45 testonly = true | 45 testonly = true |
| 46 | 46 |
| 47 sources = [ | 47 sources = [ |
| 48 "driver.cc", | 48 "driver.cc", |
| 49 ] | 49 ] |
| 50 | 50 |
| 51 deps = [ | 51 deps = [ |
| 52 ":interfaces", | 52 ":interfaces", |
| 53 "//base", | 53 "//base", |
| 54 "//mojo/edk/system", | 54 "//mojo/edk/system", |
| 55 "//mojo/shell/public/cpp", | 55 "//services/shell/public/cpp", |
| 56 "//mojo/shell/public/interfaces", | 56 "//services/shell/public/interfaces", |
| 57 "//mojo/shell/runner:init", | 57 "//services/shell/runner:init", |
| 58 "//mojo/shell/runner/child:test_native_main", | 58 "//services/shell/runner/child:test_native_main", |
| 59 "//mojo/shell/runner/common", | 59 "//services/shell/runner/common", |
| 60 ] | 60 ] |
| 61 | 61 |
| 62 data_deps = [ | 62 data_deps = [ |
| 63 ":driver_manifest", | 63 ":driver_manifest", |
| 64 ] | 64 ] |
| 65 } | 65 } |
| 66 | 66 |
| 67 mojo_application_manifest("driver_manifest") { | 67 mojo_application_manifest("driver_manifest") { |
| 68 type = "exe" | 68 type = "exe" |
| 69 application_name = "shell_unittest_driver" | 69 application_name = "shell_unittest_driver" |
| 70 source = "driver_manifest.json" | 70 source = "driver_manifest.json" |
| 71 } | 71 } |
| 72 | 72 |
| 73 executable("shell_unittest_target") { | 73 executable("shell_unittest_target") { |
| 74 testonly = true | 74 testonly = true |
| 75 | 75 |
| 76 sources = [ | 76 sources = [ |
| 77 "target.cc", | 77 "target.cc", |
| 78 ] | 78 ] |
| 79 | 79 |
| 80 deps = [ | 80 deps = [ |
| 81 ":interfaces", | 81 ":interfaces", |
| 82 "//base", | 82 "//base", |
| 83 "//mojo/shell/public/cpp", | 83 "//services/shell/public/cpp", |
| 84 "//mojo/shell/runner/child:test_native_main", | 84 "//services/shell/runner/child:test_native_main", |
| 85 ] | 85 ] |
| 86 | 86 |
| 87 data_deps = [ | 87 data_deps = [ |
| 88 ":target_manifest", | 88 ":target_manifest", |
| 89 ] | 89 ] |
| 90 } | 90 } |
| 91 | 91 |
| 92 mojo_application_manifest("target_manifest") { | 92 mojo_application_manifest("target_manifest") { |
| 93 type = "exe" | 93 type = "exe" |
| 94 application_name = "shell_unittest_target" | 94 application_name = "shell_unittest_target" |
| 95 source = "target_manifest.json" | 95 source = "target_manifest.json" |
| 96 } | 96 } |
| OLD | NEW |