Chromium Code Reviews| 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 0, | |
|
Nico
2016/05/16 23:47:45
This defaults to 0, do you need this?
Wei Li
2016/05/17 00:23:24
Done.
| |
| 7 'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in standalone builds. | 8 'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in standalone builds. |
| 8 'pdf_use_skia%': 0, | 9 'pdf_use_skia%': 0, |
| 9 }, | 10 }, |
| 10 'target_defaults': { | 11 'target_defaults': { |
| 11 'defines': [ | 12 'defines': [ |
| 12 'OPJ_STATIC', | 13 'OPJ_STATIC', |
| 13 'PNG_PREFIX', | 14 'PNG_PREFIX', |
| 14 'PNG_USE_READ_MACROS', | 15 'PNG_USE_READ_MACROS', |
| 15 ], | 16 ], |
| 16 'include_dirs': [ | 17 'include_dirs': [ |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 78 'freetype/src/type1/type1.c', | 79 'freetype/src/type1/type1.c', |
| 79 ], | 80 ], |
| 80 'conditions': [ | 81 'conditions': [ |
| 81 ['pdf_use_skia==1', { | 82 ['pdf_use_skia==1', { |
| 82 'sources': [ | 83 'sources': [ |
| 83 'freetype/src/base/ftfntfmt.c', | 84 'freetype/src/base/ftfntfmt.c', |
| 84 'freetype/src/base/ftfstype.c', | 85 'freetype/src/base/ftfstype.c', |
| 85 'freetype/src/base/fttype1.c', | 86 'freetype/src/base/fttype1.c', |
| 86 ], | 87 ], |
| 87 }], | 88 }], |
| 89 ['os_posix==1', { | |
| 90 'cflags': [ | |
| 91 # open_face_PS_from_sfnt_stream() and open_face_from_buffer() in | |
| 92 # ftbase.h are unused. GCC needs this flag too. | |
|
Nico
2016/05/16 23:47:45
Won't it be needed for clang-cl as well? Maybe it
Wei Li
2016/05/17 00:23:24
Yes, clang_warning_flags on line 97 added this fla
| |
| 93 '-Wno-unused-function', | |
| 94 ], | |
| 95 }], | |
| 88 ], | 96 ], |
| 89 'variables': { | 97 'variables': { |
| 90 'clang_warning_flags': [ | 98 'clang_warning_flags': [ |
| 91 # open_face_PS_from_sfnt_stream() and open_face_from_buffer() in | 99 # open_face_PS_from_sfnt_stream() and open_face_from_buffer() in |
| 92 # ftbase.h are unused. | 100 # ftbase.h are unused. |
| 93 '-Wno-unused-function', | 101 '-Wno-unused-function', |
| 94 ], | 102 ], |
| 95 }, | 103 }, |
| 96 'msvs_disabled_warnings': [ | 104 'msvs_disabled_warnings': [ |
| 97 # Warnings about conversion from 'size_t' to 'long', possible loss of | 105 # Warnings about conversion from 'size_t' to 'long', possible loss of |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 115 'agg23/agg_rasterizer_scanline_aa.h', | 123 'agg23/agg_rasterizer_scanline_aa.h', |
| 116 'agg23/agg_renderer_scanline.h', | 124 'agg23/agg_renderer_scanline.h', |
| 117 'agg23/agg_rendering_buffer.h', | 125 'agg23/agg_rendering_buffer.h', |
| 118 'agg23/agg_scanline_u.h', | 126 'agg23/agg_scanline_u.h', |
| 119 'agg23/agg_vcgen_dash.cpp', | 127 'agg23/agg_vcgen_dash.cpp', |
| 120 'agg23/agg_vcgen_stroke.cpp', | 128 'agg23/agg_vcgen_stroke.cpp', |
| 121 ], | 129 ], |
| 122 'conditions': [ | 130 'conditions': [ |
| 123 ['os_posix==1', { | 131 ['os_posix==1', { |
| 124 # library contains several enum vs non-enum conditionals. | 132 # library contains several enum vs non-enum conditionals. |
| 125 'cflags': [ '-Wno-extra', ], | 133 'cflags': [ '-Wno-extra' ], |
| 126 }], | 134 }], |
| 127 ], | 135 ], |
| 128 'variables': { | 136 'variables': { |
| 129 'clang_warning_flags': [ | 137 'clang_warning_flags': [ |
| 130 # calc_butt_cap() in agg_vcgen_stroke.cpp is unused. | 138 # calc_butt_cap() in agg_vcgen_stroke.cpp is unused. |
| 131 '-Wno-unused-function', | 139 '-Wno-unused-function', |
| 132 ], | 140 ], |
| 133 }, | 141 }, |
| 134 }, | 142 }, |
| 135 { | 143 { |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 427 # tif_ojpeg.c and tif_jpeg.c. | 435 # tif_ojpeg.c and tif_jpeg.c. |
| 428 'WIN32_LEAN_AND_MEAN', | 436 'WIN32_LEAN_AND_MEAN', |
| 429 ], | 437 ], |
| 430 }], | 438 }], |
| 431 ], | 439 ], |
| 432 }, | 440 }, |
| 433 ], | 441 ], |
| 434 }], | 442 }], |
| 435 ], | 443 ], |
| 436 } | 444 } |
| OLD | NEW |