Chromium Code Reviews| Index: services/log/BUILD.gn |
| diff --git a/services/log/BUILD.gn b/services/log/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6adc484ae181d971a78eaa17a97537182cc7690f |
| --- /dev/null |
| +++ b/services/log/BUILD.gn |
| @@ -0,0 +1,50 @@ |
| +# Copyright 2015 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +import("//mojo/public/mojo_application.gni") |
| + |
| +source_set("log_impl") { |
| + sources = [ |
| + "log_impl.cc", |
| + "log_impl.h", |
| + ] |
| + |
| + deps = [ |
| + "//base", |
| + "//mojo/public/cpp/application", |
| + "//mojo/services/log/interfaces", |
| + ] |
| +} |
| + |
| +mojo_native_application("log") { |
| + sources = [ |
| + "main.cc", |
| + ] |
| + |
| + deps = [ |
| + ":log_impl", |
| + "//mojo/public/cpp/application:standalone", |
|
viettrungluu
2015/12/02 01:08:49
If you're using //base (which you are, via :log_im
vardhan
2015/12/02 01:47:58
Done.
|
| + "//mojo/services/log/interfaces", |
| + ] |
| +} |
| + |
| +mojo_native_application("apptests") { |
| + output_name = "log_impl_apptests" |
| + |
| + testonly = true |
| + |
| + sources = [ |
| + "log_impl_unittest.cc", |
| + ] |
| + |
| + deps = [ |
| + ":log_impl", |
| + "//base", |
| + "//mojo/application", |
| + "//mojo/application:test_support", |
| + "//mojo/public/cpp/bindings", |
| + "//mojo/services/log/interfaces", |
| + "//testing/gtest", |
| + ] |
| +} |