OLD | NEW |
(Empty) | |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//mojo/public/mojo_application.gni") |
| 6 |
| 7 source_set("log_impl") { |
| 8 sources = [ |
| 9 "log_impl.cc", |
| 10 "log_impl.h", |
| 11 ] |
| 12 |
| 13 deps = [ |
| 14 "//base", |
| 15 "//mojo/public/cpp/application", |
| 16 "//mojo/services/log/interfaces", |
| 17 ] |
| 18 } |
| 19 |
| 20 mojo_native_application("log") { |
| 21 sources = [ |
| 22 "main.cc", |
| 23 ] |
| 24 |
| 25 deps = [ |
| 26 ":log_impl", |
| 27 "//mojo/application", |
| 28 "//mojo/services/log/interfaces", |
| 29 ] |
| 30 } |
| 31 |
| 32 mojo_native_application("apptests") { |
| 33 output_name = "log_impl_apptests" |
| 34 |
| 35 testonly = true |
| 36 |
| 37 sources = [ |
| 38 "log_impl_unittest.cc", |
| 39 ] |
| 40 |
| 41 deps = [ |
| 42 ":log_impl", |
| 43 "//base", |
| 44 "//mojo/application", |
| 45 "//mojo/application:test_support", |
| 46 "//mojo/public/cpp/bindings", |
| 47 "//mojo/services/log/interfaces", |
| 48 "//testing/gtest", |
| 49 "//base/test:test_config", |
| 50 ] |
| 51 } |
OLD | NEW |