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

Side by Side Diff: samples/samples.gyp

Issue 1508003003: Move default value of pdf_enable_xfa to standalone.gypi (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Moar GN 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
« no previous file with comments | « samples/BUILD.gn ('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 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_v8%': 1, 7 'pdf_enable_v8%': 1,
8 'pdf_enable_xfa%': 1, 8 'pdf_enable_xfa%': 0, # Set to 1 in standalone builds by standalone.gypi.
9 }, 9 },
10 'target_defaults': { 10 'target_defaults': {
11 'defines' : [ 11 'defines' : [
12 'PNG_PREFIX', 12 'PNG_PREFIX',
13 'PNGPREFIX_H', 13 'PNGPREFIX_H',
14 'PNG_USE_READ_MACROS', 14 'PNG_USE_READ_MACROS',
15 ], 15 ],
16 'include_dirs': [ 16 'include_dirs': [
17 # This is implicit in GN. 17 # This is implicit in GN.
18 '<(DEPTH)', 18 '<(DEPTH)',
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 'conditions': [ 85 'conditions': [
86 ['pdf_enable_xfa==0', { 86 ['pdf_enable_xfa==0', {
87 'dependencies': [ 87 'dependencies': [
88 '../third_party/third_party.gyp:fx_lpng', 88 '../third_party/third_party.gyp:fx_lpng',
89 ], 89 ],
90 }], 90 }],
91 ], 91 ],
92 }, 92 },
93 ], 93 ],
94 } 94 }
OLDNEW
« no previous file with comments | « samples/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698