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

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

Issue 217273004: Pull GN @ r262225 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « tools/gn/bin/win/gn.exe.sha1 ('k') | tools/gn/secondary/tools/grit/grit_rule.gni » ('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 config("gtest_config") { 5 config("gtest_config") {
6 visibility = [
7 ":*",
8 "//testing/gmock:*", # gmock also shares this config.
9 ]
10
6 defines = [ 11 defines = [
7 "UNIT_TEST", 12 "UNIT_TEST",
8 13
9 # In order to allow regex matches in gtest to be shared between Windows 14 # In order to allow regex matches in gtest to be shared between Windows
10 # and other systems, we tell gtest to always use it's internal engine. 15 # and other systems, we tell gtest to always use it's internal engine.
11 "GTEST_HAS_POSIX_RE=0", 16 "GTEST_HAS_POSIX_RE=0",
12 ] 17 ]
13 18
14 # Gtest headers need to be able to find themselves. 19 # Gtest headers need to be able to find themselves.
15 include_dirs = [ "include" ] 20 include_dirs = [ "include" ]
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 ] 80 ]
76 } 81 }
77 82
78 include_dirs = [ "." ] 83 include_dirs = [ "." ]
79 84
80 all_dependent_configs = [ ":gtest_config" ] 85 all_dependent_configs = [ ":gtest_config" ]
81 86
82 configs -= [ "//build/config/compiler:chromium_code" ] 87 configs -= [ "//build/config/compiler:chromium_code" ]
83 configs += [ "//build/config/compiler:no_chromium_code" ] 88 configs += [ "//build/config/compiler:no_chromium_code" ]
84 } 89 }
OLDNEW
« no previous file with comments | « tools/gn/bin/win/gn.exe.sha1 ('k') | tools/gn/secondary/tools/grit/grit_rule.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698