OLD | NEW |
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. |
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
770 { | 770 { |
771 'target_name': 'javascript', | 771 'target_name': 'javascript', |
772 'type': 'static_library', | 772 'type': 'static_library', |
773 'sources': [ | 773 'sources': [ |
774 'fpdfsdk/javascript/ijs_context.h', | 774 'fpdfsdk/javascript/ijs_context.h', |
775 'fpdfsdk/javascript/ijs_runtime.h', | 775 'fpdfsdk/javascript/ijs_runtime.h', |
776 'fpdfsdk/javascript/JS_Runtime_Stub.cpp', | 776 'fpdfsdk/javascript/JS_Runtime_Stub.cpp', |
777 ], | 777 ], |
778 'conditions': [ | 778 'conditions': [ |
779 ['pdf_enable_v8==1', { | 779 ['pdf_enable_v8==1', { |
780 'include_dirs': [ | |
781 '<(DEPTH)/v8', | |
782 '<(DEPTH)/v8/include', | |
783 ], | |
784 'dependencies': [ | 780 'dependencies': [ |
785 '<(DEPTH)/v8/src/v8.gyp:v8', | 781 ':fxjs' |
786 ], | |
787 'export_dependent_settings': [ | |
788 '<(DEPTH)/v8/src/v8.gyp:v8', | |
789 ], | 782 ], |
790 'sources!': [ | 783 'sources!': [ |
791 'fpdfsdk/javascript/JS_Runtime_Stub.cpp', | 784 'fpdfsdk/javascript/JS_Runtime_Stub.cpp', |
792 ], | 785 ], |
793 'sources': [ | 786 'sources': [ |
794 'fpdfsdk/javascript/Consts.cpp', | 787 'fpdfsdk/javascript/Consts.cpp', |
795 'fpdfsdk/javascript/Consts.h', | 788 'fpdfsdk/javascript/Consts.h', |
796 'fpdfsdk/javascript/Document.cpp', | 789 'fpdfsdk/javascript/Document.cpp', |
797 'fpdfsdk/javascript/Document.h', | 790 'fpdfsdk/javascript/Document.h', |
798 'fpdfsdk/javascript/Field.cpp', | 791 'fpdfsdk/javascript/Field.cpp', |
(...skipping 27 matching lines...) Expand all Loading... |
826 'fpdfsdk/javascript/event.cpp', | 819 'fpdfsdk/javascript/event.cpp', |
827 'fpdfsdk/javascript/event.h', | 820 'fpdfsdk/javascript/event.h', |
828 'fpdfsdk/javascript/global.cpp', | 821 'fpdfsdk/javascript/global.cpp', |
829 'fpdfsdk/javascript/global.h', | 822 'fpdfsdk/javascript/global.h', |
830 'fpdfsdk/javascript/report.cpp', | 823 'fpdfsdk/javascript/report.cpp', |
831 'fpdfsdk/javascript/report.h', | 824 'fpdfsdk/javascript/report.h', |
832 'fpdfsdk/javascript/resource.cpp', | 825 'fpdfsdk/javascript/resource.cpp', |
833 'fpdfsdk/javascript/resource.h', | 826 'fpdfsdk/javascript/resource.h', |
834 'fpdfsdk/javascript/util.cpp', | 827 'fpdfsdk/javascript/util.cpp', |
835 'fpdfsdk/javascript/util.h', | 828 'fpdfsdk/javascript/util.h', |
836 'fpdfsdk/jsapi/include/fxjs_v8.h', | |
837 'fpdfsdk/jsapi/fxjs_v8.cpp', | |
838 ], | 829 ], |
839 }], | 830 }], |
840 ], | 831 ], |
841 }, | 832 }, |
842 { | 833 { |
843 'target_name': 'formfiller', | 834 'target_name': 'formfiller', |
844 'type': 'static_library', | 835 'type': 'static_library', |
845 'sources': [ | 836 'sources': [ |
846 'fpdfsdk/formfiller/cba_fontmap.cpp', | 837 'fpdfsdk/formfiller/cba_fontmap.cpp', |
847 'fpdfsdk/formfiller/cba_fontmap.h', | 838 'fpdfsdk/formfiller/cba_fontmap.h', |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
968 'include_dirs': [ | 959 'include_dirs': [ |
969 '<(DEPTH)/v8', | 960 '<(DEPTH)/v8', |
970 '<(DEPTH)/v8/include', | 961 '<(DEPTH)/v8/include', |
971 ], | 962 ], |
972 'dependencies': [ | 963 'dependencies': [ |
973 '<(DEPTH)/v8/src/v8.gyp:v8', | 964 '<(DEPTH)/v8/src/v8.gyp:v8', |
974 '<(DEPTH)/v8/src/v8.gyp:v8_libplatform', | 965 '<(DEPTH)/v8/src/v8.gyp:v8_libplatform', |
975 ], | 966 ], |
976 'sources': [ | 967 'sources': [ |
977 'fpdfsdk/javascript/public_methods_embeddertest.cpp', | 968 'fpdfsdk/javascript/public_methods_embeddertest.cpp', |
978 'fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp', | 969 'fxjs/fxjs_v8_embeddertest.cpp', |
979 'testing/js_embedder_test.cpp', | 970 'testing/js_embedder_test.cpp', |
980 'testing/js_embedder_test.h', | 971 'testing/js_embedder_test.h', |
981 ], | 972 ], |
982 }], | 973 }], |
983 ], | 974 ], |
984 }, | 975 }, |
985 { | 976 { |
986 'target_name': 'test_support', | 977 'target_name': 'test_support', |
987 'type': 'static_library', | 978 'type': 'static_library', |
988 'dependencies': [ | 979 'dependencies': [ |
(...skipping 15 matching lines...) Expand all Loading... |
1004 ], | 995 ], |
1005 'dependencies': [ | 996 'dependencies': [ |
1006 '<(DEPTH)/v8/src/v8.gyp:v8', | 997 '<(DEPTH)/v8/src/v8.gyp:v8', |
1007 '<(DEPTH)/v8/src/v8.gyp:v8_libplatform', | 998 '<(DEPTH)/v8/src/v8.gyp:v8_libplatform', |
1008 ], | 999 ], |
1009 }], | 1000 }], |
1010 ], | 1001 ], |
1011 }, | 1002 }, |
1012 ], | 1003 ], |
1013 'conditions': [ | 1004 'conditions': [ |
| 1005 ['pdf_enable_v8==1', { |
| 1006 'targets': [ |
| 1007 { |
| 1008 "target_name": "fxjs", |
| 1009 "type": "static_library", |
| 1010 'include_dirs': [ |
| 1011 # This is implicit in GN. |
| 1012 '<(DEPTH)', |
| 1013 '.', |
| 1014 '<(DEPTH)/v8', |
| 1015 '<(DEPTH)/v8/include', |
| 1016 ], |
| 1017 'dependencies': [ |
| 1018 '<(DEPTH)/v8/src/v8.gyp:v8', |
| 1019 ], |
| 1020 'export_dependent_settings': [ |
| 1021 '<(DEPTH)/v8/src/v8.gyp:v8', |
| 1022 ], |
| 1023 "sources": [ |
| 1024 "fxjs/fxjs_v8.cpp", |
| 1025 "fxjs/include/fxjs_v8.h", |
| 1026 ], |
| 1027 "conditions": [ |
| 1028 ['pdf_enable_xfa==1', { |
| 1029 'sources': [ |
| 1030 "fxjs/cfxjse_arguments.cpp", |
| 1031 "fxjs/cfxjse_class.cpp", |
| 1032 "fxjs/cfxjse_context.cpp", |
| 1033 "fxjs/cfxjse_isolatetracker.cpp", |
| 1034 "fxjs/cfxjse_isolatetracker.h", |
| 1035 "fxjs/cfxjse_runtimedata.cpp", |
| 1036 "fxjs/cfxjse_runtimedata.h", |
| 1037 "fxjs/cfxjse_value.cpp", |
| 1038 "fxjs/include/cfxjse_arguments.h", |
| 1039 "fxjs/include/cfxjse_class.h", |
| 1040 "fxjs/include/cfxjse_context.h", |
| 1041 "fxjs/include/cfxjse_value.h", |
| 1042 "fxjs/include/fxjse.h", |
| 1043 ] |
| 1044 }], |
| 1045 ], |
| 1046 }, |
| 1047 ] |
| 1048 }], |
1014 ['pdf_enable_xfa==1', { | 1049 ['pdf_enable_xfa==1', { |
1015 'targets': [ | 1050 'targets': [ |
1016 { | 1051 { |
1017 'target_name': 'fpdfxfa', | 1052 'target_name': 'fpdfxfa', |
1018 'type': 'static_library', | 1053 'type': 'static_library', |
1019 'dependencies': [ | 1054 'dependencies': [ |
| 1055 'fxjs', |
1020 'javascript', | 1056 'javascript', |
1021 'xfa.gyp:xfa', | 1057 'xfa.gyp:xfa', |
1022 ], | 1058 ], |
1023 'sources': [ | 1059 'sources': [ |
1024 'fpdfsdk/fpdfxfa/fpdfxfa_app.cpp', | 1060 'fpdfsdk/fpdfxfa/fpdfxfa_app.cpp', |
1025 'fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp', | 1061 'fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp', |
1026 'fpdfsdk/fpdfxfa/fpdfxfa_page.cpp', | 1062 'fpdfsdk/fpdfxfa/fpdfxfa_page.cpp', |
1027 'fpdfsdk/fpdfxfa/fpdfxfa_util.cpp', | 1063 'fpdfsdk/fpdfxfa/fpdfxfa_util.cpp', |
1028 'fpdfsdk/fpdfxfa/include/fpdfxfa_app.h', | 1064 'fpdfsdk/fpdfxfa/include/fpdfxfa_app.h', |
1029 'fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h', | 1065 'fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h', |
1030 'fpdfsdk/fpdfxfa/include/fpdfxfa_page.h', | 1066 'fpdfsdk/fpdfxfa/include/fpdfxfa_page.h', |
1031 'fpdfsdk/fpdfxfa/include/fpdfxfa_util.h', | 1067 'fpdfsdk/fpdfxfa/include/fpdfxfa_util.h', |
1032 ], | 1068 ], |
1033 }, | 1069 }, |
1034 ] | 1070 ] |
1035 }], | 1071 }], |
1036 ] | 1072 ] |
1037 } | 1073 } |
OLD | NEW |