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 992 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1003 configs += [ ":pdfium_core_config" ] | 1003 configs += [ ":pdfium_core_config" ] |
1004 deps = [ | 1004 deps = [ |
1005 ":fxcrt", | 1005 ":fxcrt", |
1006 ] | 1006 ] |
1007 } | 1007 } |
1008 | 1008 |
1009 if (pdf_enable_v8) { | 1009 if (pdf_enable_v8) { |
1010 static_library("fxjs") { | 1010 static_library("fxjs") { |
1011 sources = [ | 1011 sources = [ |
1012 "fxjs/fxjs_v8.cpp", | 1012 "fxjs/fxjs_v8.cpp", |
1013 "fxjs/include/fxjs_v8.h", | 1013 "fxjs/fxjs_v8.h", |
1014 ] | 1014 ] |
1015 configs += [ ":pdfium_core_config" ] | 1015 configs += [ ":pdfium_core_config" ] |
1016 deps = [ | 1016 deps = [ |
1017 ":fxcrt", | 1017 ":fxcrt", |
1018 "//v8", | 1018 "//v8", |
1019 "//v8:v8_libplatform", | 1019 "//v8:v8_libplatform", |
1020 ] | 1020 ] |
1021 include_dirs = [ | 1021 include_dirs = [ |
1022 "//v8", | 1022 "//v8", |
1023 "//v8/include", | 1023 "//v8/include", |
1024 ] | 1024 ] |
1025 public_deps = [ | 1025 public_deps = [ |
1026 "//v8", | 1026 "//v8", |
1027 ] | 1027 ] |
1028 | 1028 |
1029 if (pdf_enable_xfa) { | 1029 if (pdf_enable_xfa) { |
1030 sources += [ | 1030 sources += [ |
1031 "fxjs/cfxjse_arguments.cpp", | 1031 "fxjs/cfxjse_arguments.cpp", |
| 1032 "fxjs/cfxjse_arguments.h", |
1032 "fxjs/cfxjse_class.cpp", | 1033 "fxjs/cfxjse_class.cpp", |
| 1034 "fxjs/cfxjse_class.h", |
1033 "fxjs/cfxjse_context.cpp", | 1035 "fxjs/cfxjse_context.cpp", |
| 1036 "fxjs/cfxjse_context.h", |
1034 "fxjs/cfxjse_isolatetracker.cpp", | 1037 "fxjs/cfxjse_isolatetracker.cpp", |
1035 "fxjs/cfxjse_isolatetracker.h", | 1038 "fxjs/cfxjse_isolatetracker.h", |
1036 "fxjs/cfxjse_runtimedata.cpp", | 1039 "fxjs/cfxjse_runtimedata.cpp", |
1037 "fxjs/cfxjse_runtimedata.h", | 1040 "fxjs/cfxjse_runtimedata.h", |
1038 "fxjs/cfxjse_value.cpp", | 1041 "fxjs/cfxjse_value.cpp", |
1039 "fxjs/include/cfxjse_arguments.h", | 1042 "fxjs/cfxjse_value.h", |
1040 "fxjs/include/cfxjse_class.h", | 1043 "fxjs/fxjse.h", |
1041 "fxjs/include/cfxjse_context.h", | |
1042 "fxjs/include/cfxjse_value.h", | |
1043 "fxjs/include/fxjse.h", | |
1044 ] | 1044 ] |
1045 } | 1045 } |
1046 } | 1046 } |
1047 } | 1047 } |
1048 | 1048 |
1049 if (pdf_enable_xfa) { | 1049 if (pdf_enable_xfa) { |
1050 static_library("fpdfxfa") { | 1050 static_library("fpdfxfa") { |
1051 sources = [ | 1051 sources = [ |
1052 "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp", | 1052 "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp", |
1053 "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h", | 1053 "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h", |
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1756 } | 1756 } |
1757 | 1757 |
1758 if (pdf_is_standalone) { | 1758 if (pdf_is_standalone) { |
1759 source_set("samples") { | 1759 source_set("samples") { |
1760 testonly = true | 1760 testonly = true |
1761 deps = [ | 1761 deps = [ |
1762 "//samples", | 1762 "//samples", |
1763 ] | 1763 ] |
1764 } | 1764 } |
1765 } | 1765 } |
OLD | NEW |