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

Side by Side Diff: third_party/gmock/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/gmock/README ('k') | third_party/gmock/include/gmock/gmock.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 gmock_env = env.Clone()
21 gmock_env.Append(
22 CPPPATH = [
23 '$MAIN_DIR/third_party/gmock',
24 '$MAIN_DIR/third_party/gmock/include',
25 '$MAIN_DIR/third_party/gtest/include',
26 ],
27 CCFLAGS = [
28 '/wd4061', # enumerator is not explicitly handled by a case label
29 '/wd4242', # conversion from type1 to type2, possible loss of data
30 '/wd4244', # conversion from type1 to type2, possible loss of data
31 '/wd4628', # digraphs not supported with -Ze
32 '/wd4640', # construction of local static object is not thread-safe
33 ],
34 )
35
36 target_name = 'gmock'
37
38 gmock_inputs = [ 'src/gmock-all.cc' ]
39
40 if env.Bit('use_precompiled_headers'):
41 gmock_inputs += gmock_env.EnablePrecompile(target_name)
42
43 gmock_env.ComponentLibrary(
44 lib_name=target_name,
45 source=gmock_inputs,
46 )
47
OLDNEW
« no previous file with comments | « third_party/gmock/README ('k') | third_party/gmock/include/gmock/gmock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698