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 # Definitions to be used when building stand-alone PDFium binaries. | 5 # Definitions to be used when building stand-alone PDFium binaries. |
6 | 6 |
7 { | 7 { |
8 'variables': { | 8 'variables': { |
9 'component%': 'static_library', | 9 'component%': 'static_library', |
10 'clang%': 0, | 10 'clang%': 0, |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 'defines!': [ | 143 'defines!': [ |
144 'DEBUG', | 144 'DEBUG', |
145 ], | 145 ], |
146 'cflags': [ | 146 'cflags': [ |
147 '-Wall', | 147 '-Wall', |
148 '-W', | 148 '-W', |
149 '-Wno-unused-parameter', | 149 '-Wno-unused-parameter', |
150 '-pthread', | 150 '-pthread', |
151 '-fno-exceptions', | 151 '-fno-exceptions', |
152 '-fvisibility=hidden', | 152 '-fvisibility=hidden', |
153 '-std=gnu++0x', | |
154 ], | 153 ], |
155 'cflags_cc': [ | 154 'cflags_cc': [ |
| 155 '-std=gnu++0x', |
156 '-Wnon-virtual-dtor', | 156 '-Wnon-virtual-dtor', |
157 '-fno-rtti', | 157 '-fno-rtti', |
158 ], | 158 ], |
159 'ldflags': [ | 159 'ldflags': [ |
160 '-pthread', | 160 '-pthread', |
161 ], | 161 ], |
162 'msvs_cygwin_dirs': ['<(DEPTH)/v8/third_party/cygwin'], | 162 'msvs_cygwin_dirs': ['<(DEPTH)/v8/third_party/cygwin'], |
163 'msvs_configuration_attributes': { | 163 'msvs_configuration_attributes': { |
164 'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)', | 164 'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)', |
165 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)', | 165 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)', |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 }], | 263 }], |
264 ], # target_conditions | 264 ], # target_conditions |
265 }, # target_defaults | 265 }, # target_defaults |
266 }], # OS=="mac" | 266 }], # OS=="mac" |
267 ], | 267 ], |
268 'xcode_settings': { | 268 'xcode_settings': { |
269 # See comment in Chromium's common.gypi for why this is needed. | 269 # See comment in Chromium's common.gypi for why this is needed. |
270 'SYMROOT': '<(DEPTH)/xcodebuild', | 270 'SYMROOT': '<(DEPTH)/xcodebuild', |
271 } | 271 } |
272 } | 272 } |
OLD | NEW |