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

Side by Side Diff: pdfium.gyp

Issue 2193783002: Add build configuration for experimental Windows GDI code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: wording Created 4 years, 4 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.gni ('k') | no next file » | 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 'chromium_code': 1, 7 'chromium_code': 1,
8 'pdf_use_skia%': 0, 8 'pdf_use_skia%': 0,
9 'pdf_enable_v8%': 1, 9 'pdf_enable_v8%': 1,
10 'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in a standalone build. 10 'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in a standalone build.
11 'pdf_use_win32_gdi%': 0,
11 'variables': { 12 'variables': {
12 'clang_use_chrome_plugins': 1, 13 'clang_use_chrome_plugins': 1,
13 }, 14 },
14 'conditions': [ 15 'conditions': [
15 ['OS=="linux"', { 16 ['OS=="linux"', {
16 'bundle_freetype%': 0, 17 'bundle_freetype%': 0,
17 }, { # On Android there's no system FreeType. On Windows and Mac, only a 18 }, { # On Android there's no system FreeType. On Windows and Mac, only a
18 # few methods are used from it. 19 # few methods are used from it.
19 'bundle_freetype%': 1, 20 'bundle_freetype%': 1,
20 }], 21 }],
(...skipping 16 matching lines...) Expand all
37 'conditions': [ 38 'conditions': [
38 ['pdf_use_skia==1', { 39 ['pdf_use_skia==1', {
39 'defines': ['_SKIA_SUPPORT_'], 40 'defines': ['_SKIA_SUPPORT_'],
40 }], 41 }],
41 ['pdf_enable_v8==1', { 42 ['pdf_enable_v8==1', {
42 'defines': ['PDF_ENABLE_V8'], 43 'defines': ['PDF_ENABLE_V8'],
43 }], 44 }],
44 ['pdf_enable_xfa==1', { 45 ['pdf_enable_xfa==1', {
45 'defines': ['PDF_ENABLE_XFA'], 46 'defines': ['PDF_ENABLE_XFA'],
46 }], 47 }],
48 ['pdf_use_win32_gdi==1', {
49 'defines': ['PDFIUM_PRINT_TEXT_WITH_GDI'],
50 }],
47 ['OS=="linux"', { 51 ['OS=="linux"', {
48 'conditions': [ 52 'conditions': [
49 ['target_arch=="x64"', { 53 ['target_arch=="x64"', {
50 'defines' : [ '_FX_CPU_=_FX_X64_', ], 54 'defines' : [ '_FX_CPU_=_FX_X64_', ],
51 'cflags': [ '-fPIC', ], 55 'cflags': [ '-fPIC', ],
52 }], 56 }],
53 ['target_arch=="ia32"', { 57 ['target_arch=="ia32"', {
54 'defines' : [ '_FX_CPU_=_FX_X86_', ], 58 'defines' : [ '_FX_CPU_=_FX_X86_', ],
55 }], 59 }],
56 ], 60 ],
(...skipping 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after
1098 'fpdfsdk/fpdfxfa/include/fpdfxfa_app.h', 1102 'fpdfsdk/fpdfxfa/include/fpdfxfa_app.h',
1099 'fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h', 1103 'fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h',
1100 'fpdfsdk/fpdfxfa/include/fpdfxfa_page.h', 1104 'fpdfsdk/fpdfxfa/include/fpdfxfa_page.h',
1101 'fpdfsdk/fpdfxfa/include/fpdfxfa_util.h', 1105 'fpdfsdk/fpdfxfa/include/fpdfxfa_util.h',
1102 ], 1106 ],
1103 }, 1107 },
1104 ] 1108 ]
1105 }], 1109 }],
1106 ] 1110 ]
1107 } 1111 }
OLDNEW
« no previous file with comments | « pdfium.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698