| 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 import("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 mojom("mojom") { | 8 mojom("mojom") { |
| 9 sources = [ | 9 sources = [ |
| 10 "ipc.mojom", | 10 "ipc.mojom", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 "ipc_mojo_message_helper.h", | 25 "ipc_mojo_message_helper.h", |
| 26 "ipc_mojo_param_traits.cc", | 26 "ipc_mojo_param_traits.cc", |
| 27 "ipc_mojo_param_traits.h", | 27 "ipc_mojo_param_traits.h", |
| 28 ] | 28 ] |
| 29 | 29 |
| 30 defines = [ "IPC_MOJO_IMPLEMENTATION" ] | 30 defines = [ "IPC_MOJO_IMPLEMENTATION" ] |
| 31 | 31 |
| 32 deps = [ | 32 deps = [ |
| 33 ":mojom", | 33 ":mojom", |
| 34 "//base", | 34 "//base", |
| 35 "//base/third_party/dynamic_annotations", | |
| 36 "//ipc", | 35 "//ipc", |
| 37 "//mojo/public/c/system", | 36 "//mojo/public/c/system", |
| 38 "//mojo/public/cpp/bindings", | 37 "//mojo/public/cpp/bindings", |
| 39 ] | 38 ] |
| 40 } | 39 } |
| 41 | 40 |
| 42 test("ipc_mojo_unittests") { | 41 test("ipc_mojo_unittests") { |
| 43 sources = [ | 42 sources = [ |
| 44 "ipc_channel_mojo_unittest.cc", | 43 "ipc_channel_mojo_unittest.cc", |
| 45 "ipc_mojo_bootstrap_unittest.cc", | 44 "ipc_mojo_bootstrap_unittest.cc", |
| 46 "run_all_unittests.cc", | 45 "run_all_unittests.cc", |
| 47 ] | 46 ] |
| 48 | 47 |
| 49 deps = [ | 48 deps = [ |
| 50 ":mojo", | 49 ":mojo", |
| 51 ":mojom", | 50 ":mojom", |
| 52 "//base", | 51 "//base", |
| 53 "//base/test:test_support", | 52 "//base/test:test_support", |
| 54 "//base/third_party/dynamic_annotations", | |
| 55 "//ipc", | 53 "//ipc", |
| 56 "//ipc:test_support", | 54 "//ipc:test_support", |
| 57 "//mojo/edk/system", | 55 "//mojo/edk/system", |
| 58 "//mojo/edk/test:test_support", | 56 "//mojo/edk/test:test_support", |
| 59 "//testing/gtest", | 57 "//testing/gtest", |
| 60 "//url", | 58 "//url", |
| 61 ] | 59 ] |
| 62 } | 60 } |
| 63 | 61 |
| 64 test("ipc_mojo_perftests") { | 62 test("ipc_mojo_perftests") { |
| 65 sources = [ | 63 sources = [ |
| 66 "ipc_mojo_perftest.cc", | 64 "ipc_mojo_perftest.cc", |
| 67 "run_all_perftests.cc", | 65 "run_all_perftests.cc", |
| 68 ] | 66 ] |
| 69 | 67 |
| 70 deps = [ | 68 deps = [ |
| 71 ":mojo", | 69 ":mojo", |
| 72 ":mojom", | 70 ":mojom", |
| 73 "//base", | 71 "//base", |
| 74 "//base/test:test_support", | 72 "//base/test:test_support", |
| 75 "//base/third_party/dynamic_annotations", | |
| 76 "//ipc", | 73 "//ipc", |
| 77 "//ipc:test_support", | 74 "//ipc:test_support", |
| 78 "//mojo/edk/system", | 75 "//mojo/edk/system", |
| 79 "//mojo/edk/test:test_support", | 76 "//mojo/edk/test:test_support", |
| 80 "//mojo/edk/test:test_support_impl", | 77 "//mojo/edk/test:test_support_impl", |
| 81 "//url", | 78 "//url", |
| 82 ] | 79 ] |
| 83 | 80 |
| 84 if (is_linux && !is_component_build) { | 81 if (is_linux && !is_component_build) { |
| 85 public_configs = [ "//build/config/gcc:rpath_for_built_shared_libraries" ] | 82 public_configs = [ "//build/config/gcc:rpath_for_built_shared_libraries" ] |
| 86 } | 83 } |
| 87 } | 84 } |
| OLD | NEW |