xref: /aosp_15_r20/external/pdfium/fpdfsdk/formfiller/BUILD.gn (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1# Copyright 2018 The PDFium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("../../pdfium.gni")
6import("../../testing/test.gni")
7
8source_set("formfiller") {
9  sources = [
10    "cffl_button.cpp",
11    "cffl_button.h",
12    "cffl_checkbox.cpp",
13    "cffl_checkbox.h",
14    "cffl_combobox.cpp",
15    "cffl_combobox.h",
16    "cffl_fieldaction.cpp",
17    "cffl_fieldaction.h",
18    "cffl_formfield.cpp",
19    "cffl_formfield.h",
20    "cffl_interactiveformfiller.cpp",
21    "cffl_interactiveformfiller.h",
22    "cffl_listbox.cpp",
23    "cffl_listbox.h",
24    "cffl_perwindowdata.cpp",
25    "cffl_perwindowdata.h",
26    "cffl_pushbutton.cpp",
27    "cffl_pushbutton.h",
28    "cffl_radiobutton.cpp",
29    "cffl_radiobutton.h",
30    "cffl_textfield.cpp",
31    "cffl_textfield.h",
32    "cffl_textobject.cpp",
33    "cffl_textobject.h",
34  ]
35  configs += [
36    "../../:pdfium_strict_config",
37    "../../:pdfium_noshorten_config",
38  ]
39  deps = [
40    "../../:pdfium_public_headers",
41    "../../constants",
42    "../../core/fpdfapi/page",
43    "../../core/fpdfdoc",
44    "../../core/fxcrt",
45    "../../core/fxge",
46    "../pwl",
47  ]
48  visibility = [ "../../*" ]
49}
50
51pdfium_embeddertest_source_set("embeddertests") {
52  sources = [ "cffl_combobox_embeddertest.cpp" ]
53  deps = [
54    ":formfiller",
55    "../pwl:embedder_test_support",
56  ]
57  pdfium_root_dir = "../../"
58}
59