| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium 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 import("//build_overrides/v8.gni") | 5 import("//build_overrides/v8.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 import("pdfium.gni") | 7 import("pdfium.gni") |
| 8 | 8 |
| 9 config("pdfium_common_config") { | 9 config("pdfium_common_config") { |
| 10 cflags = [] | 10 cflags = [] |
| (...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 861 "fpdfsdk/formfiller/cffl_pushbutton.h", | 861 "fpdfsdk/formfiller/cffl_pushbutton.h", |
| 862 "fpdfsdk/formfiller/cffl_radiobutton.cpp", | 862 "fpdfsdk/formfiller/cffl_radiobutton.cpp", |
| 863 "fpdfsdk/formfiller/cffl_radiobutton.h", | 863 "fpdfsdk/formfiller/cffl_radiobutton.h", |
| 864 "fpdfsdk/formfiller/cffl_textfield.cpp", | 864 "fpdfsdk/formfiller/cffl_textfield.cpp", |
| 865 "fpdfsdk/formfiller/cffl_textfield.h", | 865 "fpdfsdk/formfiller/cffl_textfield.h", |
| 866 ] | 866 ] |
| 867 configs += [ ":pdfium_core_config" ] | 867 configs += [ ":pdfium_core_config" ] |
| 868 } | 868 } |
| 869 | 869 |
| 870 if (pdf_enable_xfa) { | 870 if (pdf_enable_xfa) { |
| 871 static_library("fxjs") { |
| 872 sources = [ |
| 873 "fxjs/cfxjse_arguments.cpp", |
| 874 "fxjs/cfxjse_class.cpp", |
| 875 "fxjs/cfxjse_context.cpp", |
| 876 "fxjs/cfxjse_isolatetracker.cpp", |
| 877 "fxjs/cfxjse_isolatetracker.h", |
| 878 "fxjs/cfxjse_runtimedata.cpp", |
| 879 "fxjs/cfxjse_runtimedata.h", |
| 880 "fxjs/cfxjse_value.cpp", |
| 881 "fxjs/include/cfxjse_arguments.h", |
| 882 "fxjs/include/cfxjse_class.h", |
| 883 "fxjs/include/cfxjse_context.h", |
| 884 "fxjs/include/cfxjse_value.h", |
| 885 "fxjs/include/fxjse.h", |
| 886 ] |
| 887 deps = [ |
| 888 "//v8:v8_libplatform", |
| 889 ] |
| 890 configs += [ ":pdfium_core_config" ] |
| 891 include_dirs = [ |
| 892 "//v8", |
| 893 "//v8/include", |
| 894 ] |
| 895 public_deps = [ |
| 896 "//v8", |
| 897 ] |
| 898 } |
| 899 |
| 871 static_library("fpdfxfa") { | 900 static_library("fpdfxfa") { |
| 872 sources = [ | 901 sources = [ |
| 873 "fpdfsdk/fpdfxfa/fpdfxfa_app.cpp", | 902 "fpdfsdk/fpdfxfa/fpdfxfa_app.cpp", |
| 874 "fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp", | 903 "fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp", |
| 875 "fpdfsdk/fpdfxfa/fpdfxfa_page.cpp", | 904 "fpdfsdk/fpdfxfa/fpdfxfa_page.cpp", |
| 876 "fpdfsdk/fpdfxfa/fpdfxfa_util.cpp", | 905 "fpdfsdk/fpdfxfa/fpdfxfa_util.cpp", |
| 877 "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h", | 906 "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h", |
| 878 "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h", | 907 "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h", |
| 879 "fpdfsdk/fpdfxfa/include/fpdfxfa_page.h", | 908 "fpdfsdk/fpdfxfa/include/fpdfxfa_page.h", |
| 880 "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h", | 909 "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h", |
| 881 ] | 910 ] |
| 882 deps = [ | 911 deps = [ |
| 883 ":xfa", | 912 ":xfa", |
| 884 ] | 913 ] |
| 885 configs += [ ":pdfium_core_config" ] | 914 configs += [ ":pdfium_core_config" ] |
| 886 } | 915 } |
| 887 | 916 |
| 888 static_library("xfa") { | 917 static_library("xfa") { |
| 889 sources = [ | 918 sources = [ |
| 890 "fxjs/cfxjse_arguments.cpp", | |
| 891 "fxjs/cfxjse_class.cpp", | |
| 892 "fxjs/cfxjse_context.cpp", | |
| 893 "fxjs/cfxjse_isolatetracker.cpp", | |
| 894 "fxjs/cfxjse_isolatetracker.h", | |
| 895 "fxjs/cfxjse_runtimedata.cpp", | |
| 896 "fxjs/cfxjse_runtimedata.h", | |
| 897 "fxjs/cfxjse_value.cpp", | |
| 898 "fxjs/include/cfxjse_arguments.h", | |
| 899 "fxjs/include/cfxjse_class.h", | |
| 900 "fxjs/include/cfxjse_context.h", | |
| 901 "fxjs/include/cfxjse_value.h", | |
| 902 "fxjs/include/fxjse.h", | |
| 903 "xfa/fde/cfde_path.cpp", | 919 "xfa/fde/cfde_path.cpp", |
| 904 "xfa/fde/cfde_path.h", | 920 "xfa/fde/cfde_path.h", |
| 905 "xfa/fde/cfde_txtedtbuf.cpp", | 921 "xfa/fde/cfde_txtedtbuf.cpp", |
| 906 "xfa/fde/cfde_txtedtbuf.h", | 922 "xfa/fde/cfde_txtedtbuf.h", |
| 907 "xfa/fde/cfde_txtedtbufiter.cpp", | 923 "xfa/fde/cfde_txtedtbufiter.cpp", |
| 908 "xfa/fde/cfde_txtedtbufiter.h", | 924 "xfa/fde/cfde_txtedtbufiter.h", |
| 909 "xfa/fde/cfde_txtedtdorecord_deleterange.cpp", | 925 "xfa/fde/cfde_txtedtdorecord_deleterange.cpp", |
| 910 "xfa/fde/cfde_txtedtdorecord_deleterange.h", | 926 "xfa/fde/cfde_txtedtdorecord_deleterange.h", |
| 911 "xfa/fde/cfde_txtedtdorecord_insert.cpp", | 927 "xfa/fde/cfde_txtedtdorecord_insert.cpp", |
| 912 "xfa/fde/cfde_txtedtdorecord_insert.h", | 928 "xfa/fde/cfde_txtedtdorecord_insert.h", |
| (...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1433 "xfa/fxgraphics/cfx_path_generator.cpp", | 1449 "xfa/fxgraphics/cfx_path_generator.cpp", |
| 1434 "xfa/fxgraphics/cfx_path_generator.h", | 1450 "xfa/fxgraphics/cfx_path_generator.h", |
| 1435 "xfa/fxgraphics/cfx_pattern.cpp", | 1451 "xfa/fxgraphics/cfx_pattern.cpp", |
| 1436 "xfa/fxgraphics/cfx_pattern.h", | 1452 "xfa/fxgraphics/cfx_pattern.h", |
| 1437 "xfa/fxgraphics/cfx_shading.cpp", | 1453 "xfa/fxgraphics/cfx_shading.cpp", |
| 1438 "xfa/fxgraphics/cfx_shading.h", | 1454 "xfa/fxgraphics/cfx_shading.h", |
| 1439 "xfa/fxgraphics/include/cfx_graphics.h", | 1455 "xfa/fxgraphics/include/cfx_graphics.h", |
| 1440 ] | 1456 ] |
| 1441 include_dirs = [ | 1457 include_dirs = [ |
| 1442 ".", | 1458 ".", |
| 1443 "//v8", | |
| 1444 "//v8/include", | |
| 1445 ] | |
| 1446 public_deps = [ | |
| 1447 "//v8", | |
| 1448 ] | 1459 ] |
| 1449 deps = [ | 1460 deps = [ |
| 1450 "//v8:v8_libplatform", | 1461 ":fxjs", |
| 1451 ] | 1462 ] |
| 1452 configs += [ | 1463 configs += [ |
| 1453 ":pdfium_core_config", | 1464 ":pdfium_core_config", |
| 1454 ":xfa_warnings", | 1465 ":xfa_warnings", |
| 1455 ] | 1466 ] |
| 1456 } | 1467 } |
| 1457 } | 1468 } |
| 1458 | 1469 |
| 1459 test("pdfium_unittests") { | 1470 test("pdfium_unittests") { |
| 1460 sources = [ | 1471 sources = [ |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1574 } | 1585 } |
| 1575 | 1586 |
| 1576 if (pdf_is_standalone) { | 1587 if (pdf_is_standalone) { |
| 1577 source_set("samples") { | 1588 source_set("samples") { |
| 1578 testonly = true | 1589 testonly = true |
| 1579 deps = [ | 1590 deps = [ |
| 1580 "//samples", | 1591 "//samples", |
| 1581 ] | 1592 ] |
| 1582 } | 1593 } |
| 1583 } | 1594 } |
| OLD | NEW |