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

Side by Side Diff: components/sessions/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 | « components/policy/BUILD.gn ('k') | components/signin/core/browser/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 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/config.gn") 6 import("//build/config/android/config.gn")
7 } 7 }
8 8
9 component("sessions") { 9 component("sessions") {
10 sources = [ 10 sources = [
(...skipping 11 matching lines...) Expand all
22 "//skia", 22 "//skia",
23 "//url", 23 "//url",
24 ] 24 ]
25 25
26 if (!is_android || !is_android_webview_build) { 26 if (!is_android || !is_android_webview_build) {
27 deps += [ "//sync" ] 27 deps += [ "//sync" ]
28 } 28 }
29 } 29 }
30 30
31 static_library("test_support") { 31 static_library("test_support") {
32 testonly = true
32 sources = [ 33 sources = [
33 "serialized_navigation_entry_test_helper.cc", 34 "serialized_navigation_entry_test_helper.cc",
34 "serialized_navigation_entry_test_helper.h", 35 "serialized_navigation_entry_test_helper.h",
35 ] 36 ]
36 37
37 deps = [ 38 deps = [
38 "//skia", 39 "//skia",
39 "//testing/gtest", 40 "//testing/gtest",
40 ] 41 ]
41 42
42 if (!is_android || !is_android_webview_build) { 43 if (!is_android || !is_android_webview_build) {
43 deps += [ "//sync" ] 44 deps += [ "//sync" ]
44 } 45 }
45 } 46 }
OLDNEW
« no previous file with comments | « components/policy/BUILD.gn ('k') | components/signin/core/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698