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

Side by Side Diff: mojo/embedder/BUILD.gn

Issue 551933002: Mark gtest and gmock as testonly in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testonly
Patch Set: android Created 6 years, 3 months 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 | « media/base/android/BUILD.gn ('k') | mojo/public/c/system/tests/BUILD.gn » ('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 source_set("embedder") { 5 source_set("embedder") {
6 # This isn't really a standalone target, it must be linked into the 6 # This isn't really a standalone target, it must be linked into the
7 # mojo_system_impl component. 7 # mojo_system_impl component.
8 visibility = [ "//mojo/system" ] 8 visibility = [ "//mojo/system" ]
9 9
10 deps = [ "//base", ] 10 deps = [ "//base", ]
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 # Test-only code: 45 # Test-only code:
46 # TODO(vtl): It's a little unfortunate that these end up in the same 46 # TODO(vtl): It's a little unfortunate that these end up in the same
47 # component as non-test-only code. In the static build, this code should 47 # component as non-test-only code. In the static build, this code should
48 # hopefully be dead-stripped. 48 # hopefully be dead-stripped.
49 "test_embedder.cc", 49 "test_embedder.cc",
50 "test_embedder.h", 50 "test_embedder.h",
51 ] 51 ]
52 } 52 }
53 53
54 source_set("embedder_unittests") { 54 source_set("embedder_unittests") {
55 testonly = true
55 visibility = [ "//mojo/system:mojo_system_unittests" ] 56 visibility = [ "//mojo/system:mojo_system_unittests" ]
56 testonly = true 57 testonly = true
57 58
58 deps = [ 59 deps = [
59 "//base", 60 "//base",
60 "//mojo/common/test:test_support", 61 "//mojo/common/test:test_support",
61 "//mojo/system", 62 "//mojo/system",
62 "//testing/gtest", 63 "//testing/gtest",
63 ] 64 ]
64 65
65 sources = [ 66 sources = [
66 "embedder_unittest.cc", 67 "embedder_unittest.cc",
67 "platform_channel_pair_posix_unittest.cc", 68 "platform_channel_pair_posix_unittest.cc",
68 "simple_platform_shared_buffer_unittest.cc", 69 "simple_platform_shared_buffer_unittest.cc",
69 ] 70 ]
70 } 71 }
OLDNEW
« no previous file with comments | « media/base/android/BUILD.gn ('k') | mojo/public/c/system/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698