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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 'OTHER_CFLAGS': [ | 253 'OTHER_CFLAGS': [ |
254 '-fno-strict-aliasing', | 254 '-fno-strict-aliasing', |
255 ], | 255 ], |
256 'WARNING_CFLAGS': [ | 256 'WARNING_CFLAGS': [ |
257 '-Wall', | 257 '-Wall', |
258 '-Wendif-labels', | 258 '-Wendif-labels', |
259 '-W', | 259 '-W', |
260 '-Wno-unused-parameter', | 260 '-Wno-unused-parameter', |
261 ], | 261 ], |
262 }, | 262 }, |
| 263 'variables': { |
| 264 'clang_warning_flags': [], |
| 265 }, |
| 266 'includes': [ 'set_clang_warning_flags.gypi', ], |
263 'conditions': [ | 267 'conditions': [ |
264 ['component=="shared_library"', { | 268 ['component=="shared_library"', { |
265 'cflags': [ | 269 'cflags': [ |
266 '-fPIC', | 270 '-fPIC', |
267 ], | 271 ], |
268 }], | 272 }], |
269 ['asan==1', { | 273 ['asan==1', { |
270 'cflags': [ | 274 'cflags': [ |
271 '-fsanitize=address', | 275 '-fsanitize=address', |
272 '-gline-tables-only', | 276 '-gline-tables-only', |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 ], | 339 ], |
336 }], # OS=="linux" or OS=="mac" | 340 }], # OS=="linux" or OS=="mac" |
337 ["use_goma==1", { | 341 ["use_goma==1", { |
338 'make_global_settings': [ | 342 'make_global_settings': [ |
339 ['CC_wrapper', '<(gomadir)/gomacc'], | 343 ['CC_wrapper', '<(gomadir)/gomacc'], |
340 ['CXX_wrapper', '<(gomadir)/gomacc'], | 344 ['CXX_wrapper', '<(gomadir)/gomacc'], |
341 ], | 345 ], |
342 }], # use_goma==1 | 346 }], # use_goma==1 |
343 ], | 347 ], |
344 } | 348 } |
OLD | NEW |