| 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", | |
| 31 "//url", | 29 "//url", |
| 32 ] | 30 ] |
| 33 } | 31 } |
| 34 | 32 |
| 35 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests | 33 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests |
| 36 test("mojo_common_unittests") { | 34 test("mojo_common_unittests") { |
| 37 deps = [ | 35 deps = [ |
| 38 ":common", | 36 ":common", |
| 39 "//base", | 37 "//base", |
| 40 "//base/test:test_support", | |
| 41 "//base:message_loop_tests", | 38 "//base:message_loop_tests", |
| 42 "//mojo/edk/test:run_all_unittests", | 39 "//mojo/edk/test:run_all_unittests", |
| 43 "//mojo/edk/test:test_support", | 40 "//mojo/edk/test:test_support", |
| 44 "//mojo/environment:chromium", | 41 "//mojo/environment:chromium", |
| 45 "//mojo/public/cpp/bindings", | 42 "//mojo/public/cpp/bindings", |
| 46 "//mojo/public/cpp/system", | |
| 47 "//mojo/public/cpp/test_support:test_utils", | 43 "//mojo/public/cpp/test_support:test_utils", |
| 48 "//testing/gtest", | 44 "//testing/gtest", |
| 49 "//url", | 45 "//url", |
| 50 ] | 46 ] |
| 51 | 47 |
| 52 sources = [ | 48 sources = [ |
| 53 "common_type_converters_unittest.cc", | 49 "common_type_converters_unittest.cc", |
| 54 "data_pipe_utils_unittest.cc", | 50 "data_pipe_utils_unittest.cc", |
| 55 "handle_watcher_unittest.cc", | 51 "handle_watcher_unittest.cc", |
| 56 "message_pump_mojo_unittest.cc", | 52 "message_pump_mojo_unittest.cc", |
| 57 ] | 53 ] |
| 58 } | 54 } |
| OLD | NEW |