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

Side by Side Diff: build/secondary/testing/gtest/BUILD.gn

Issue 595073002: Replace forward_dependent_configs with public_deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 config("gtest_config") { 5 config("gtest_config") {
6 visibility = [ 6 visibility = [
7 ":*", 7 ":*",
8 "//testing/gmock:*", # gmock also shares this config. 8 "//testing/gmock:*", # gmock also shares this config.
9 ] 9 ]
10 10
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 sources += [ 99 sources += [
100 "../gtest_mac.h", 100 "../gtest_mac.h",
101 "../gtest_mac.mm", 101 "../gtest_mac.mm",
102 "../platform_test_mac.mm", 102 "../platform_test_mac.mm",
103 ] 103 ]
104 } 104 }
105 105
106 include_dirs = [ "." ] 106 include_dirs = [ "." ]
107 107
108 all_dependent_configs = [ ":gtest_config" ] 108 all_dependent_configs = [ ":gtest_config" ]
109 direct_dependent_configs = [ ":gtest_direct_config" ] 109 public_configs = [ ":gtest_direct_config" ]
110 110
111 configs -= [ "//build/config/compiler:chromium_code" ] 111 configs -= [ "//build/config/compiler:chromium_code" ]
112 configs += [ "//build/config/compiler:no_chromium_code" ] 112 configs += [ "//build/config/compiler:no_chromium_code" ]
113 } 113 }
114 114
115 source_set("gtest_main") { 115 source_set("gtest_main") {
116 # TODO http://crbug.com/412064 enable this flag all the time. 116 # TODO http://crbug.com/412064 enable this flag all the time.
117 testonly = !is_component_build 117 testonly = !is_component_build
118 sources = [ "src/gtest_main.cc" ] 118 sources = [ "src/gtest_main.cc" ]
119 deps = [ ":gtest" ] 119 deps = [ ":gtest" ]
120 } 120 }
OLDNEW
« no previous file with comments | « build/secondary/testing/gmock/BUILD.gn ('k') | build/secondary/third_party/android_tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698