OLD | NEW |
1 # Copyright 2014 PDFium authors. All rights reserved. | 1 # Copyright 2014 PDFium 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 # Original code from V8, original license was: | 5 # Original code from V8, original license was: |
6 # Copyright 2014 the V8 project authors. All rights reserved. | 6 # Copyright 2014 the V8 project authors. All rights reserved. |
7 # Use of this source code is governed by a BSD-style license that can be | 7 # Use of this source code is governed by a BSD-style license that can be |
8 # found in the LICENSE file. | 8 # found in the LICENSE file. |
9 # | 9 # |
10 # This file is used only by the standalone PDFium build. Under a chromium | 10 # This file is used only by the standalone PDFium build. Under a chromium |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 ['OS=="win"', { | 135 ['OS=="win"', { |
136 'run_as': { | 136 'run_as': { |
137 'action????': ['$(TargetPath)', '--gtest_print_time'], | 137 'action????': ['$(TargetPath)', '--gtest_print_time'], |
138 }, | 138 }, |
139 }], | 139 }], |
140 ], | 140 ], |
141 }], | 141 }], |
142 ], | 142 ], |
143 'msvs_disabled_warnings': [4800], | 143 'msvs_disabled_warnings': [4800], |
144 }, | 144 }, |
| 145 'variables': { |
| 146 'clang_warning_flags': [ |
| 147 # The Mutex constructor initializer list in gtest-port.cc is |
| 148 # incorrectly ordered. See |
| 149 # https://groups.google.com/d/msg/googletestframework/S5uSV8L2TX8/U1Fa
TDa6J6sJ. |
| 150 '-Wno-reorder', |
| 151 # Suppress warnings for unused constants. |
| 152 '-Wno-unused' |
| 153 ], |
| 154 }, |
145 }, | 155 }, |
146 { | 156 { |
147 'target_name': 'gtest_main', | 157 'target_name': 'gtest_main', |
148 'type': 'static_library', | 158 'type': 'static_library', |
149 'dependencies': [ | 159 'dependencies': [ |
150 'gtest', | 160 'gtest', |
151 ], | 161 ], |
152 'sources': [ | 162 'sources': [ |
153 'gtest/src/gtest_main.cc', | 163 'gtest/src/gtest_main.cc', |
154 ], | 164 ], |
155 }, | 165 }, |
156 { | 166 { |
157 'target_name': 'gtest_prod', | 167 'target_name': 'gtest_prod', |
158 'toolsets': ['host', 'target'], | 168 'toolsets': ['host', 'target'], |
159 'type': 'none', | 169 'type': 'none', |
160 'sources': [ | 170 'sources': [ |
161 'gtest/include/gtest/gtest_prod.h', | 171 'gtest/include/gtest/gtest_prod.h', |
162 ], | 172 ], |
163 }, | 173 }, |
164 ], | 174 ], |
165 } | 175 } |
OLD | NEW |