| 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("//build/module_args/mojo.gni") | 5 import("//build/module_args/mojo.gni") |
| 6 import("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
| 7 import("$mojo_sdk_root/mojo/public/mojo_sdk.gni") | 7 import("$mojo_sdk_root/mojo/public/mojo_sdk.gni") |
| 8 | 8 |
| 9 source_set("cpp") { | 9 source_set("cpp") { |
| 10 sources = [ | 10 sources = [ |
| 11 "factory_service_base.cc", | 11 "factory_service_base.cc", |
| 12 "factory_service_base.h", | 12 "factory_service_base.h", |
| 13 "incident.cc", |
| 14 "incident.h", |
| 13 ] | 15 ] |
| 14 | 16 |
| 15 deps = [ | 17 deps = [ |
| 16 "//base", | 18 "//base", |
| 17 "//mojo/application", | 19 "//mojo/application", |
| 18 "//mojo/common", | 20 "//mojo/common", |
| 19 "//mojo/public/cpp/application", | 21 "//mojo/public/cpp/application", |
| 20 ] | 22 ] |
| 21 } | 23 } |
| 24 |
| 25 mojo_native_application("apptests") { |
| 26 output_name = "services_util_cpp_apptests" |
| 27 |
| 28 testonly = true |
| 29 |
| 30 sources = [ |
| 31 "test/incident_test.cc", |
| 32 ] |
| 33 |
| 34 deps = [ |
| 35 ":cpp", |
| 36 "//base", |
| 37 "//mojo/application", |
| 38 "//mojo/application:test_support", |
| 39 ] |
| 40 } |
| OLD | NEW |