Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(784)

Side by Side Diff: mojo/public/cpp/test_support/BUILD.gn

Issue 1406013005: Split the //mojo/public/cpp/test_support:test_utils target. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/public/cpp/system/tests/BUILD.gn ('k') | mojo/public/cpp/test_support/lib/test_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « mojo/public/cpp/system/tests/BUILD.gn ('k') | mojo/public/cpp/test_support/lib/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698