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

Side by Side Diff: third_party/third_party.gyp

Issue 1985843002: Use chromium_code standard for PDFium GYP compilation (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: address comments Created 4 years, 7 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 | « pdfium.gyp ('k') | xfa.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 { 5 {
6 'variables': { 6 'variables': {
7 'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in standalone builds. 7 'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in standalone builds.
8 'pdf_use_skia%': 0, 8 'pdf_use_skia%': 0,
9 }, 9 },
10 'target_defaults': { 10 'target_defaults': {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 'freetype/src/type1/type1.c', 78 'freetype/src/type1/type1.c',
79 ], 79 ],
80 'conditions': [ 80 'conditions': [
81 ['pdf_use_skia==1', { 81 ['pdf_use_skia==1', {
82 'sources': [ 82 'sources': [
83 'freetype/src/base/ftfntfmt.c', 83 'freetype/src/base/ftfntfmt.c',
84 'freetype/src/base/ftfstype.c', 84 'freetype/src/base/ftfstype.c',
85 'freetype/src/base/fttype1.c', 85 'freetype/src/base/fttype1.c',
86 ], 86 ],
87 }], 87 }],
88 ['os_posix==1 and clang==0', {
89 'cflags': [
90 # open_face_PS_from_sfnt_stream() and open_face_from_buffer() in
91 # ftbase.h are unused. GCC needs this flag too.
92 '-Wno-unused-function',
93 ],
94 }],
88 ], 95 ],
89 'variables': { 96 'variables': {
90 'clang_warning_flags': [ 97 'clang_warning_flags': [
91 # open_face_PS_from_sfnt_stream() and open_face_from_buffer() in 98 # open_face_PS_from_sfnt_stream() and open_face_from_buffer() in
92 # ftbase.h are unused. 99 # ftbase.h are unused.
93 '-Wno-unused-function', 100 '-Wno-unused-function',
94 ], 101 ],
95 }, 102 },
96 'msvs_disabled_warnings': [ 103 'msvs_disabled_warnings': [
97 # Warnings about conversion from 'size_t' to 'long', possible loss of 104 # Warnings about conversion from 'size_t' to 'long', possible loss of
(...skipping 17 matching lines...) Expand all
115 'agg23/agg_rasterizer_scanline_aa.h', 122 'agg23/agg_rasterizer_scanline_aa.h',
116 'agg23/agg_renderer_scanline.h', 123 'agg23/agg_renderer_scanline.h',
117 'agg23/agg_rendering_buffer.h', 124 'agg23/agg_rendering_buffer.h',
118 'agg23/agg_scanline_u.h', 125 'agg23/agg_scanline_u.h',
119 'agg23/agg_vcgen_dash.cpp', 126 'agg23/agg_vcgen_dash.cpp',
120 'agg23/agg_vcgen_stroke.cpp', 127 'agg23/agg_vcgen_stroke.cpp',
121 ], 128 ],
122 'conditions': [ 129 'conditions': [
123 ['os_posix==1', { 130 ['os_posix==1', {
124 # library contains several enum vs non-enum conditionals. 131 # library contains several enum vs non-enum conditionals.
125 'cflags': [ '-Wno-extra', ], 132 'cflags': [ '-Wno-extra' ],
126 }], 133 }],
127 ], 134 ],
128 'variables': { 135 'variables': {
129 'clang_warning_flags': [ 136 'clang_warning_flags': [
130 # calc_butt_cap() in agg_vcgen_stroke.cpp is unused. 137 # calc_butt_cap() in agg_vcgen_stroke.cpp is unused.
131 '-Wno-unused-function', 138 '-Wno-unused-function',
132 ], 139 ],
133 }, 140 },
134 }, 141 },
135 { 142 {
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 # tif_ojpeg.c and tif_jpeg.c. 434 # tif_ojpeg.c and tif_jpeg.c.
428 'WIN32_LEAN_AND_MEAN', 435 'WIN32_LEAN_AND_MEAN',
429 ], 436 ],
430 }], 437 }],
431 ], 438 ],
432 }, 439 },
433 ], 440 ],
434 }], 441 }],
435 ], 442 ],
436 } 443 }
OLDNEW
« no previous file with comments | « pdfium.gyp ('k') | xfa.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698