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

Side by Side Diff: xfa.gyp

Issue 2136273002: Create an fxjs static library (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@fxjs_v8_v2
Patch Set: GYP fix attempt Created 4 years, 5 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') | 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 { 1 {
2 "variables": { 2 "variables": {
3 "chromium_code": 1, 3 "chromium_code": 1,
4 "pdf_enable_v8%": 1, 4 "pdf_enable_v8%": 1,
5 "variables": { 5 "variables": {
6 'clang_use_chrome_plugins': 1, 6 'clang_use_chrome_plugins': 1,
7 }, 7 },
8 }, 8 },
9 "target_defaults": { 9 "target_defaults": {
10 "defines": [ 10 "defines": [
11 "PDF_ENABLE_XFA", 11 "PDF_ENABLE_XFA",
12 ], 12 ],
13 'msvs_disabled_warnings': [ 13 'msvs_disabled_warnings': [
14 4267, 14 4267,
15 ], 15 ],
16 }, 16 },
17 "targets":[ 17 "targets":[
18 { 18 {
19 "target_name":"xfa", 19 "target_name": "fxjs",
20 "type":"static_library", 20 "type": "static_library",
21 'include_dirs': [ 21 'include_dirs': [
22 # This is implicit in GN. 22 # This is implicit in GN.
23 '<(DEPTH)', 23 '<(DEPTH)',
24 '.', 24 '.',
25 'third_party/freetype/include',
26 'third_party/freetype/include/freetype',
27 '<(DEPTH)/v8', 25 '<(DEPTH)/v8',
28 '<(DEPTH)/v8/include', 26 '<(DEPTH)/v8/include',
29 ], 27 ],
30 'defines' : [
31 'FT2_BUILD_LIBRARY',
32 ],
33 'dependencies': [ 28 'dependencies': [
34 '<(DEPTH)/v8/src/v8.gyp:v8', 29 '<(DEPTH)/v8/src/v8.gyp:v8',
35 ], 30 ],
36 'export_dependent_settings': [ 31 'export_dependent_settings': [
37 '<(DEPTH)/v8/src/v8.gyp:v8', 32 '<(DEPTH)/v8/src/v8.gyp:v8',
38 ], 33 ],
39 "sources":[ 34 "sources": [
40 "fxjs/cfxjse_arguments.cpp", 35 "fxjs/cfxjse_arguments.cpp",
41 "fxjs/cfxjse_class.cpp", 36 "fxjs/cfxjse_class.cpp",
42 "fxjs/cfxjse_context.cpp", 37 "fxjs/cfxjse_context.cpp",
43 "fxjs/cfxjse_isolatetracker.cpp", 38 "fxjs/cfxjse_isolatetracker.cpp",
44 "fxjs/cfxjse_isolatetracker.h", 39 "fxjs/cfxjse_isolatetracker.h",
45 "fxjs/cfxjse_runtimedata.cpp", 40 "fxjs/cfxjse_runtimedata.cpp",
46 "fxjs/cfxjse_runtimedata.h", 41 "fxjs/cfxjse_runtimedata.h",
47 "fxjs/cfxjse_value.cpp", 42 "fxjs/cfxjse_value.cpp",
48 "fxjs/include/cfxjse_arguments.h", 43 "fxjs/include/cfxjse_arguments.h",
49 "fxjs/include/cfxjse_class.h", 44 "fxjs/include/cfxjse_class.h",
50 "fxjs/include/cfxjse_context.h", 45 "fxjs/include/cfxjse_context.h",
51 "fxjs/include/cfxjse_value.h", 46 "fxjs/include/cfxjse_value.h",
52 "fxjs/include/fxjse.h", 47 "fxjs/include/fxjse.h",
48 ]
49 },
50 {
51 "target_name":"xfa",
52 "type":"static_library",
53 'include_dirs': [
54 # This is implicit in GN.
55 '<(DEPTH)',
56 '.',
57 'third_party/freetype/include',
58 'third_party/freetype/include/freetype',
59 ],
60 'defines' : [
61 'FT2_BUILD_LIBRARY',
62 ],
63 'dependencies': [
64 ':fxjs',
65 ],
66 "sources":[
53 "xfa/fde/cfde_path.cpp", 67 "xfa/fde/cfde_path.cpp",
54 "xfa/fde/cfde_path.h", 68 "xfa/fde/cfde_path.h",
55 "xfa/fde/cfde_txtedtbuf.cpp", 69 "xfa/fde/cfde_txtedtbuf.cpp",
56 "xfa/fde/cfde_txtedtbuf.h", 70 "xfa/fde/cfde_txtedtbuf.h",
57 "xfa/fde/cfde_txtedtbufiter.cpp", 71 "xfa/fde/cfde_txtedtbufiter.cpp",
58 "xfa/fde/cfde_txtedtbufiter.h", 72 "xfa/fde/cfde_txtedtbufiter.h",
59 "xfa/fde/cfde_txtedtdorecord_deleterange.cpp", 73 "xfa/fde/cfde_txtedtdorecord_deleterange.cpp",
60 "xfa/fde/cfde_txtedtdorecord_deleterange.h", 74 "xfa/fde/cfde_txtedtdorecord_deleterange.h",
61 "xfa/fde/cfde_txtedtdorecord_insert.cpp", 75 "xfa/fde/cfde_txtedtdorecord_insert.cpp",
62 "xfa/fde/cfde_txtedtdorecord_insert.h", 76 "xfa/fde/cfde_txtedtdorecord_insert.h",
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 "sources": [], 628 "sources": [],
615 }], 629 }],
616 ["OS == 'mac'", { 630 ["OS == 'mac'", {
617 "configurations": {}, 631 "configurations": {},
618 "sources": [], 632 "sources": [],
619 }], 633 }],
620 ] 634 ]
621 } 635 }
622 ] 636 ]
623 } 637 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698