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

Side by Side Diff: testing/gtest.gyp

Issue 2169193002: Re-land: Roll gtest. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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 | « net/socket/sequenced_socket_data_unittest.cc ('k') | testing/gtest.gypi » ('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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'includes': [ 6 'includes': [
7 'gtest.gypi', 7 'gtest.gypi',
8 ], 8 ],
9 'targets': [ 9 'targets': [
10 { 10 {
11 'target_name': 'gtest', 11 'target_name': 'gtest',
12 'toolsets': ['host', 'target'], 12 'toolsets': ['host', 'target'],
13 'type': 'static_library', 13 'type': 'static_library',
14 'sources': [ 14 'sources': [
15 '<@(gtest_sources)', 15 '<@(gtest_sources)',
16 ], 16 ],
17 'include_dirs': [ 17 'include_dirs': [
18 'gtest', 18 'third_party/googletest/googletest',
19 'gtest/include', 19 'third_party/googletest/googletest/include',
20 ], 20 ],
21 'dependencies': [ 21 'dependencies': [
22 'gtest_prod', 22 'gtest_prod',
23 ], 23 ],
24 'defines': [ 24 'defines': [
25 # In order to allow regex matches in gtest to be shared between Windows 25 # In order to allow regex matches in gtest to be shared between Windows
26 # and other systems, we tell gtest to always use it's internal engine. 26 # and other systems, we tell gtest to always use it's internal engine.
27 'GTEST_HAS_POSIX_RE=0', 27 'GTEST_HAS_POSIX_RE=0',
28 # Chrome doesn't support / require C++11, yet. 28 # Chrome doesn't support / require C++11, yet.
29 'GTEST_LANG_CXX11=0', 29 'GTEST_LANG_CXX11=0',
30 ], 30 ],
31 'all_dependent_settings': { 31 'all_dependent_settings': {
32 'include_dirs': [ 32 'include_dirs': [
33 'gtest/include', 33 'third_party/googletest/googletest/include', # So that gtest headers can find themselves.
34 ], 34 ],
35 'defines': [ 35 'defines': [
36 'GTEST_HAS_POSIX_RE=0', 36 'GTEST_HAS_POSIX_RE=0',
37 'GTEST_LANG_CXX11=0', 37 'GTEST_LANG_CXX11=0',
38 ], 38 ],
39 }, 39 },
40 'conditions': [ 40 'conditions': [
41 ['OS == "mac" or OS == "ios"', { 41 ['OS == "mac" or OS == "ios"', {
42 'sources': [ 42 'sources': [
43 'gtest_mac.h', 43 'gtest_mac.h',
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 'msvs_disabled_warnings': [4800], 155 'msvs_disabled_warnings': [4800],
156 }, 156 },
157 }, 157 },
158 { 158 {
159 'target_name': 'gtest_main', 159 'target_name': 'gtest_main',
160 'type': 'static_library', 160 'type': 'static_library',
161 'dependencies': [ 161 'dependencies': [
162 'gtest', 162 'gtest',
163 ], 163 ],
164 'sources': [ 164 'sources': [
165 'gtest/src/gtest_main.cc', 165 'third_party/googletest/googletest/src/gtest_main.cc',
166 ], 166 ],
167 }, 167 },
168 { 168 {
169 'target_name': 'gtest_prod', 169 'target_name': 'gtest_prod',
170 'toolsets': ['host', 'target'], 170 'toolsets': ['host', 'target'],
171 'type': 'none', 171 'type': 'none',
172 'sources': [ 172 'sources': [
173 'gtest/include/gtest/gtest_prod.h', 173 'gtest/include/gtest/gtest_prod.h',
174 'third_party/googletest/googletest/include/gtest/gtest_prod.h',
174 ], 175 ],
175 }, 176 },
176 ], 177 ],
177 } 178 }
OLDNEW
« no previous file with comments | « net/socket/sequenced_socket_data_unittest.cc ('k') | testing/gtest.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698