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

Side by Side Diff: base/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 | « no previous file | base/test/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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/rules.gni") 8 import("//build/config/android/rules.gni")
9 } 9 }
10 10
(...skipping 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after
1028 1028
1029 deps = [ 1029 deps = [
1030 ":base", 1030 ":base",
1031 ":prefs", 1031 ":prefs",
1032 "//testing/gmock", 1032 "//testing/gmock",
1033 "//testing/gtest", 1033 "//testing/gtest",
1034 ] 1034 ]
1035 } 1035 }
1036 1036
1037 source_set("message_loop_tests") { 1037 source_set("message_loop_tests") {
1038 testonly = true
1038 sources = [ 1039 sources = [
1039 "message_loop/message_loop_test.cc", 1040 "message_loop/message_loop_test.cc",
1040 "message_loop/message_loop_test.h", 1041 "message_loop/message_loop_test.h",
1041 ] 1042 ]
1042 1043
1043 deps = [ 1044 deps = [
1044 ":base", 1045 ":base",
1045 "//testing/gtest", 1046 "//testing/gtest",
1046 ] 1047 ]
1047 } 1048 }
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
1428 1429
1429 unittest_apk("base_unittests_apk") { 1430 unittest_apk("base_unittests_apk") {
1430 deps = [ 1431 deps = [
1431 ":base_java", 1432 ":base_java",
1432 ":base_java_unittest_support", 1433 ":base_java_unittest_support",
1433 ":base_unittests", 1434 ":base_unittests",
1434 ] 1435 ]
1435 unittests_dep = ":base_unittests" 1436 unittests_dep = ":base_unittests"
1436 } 1437 }
1437 } 1438 }
OLDNEW
« no previous file with comments | « no previous file | base/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698