| Index: mojo/message_pump/BUILD.gn
|
| diff --git a/mojo/message_pump/BUILD.gn b/mojo/message_pump/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ec4055633972b7221528c95e15a90c9b3086002a
|
| --- /dev/null
|
| +++ b/mojo/message_pump/BUILD.gn
|
| @@ -0,0 +1,39 @@
|
| +# 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.
|
| +
|
| +source_set("message_pump") {
|
| + sources = [
|
| + "handle_watcher.cc",
|
| + "handle_watcher.h",
|
| + "message_pump_mojo.cc",
|
| + "message_pump_mojo.h",
|
| + "message_pump_mojo_handler.h",
|
| + "time_helper.cc",
|
| + "time_helper.h",
|
| + ]
|
| +
|
| + deps = [
|
| + "//base",
|
| + "//third_party/mojo/src/mojo/public/cpp/system",
|
| + ]
|
| +}
|
| +
|
| +source_set("tests") {
|
| + testonly = true
|
| +
|
| + sources = [
|
| + "handle_watcher_unittest.cc",
|
| + "message_pump_mojo_unittest.cc",
|
| + ]
|
| +
|
| + deps = [
|
| + ":message_pump",
|
| + "//base",
|
| + "//base/test:test_support",
|
| + "//base:message_loop_tests",
|
| + "//third_party/mojo/src/mojo/public/cpp/system",
|
| + "//third_party/mojo/src/mojo/public/cpp/test_support:test_utils",
|
| + "//testing/gtest",
|
| + ]
|
| +}
|
|
|