| 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_sdk.gni") | 5 import("../../mojo_sdk.gni") |
| 6 | 6 |
| 7 # GYP version: mojo/public/mojo_public.gyp:mojo_public_test_utils | 7 # This target depends on mojo/public/c/test_support. |
| 8 mojo_sdk_source_set("test_utils") { | 8 mojo_sdk_source_set("test_support") { |
| 9 testonly = true | 9 testonly = true |
| 10 | 10 |
| 11 sources = [ | 11 sources = [ |
| 12 "lib/test_support.cc", | 12 "lib/test_support.cc", |
| 13 "lib/test_utils.cc", | 13 "test_support.h", |
| 14 "test_utils.h", | |
| 15 ] | |
| 16 | |
| 17 deps = [ | |
| 18 "//testing/gtest", | |
| 19 ] | 14 ] |
| 20 | 15 |
| 21 mojo_sdk_deps = [ | 16 mojo_sdk_deps = [ |
| 22 "mojo/public/c/test_support", | 17 "mojo/public/c/test_support", |
| 23 "mojo/public/cpp/system", | 18 "mojo/public/cpp/system", |
| 24 ] | 19 ] |
| 25 } | 20 } |
| 21 |
| 22 # This target should be "pure Mojo" and have no external dependencies. |
| 23 mojo_sdk_source_set("test_utils") { |
| 24 testonly = true |
| 25 |
| 26 sources = [ |
| 27 "lib/test_utils.cc", |
| 28 "test_utils.h", |
| 29 ] |
| 30 |
| 31 mojo_sdk_deps = [ "mojo/public/cpp/system" ] |
| 32 } |
| OLD | NEW |