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

Side by Side Diff: pdfium.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 | « build_gyp/standalone.gypi ('k') | third_party/third_party.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 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 'chromium_code': 1,
8 #'chromium_code': 1,
9 8
10 'variables': { 9 'variables': {
11 'clang_use_pdfium_plugins%': 0, 10 'clang_use_pdfium_plugins%': 0,
12 }, 11 },
13 'clang_use_pdfium_plugins%': '<(clang_use_pdfium_plugins)', 12 'clang_use_pdfium_plugins%': '<(clang_use_pdfium_plugins)',
14 13
15 'pdf_use_skia%': 0, 14 'pdf_use_skia%': 0,
16 'pdf_enable_v8%': 1, 15 'pdf_enable_v8%': 1,
17 'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in a standalone build. 16 'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in a standalone build.
18 'conditions': [ 17 'conditions': [
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 }], 87 }],
89 ['clang==1 and clang_use_pdfium_plugins==1', { 88 ['clang==1 and clang_use_pdfium_plugins==1', {
90 'cflags': [ 89 'cflags': [
91 '<@(clang_pdfium_plugins_flags)', 90 '<@(clang_pdfium_plugins_flags)',
92 ], 91 ],
93 }], 92 }],
94 ], 93 ],
95 'msvs_disabled_warnings': [ 94 'msvs_disabled_warnings': [
96 4267, 95 4267,
97 ], 96 ],
98 'variables': {
99 'clang_warning_flags': [
100 # TODO(thestig): Fix all instances, remove this, pdfium:29
101 '-Wno-sign-compare',
102 ],
103 # Make sure Chromium's build/common.gypi doesn't re-add the flag on linux.
104 'cflags_cc!': [ '-Wsign-compare' ],
105 },
106 }, 97 },
107 'targets': [ 98 'targets': [
108 { 99 {
109 'target_name': 'pdfium', 100 'target_name': 'pdfium',
110 'type': 'static_library', 101 'type': 'static_library',
111 'dependencies': [ 102 'dependencies': [
112 'third_party/third_party.gyp:bigint', 103 'third_party/third_party.gyp:bigint',
113 'third_party/third_party.gyp:pdfium_base', 104 'third_party/third_party.gyp:pdfium_base',
114 'fdrm', 105 'fdrm',
115 'fpdfdoc', 106 'fpdfdoc',
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after
1074 'fpdfsdk/fpdfxfa/include/fpdfxfa_app.h', 1065 'fpdfsdk/fpdfxfa/include/fpdfxfa_app.h',
1075 'fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h', 1066 'fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h',
1076 'fpdfsdk/fpdfxfa/include/fpdfxfa_page.h', 1067 'fpdfsdk/fpdfxfa/include/fpdfxfa_page.h',
1077 'fpdfsdk/fpdfxfa/include/fpdfxfa_util.h', 1068 'fpdfsdk/fpdfxfa/include/fpdfxfa_util.h',
1078 ], 1069 ],
1079 }, 1070 },
1080 ] 1071 ]
1081 }], 1072 }],
1082 ] 1073 ]
1083 } 1074 }
OLDNEW
« no previous file with comments | « build_gyp/standalone.gypi ('k') | third_party/third_party.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698