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

Side by Side Diff: build/standalone.gypi

Issue 1532723003: Make clang_warning_flags work for standalone builds. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 5 years 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
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « build/set_clang_warning_flags.gypi ('k') | core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_unittest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698