| 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("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
| 7 | 7 |
| 8 mojom("client_channel") { | 8 mojom("client_channel") { |
| 9 sources = [ | 9 sources = [ |
| 10 "client_channel.mojom", | 10 "client_channel.mojom", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 "scoped_ipc_support.h", | 32 "scoped_ipc_support.h", |
| 33 ] | 33 ] |
| 34 | 34 |
| 35 defines = [ "IPC_MOJO_IMPLEMENTATION" ] | 35 defines = [ "IPC_MOJO_IMPLEMENTATION" ] |
| 36 | 36 |
| 37 deps = [ | 37 deps = [ |
| 38 "//base", | 38 "//base", |
| 39 "//base/third_party/dynamic_annotations", | 39 "//base/third_party/dynamic_annotations", |
| 40 "//ipc", | 40 "//ipc", |
| 41 "//mojo/environment:chromium", | 41 "//mojo/environment:chromium", |
| 42 "//third_party/mojo/src/mojo/edk/system", | |
| 43 "//third_party/mojo/src/mojo/public/c/environment:environment", | 42 "//third_party/mojo/src/mojo/public/c/environment:environment", |
| 44 "//third_party/mojo/src/mojo/public/cpp/bindings", | 43 "//third_party/mojo/src/mojo/public/cpp/bindings", |
| 45 ":client_channel", | 44 ":client_channel", |
| 46 ] | 45 ] |
| 46 |
| 47 if (use_chrome_edk) { |
| 48 deps += [ "//mojo/edk/system" ] |
| 49 } else { |
| 50 deps += [ "//third_party/mojo/src/mojo/edk/system" ] |
| 51 } |
| 47 } | 52 } |
| 48 | 53 |
| 49 test("ipc_mojo_unittests") { | 54 test("ipc_mojo_unittests") { |
| 50 sources = [ | 55 sources = [ |
| 51 "async_handle_waiter_unittest.cc", | 56 "async_handle_waiter_unittest.cc", |
| 52 "ipc_channel_mojo_unittest.cc", | 57 "ipc_channel_mojo_unittest.cc", |
| 53 "ipc_mojo_bootstrap_unittest.cc", | 58 "ipc_mojo_bootstrap_unittest.cc", |
| 54 "run_all_unittests.cc", | 59 "run_all_unittests.cc", |
| 55 ] | 60 ] |
| 56 | 61 |
| 57 deps = [ | 62 deps = [ |
| 58 "//base", | 63 "//base", |
| 59 "//base/test:test_support", | 64 "//base/test:test_support", |
| 60 "//base/third_party/dynamic_annotations", | 65 "//base/third_party/dynamic_annotations", |
| 61 "//ipc", | 66 "//ipc", |
| 62 "//ipc:test_support", | 67 "//ipc:test_support", |
| 63 "//ipc/mojo", | 68 "//ipc/mojo", |
| 64 "//mojo/environment:chromium", | 69 "//mojo/environment:chromium", |
| 65 "//testing/gtest", | 70 "//testing/gtest", |
| 66 "//third_party/mojo/src/mojo/edk/system", | |
| 67 "//url", | 71 "//url", |
| 68 ] | 72 ] |
| 73 |
| 74 if (use_chrome_edk) { |
| 75 deps += [ "//mojo/edk/system" ] |
| 76 } else { |
| 77 deps += [ "//third_party/mojo/src/mojo/edk/system" ] |
| 78 } |
| 69 } | 79 } |
| 70 | 80 |
| 71 test("ipc_mojo_perftests") { | 81 test("ipc_mojo_perftests") { |
| 72 sources = [ | 82 sources = [ |
| 73 "ipc_mojo_perftest.cc", | 83 "ipc_mojo_perftest.cc", |
| 74 ] | 84 ] |
| 75 | 85 |
| 76 deps = [ | 86 deps = [ |
| 77 "//base", | 87 "//base", |
| 78 "//base/test:test_support", | 88 "//base/test:test_support", |
| 79 "//base/test:test_support_perf", | 89 "//base/test:test_support_perf", |
| 80 "//base/third_party/dynamic_annotations", | 90 "//base/third_party/dynamic_annotations", |
| 81 "//ipc", | 91 "//ipc", |
| 82 "//ipc:test_support", | 92 "//ipc:test_support", |
| 83 "//ipc/mojo", | 93 "//ipc/mojo", |
| 84 "//mojo/environment:chromium", | 94 "//mojo/environment:chromium", |
| 85 "//third_party/mojo/src/mojo/edk/system", | |
| 86 "//url", | 95 "//url", |
| 87 ] | 96 ] |
| 97 |
| 98 if (use_chrome_edk) { |
| 99 deps += [ "//mojo/edk/system" ] |
| 100 } else { |
| 101 deps += [ "//third_party/mojo/src/mojo/edk/system" ] |
| 102 } |
| 88 } | 103 } |
| OLD | NEW |