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

Side by Side Diff: pdfium.gyp

Issue 1763493002: Rename png_ functions conflicting with chrome. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix pngprefix.h comment Created 4 years, 9 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 | « BUILD.gn ('k') | samples/BUILD.gn » ('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 2015 PDFium Authors. All rights reserved. 1 # Copyright 2015 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 # TODO(thakis): Enable this, pdfium:29 7 # TODO(thakis): Enable this, pdfium:29
8 #'chromium_code': 1, 8 #'chromium_code': 1,
9 'pdf_use_skia%': 0, 9 'pdf_use_skia%': 0,
10 'pdf_enable_v8%': 1, 10 'pdf_enable_v8%': 1,
11 'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in a standalone build. 11 'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in a standalone build.
12 'conditions': [ 12 'conditions': [
13 ['OS=="linux"', { 13 ['OS=="linux"', {
14 'bundle_freetype%': 0, 14 'bundle_freetype%': 0,
15 }, { # On Android there's no system FreeType. On Windows and Mac, only a 15 }, { # On Android there's no system FreeType. On Windows and Mac, only a
16 # few methods are used from it. 16 # few methods are used from it.
17 'bundle_freetype%': 1, 17 'bundle_freetype%': 1,
18 }], 18 }],
19 ], 19 ],
20 }, 20 },
21 'target_defaults': { 21 'target_defaults': {
22 'defines' : [ 22 'defines' : [
23 'OPJ_STATIC', 23 'OPJ_STATIC',
24 'PNG_PREFIX', 24 'PNG_PREFIX',
25 'PNGPREFIX_H',
26 'PNG_USE_READ_MACROS', 25 'PNG_USE_READ_MACROS',
27 'V8_DEPRECATION_WARNINGS', 26 'V8_DEPRECATION_WARNINGS',
28 '_CRT_SECURE_NO_WARNINGS', 27 '_CRT_SECURE_NO_WARNINGS',
29 ], 28 ],
30 'include_dirs': [ 29 'include_dirs': [
31 # This is implicit in GN. 30 # This is implicit in GN.
32 '<(DEPTH)', 31 '<(DEPTH)',
33 '.', 32 '.',
34 'third_party/freetype/include', 33 'third_party/freetype/include',
35 'third_party/freetype/include/freetype', 34 'third_party/freetype/include/freetype',
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after
876 'fpdfsdk/include/fpdfxfa/fpdfxfa_app.h', 875 'fpdfsdk/include/fpdfxfa/fpdfxfa_app.h',
877 'fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h', 876 'fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h',
878 'fpdfsdk/include/fpdfxfa/fpdfxfa_page.h', 877 'fpdfsdk/include/fpdfxfa/fpdfxfa_page.h',
879 'fpdfsdk/include/fpdfxfa/fpdfxfa_util.h', 878 'fpdfsdk/include/fpdfxfa/fpdfxfa_util.h',
880 ], 879 ],
881 }, 880 },
882 ] 881 ]
883 }], 882 }],
884 ] 883 ]
885 } 884 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | samples/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698