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

Side by Side Diff: third_party/gtest/build.scons

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 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 | « third_party/gtest/README ('k') | third_party/gtest/include/gtest/gtest.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/python2.4
2 #
3 # Copyright 2009 Google Inc.
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 # http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 # ========================================================================
17
18 Import('env')
19
20 gtest_env = env.Clone()
21 gtest_env.Append(
22 CPPPATH = [
23 '$MAIN_DIR/third_party/gtest/include',
24 '$MAIN_DIR/third_party/gtest',
25 ],
26 CCFLAGS = [
27 '/wd4061', # enumerator in switch is not handled by a case label
28 '/wd4100', # unreferenced formal parameter
29 '/wd4640', # construction of local static object is not thread-safe
30 '/wd4505', # unreferenced local function has been removed
31 '/wd4548', # expression before comma has no effect
32 ],
33 CPPDEFINES = [
34 '_CRT_NONSTDC_NO_DEPRECATE',
35 ],
36 )
37
38 target_name = 'gtest'
39
40 gtest_inputs = [ 'src/gtest-all.cc' ]
41 if env.Bit('use_precompiled_headers'):
42 gtest_inputs += gtest_env.EnablePrecompile(target_name)
43
44 gtest_env.ComponentLibrary(
45 lib_name=target_name,
46 source=gtest_inputs,
47 )
48
OLDNEW
« no previous file with comments | « third_party/gtest/README ('k') | third_party/gtest/include/gtest/gtest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698