| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # GYP version: mojo/mojo_base.gyp:mojo_common_lib | 5 # GYP version: mojo/mojo_base.gyp:mojo_common_lib |
| 6 component("common") { | 6 component("common") { |
| 7 output_name = "mojo_common_lib" | 7 output_name = "mojo_common_lib" |
| 8 | 8 |
| 9 sources = [ | 9 sources = [ |
| 10 "common_type_converters.cc", | 10 "common_type_converters.cc", |
| 11 "common_type_converters.h", | 11 "common_type_converters.h", |
| 12 "data_pipe_utils.cc", | 12 "data_pipe_utils.cc", |
| 13 "data_pipe_utils.h", | 13 "data_pipe_utils.h", |
| 14 "handle_watcher.cc", | 14 "handle_watcher.cc", |
| 15 "handle_watcher.h", | 15 "handle_watcher.h", |
| 16 "message_pump_mojo.cc", | 16 "message_pump_mojo.cc", |
| 17 "message_pump_mojo.h", | 17 "message_pump_mojo.h", |
| 18 "message_pump_mojo_handler.h", | 18 "message_pump_mojo_handler.h", |
| 19 "time_helper.cc", | 19 "time_helper.cc", |
| 20 "time_helper.h", | 20 "time_helper.h", |
| 21 ] | 21 ] |
| 22 | 22 |
| 23 defines = [ "MOJO_COMMON_IMPLEMENTATION" ] | 23 defines = [ "MOJO_COMMON_IMPLEMENTATION" ] |
| 24 | 24 |
| 25 deps = [ | 25 deps = [ |
| 26 "//base", | 26 "//base", |
| 27 "//base/third_party/dynamic_annotations", | 27 "//base/third_party/dynamic_annotations", |
| 28 "//mojo/public/c/system:for_component", | 28 "//mojo/public/c/system:for_component", |
| 29 "//mojo/public/cpp/bindings", |
| 30 "//mojo/public/cpp/system", |
| 29 "//url", | 31 "//url", |
| 30 ] | 32 ] |
| 31 } | 33 } |
| 32 | 34 |
| 33 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests | 35 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests |
| 34 test("mojo_common_unittests") { | 36 test("mojo_common_unittests") { |
| 35 deps = [ | 37 deps = [ |
| 36 ":common", | 38 ":common", |
| 37 "//base", | 39 "//base", |
| 40 "//base/test:test_support", |
| 38 "//base:message_loop_tests", | 41 "//base:message_loop_tests", |
| 39 "//mojo/edk/test:run_all_unittests", | 42 "//mojo/edk/test:run_all_unittests", |
| 40 "//mojo/edk/test:test_support", | 43 "//mojo/edk/test:test_support", |
| 41 "//mojo/environment:chromium", | 44 "//mojo/environment:chromium", |
| 42 "//mojo/public/cpp/bindings", | 45 "//mojo/public/cpp/bindings", |
| 46 "//mojo/public/cpp/system", |
| 43 "//mojo/public/cpp/test_support:test_utils", | 47 "//mojo/public/cpp/test_support:test_utils", |
| 44 "//testing/gtest", | 48 "//testing/gtest", |
| 45 "//url", | 49 "//url", |
| 46 ] | 50 ] |
| 47 | 51 |
| 48 sources = [ | 52 sources = [ |
| 49 "common_type_converters_unittest.cc", | 53 "common_type_converters_unittest.cc", |
| 50 "data_pipe_utils_unittest.cc", | 54 "data_pipe_utils_unittest.cc", |
| 51 "handle_watcher_unittest.cc", | 55 "handle_watcher_unittest.cc", |
| 52 "message_pump_mojo_unittest.cc", | 56 "message_pump_mojo_unittest.cc", |
| 53 ] | 57 ] |
| 54 } | 58 } |
| OLD | NEW |