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("../../../mojo/public/tools/bindings/mojom.gni") | 6 import("../../../mojo/public/tools/bindings/mojom.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 "//base", | 98 "//base", |
99 "//base/third_party/dynamic_annotations", | 99 "//base/third_party/dynamic_annotations", |
100 "//crypto", | 100 "//crypto", |
101 ] | 101 ] |
102 | 102 |
103 if (is_win) { | 103 if (is_win) { |
104 cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()), | 104 cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()), |
105 # which is uninteresting. | 105 # which is uninteresting. |
106 } | 106 } |
107 | 107 |
| 108 if (is_mac && !is_ios) { |
| 109 sources += [ |
| 110 "mach_port_relay.cc", |
| 111 "mach_port_relay.h", |
| 112 ] |
| 113 } |
| 114 |
108 allow_circular_includes_from = [ "//mojo/edk/embedder" ] | 115 allow_circular_includes_from = [ "//mojo/edk/embedder" ] |
109 } | 116 } |
110 | 117 |
111 group("tests") { | 118 group("tests") { |
112 testonly = true | 119 testonly = true |
113 deps = [ | 120 deps = [ |
114 ":mojo_message_pipe_perftests", | 121 ":mojo_message_pipe_perftests", |
115 ":mojo_system_unittests", | 122 ":mojo_system_unittests", |
116 ] | 123 ] |
117 } | 124 } |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 ":test_utils", | 191 ":test_utils", |
185 "//base", | 192 "//base", |
186 "//base/test:test_support", | 193 "//base/test:test_support", |
187 "//mojo/edk/system", | 194 "//mojo/edk/system", |
188 "//mojo/edk/test:run_all_perftests", | 195 "//mojo/edk/test:run_all_perftests", |
189 "//mojo/edk/test:test_support", | 196 "//mojo/edk/test:test_support", |
190 "//mojo/public/cpp/environment:standalone", | 197 "//mojo/public/cpp/environment:standalone", |
191 "//testing/gtest", | 198 "//testing/gtest", |
192 ] | 199 ] |
193 } | 200 } |
OLD | NEW |