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

Side by Side Diff: xfa.gyp

Issue 2009813004: Enable chromium_code standard for XFA code (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rebase 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 | « no previous file | xfa/fwl/core/cfwl_widgetmgr.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "variables": { 2 "variables": {
3 "chromium_code": 1,
3 "pdf_enable_v8%": 1, 4 "pdf_enable_v8%": 1,
4 }, 5 },
5 "target_defaults": { 6 "target_defaults": {
6 "defines": [ 7 "defines": [
7 "PDF_ENABLE_XFA", 8 "PDF_ENABLE_XFA",
8 ], 9 ],
9 'msvs_disabled_warnings': [ 10 'msvs_disabled_warnings': [
10 4005, 4018, 4146, 4333, 4345, 4267, 11 4267,
11 # TODO(thestig): Fix all instances, remove this, pdfium:29
12 4245, 4310, 4389, 4701, 4702, 4706, 4800,
13 ], 12 ],
14 }, 13 },
15 "targets":[ 14 "targets":[
16 { 15 {
17 "target_name":"xfa", 16 "target_name":"xfa",
18 "type":"static_library", 17 "type":"static_library",
19 'include_dirs': [ 18 'include_dirs': [
20 # This is implicit in GN. 19 # This is implicit in GN.
21 '<(DEPTH)', 20 '<(DEPTH)',
22 '.', 21 '.',
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 "xfa/fxgraphics/cfx_pattern.cpp", 691 "xfa/fxgraphics/cfx_pattern.cpp",
693 "xfa/fxgraphics/cfx_pattern.h", 692 "xfa/fxgraphics/cfx_pattern.h",
694 "xfa/fxgraphics/cfx_shading.cpp", 693 "xfa/fxgraphics/cfx_shading.cpp",
695 "xfa/fxgraphics/cfx_shading.h", 694 "xfa/fxgraphics/cfx_shading.h",
696 "xfa/fxgraphics/include/cfx_graphics.h", 695 "xfa/fxgraphics/include/cfx_graphics.h",
697 "xfa/fxjse/include/fxjse.h", 696 "xfa/fxjse/include/fxjse.h",
698 ], 697 ],
699 "conditions": [ 698 "conditions": [
700 ["clang==1" , { 699 ["clang==1" , {
701 }], 700 }],
701 ["os_posix==1 and clang==0", { # When GCC
702 'cflags': [ '-Wno-error=strict-overflow' ],
703 }],
702 ["pdf_enable_v8==1", { 704 ["pdf_enable_v8==1", {
703 'dependencies': [ 705 'dependencies': [
704 '<(DEPTH)/v8/src/v8.gyp:v8', 706 '<(DEPTH)/v8/src/v8.gyp:v8',
705 ], 707 ],
706 'export_dependent_settings': [ 708 'export_dependent_settings': [
707 '<(DEPTH)/v8/src/v8.gyp:v8', 709 '<(DEPTH)/v8/src/v8.gyp:v8',
708 ], 710 ],
709 'include_dirs': [ 711 'include_dirs': [
710 '<(DEPTH)/v8', 712 '<(DEPTH)/v8',
711 '<(DEPTH)/v8/include', 713 '<(DEPTH)/v8/include',
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 "sources": [], 749 "sources": [],
748 }], 750 }],
749 ["OS == 'mac'", { 751 ["OS == 'mac'", {
750 "configurations": {}, 752 "configurations": {},
751 "sources": [], 753 "sources": [],
752 }], 754 }],
753 ] 755 ]
754 } 756 }
755 ] 757 ]
756 } 758 }
OLDNEW
« no previous file with comments | « no previous file | xfa/fwl/core/cfwl_widgetmgr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698