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 8assert(pdf_enable_xfa) 9 10source_set("fwl") { 11 sources = [ 12 "cfwl_app.cpp", 13 "cfwl_app.h", 14 "cfwl_barcode.cpp", 15 "cfwl_barcode.h", 16 "cfwl_caret.cpp", 17 "cfwl_caret.h", 18 "cfwl_checkbox.cpp", 19 "cfwl_checkbox.h", 20 "cfwl_combobox.cpp", 21 "cfwl_combobox.h", 22 "cfwl_comboedit.cpp", 23 "cfwl_comboedit.h", 24 "cfwl_combolist.cpp", 25 "cfwl_combolist.h", 26 "cfwl_datetimeedit.cpp", 27 "cfwl_datetimeedit.h", 28 "cfwl_datetimepicker.cpp", 29 "cfwl_datetimepicker.h", 30 "cfwl_edit.cpp", 31 "cfwl_edit.h", 32 "cfwl_event.cpp", 33 "cfwl_event.h", 34 "cfwl_eventmouse.cpp", 35 "cfwl_eventmouse.h", 36 "cfwl_eventscroll.cpp", 37 "cfwl_eventscroll.h", 38 "cfwl_eventselectchanged.cpp", 39 "cfwl_eventselectchanged.h", 40 "cfwl_eventtextwillchange.cpp", 41 "cfwl_eventtextwillchange.h", 42 "cfwl_eventvalidate.cpp", 43 "cfwl_eventvalidate.h", 44 "cfwl_listbox.cpp", 45 "cfwl_listbox.h", 46 "cfwl_message.cpp", 47 "cfwl_message.h", 48 "cfwl_messagekey.cpp", 49 "cfwl_messagekey.h", 50 "cfwl_messagekillfocus.cpp", 51 "cfwl_messagekillfocus.h", 52 "cfwl_messagemouse.cpp", 53 "cfwl_messagemouse.h", 54 "cfwl_messagemousewheel.cpp", 55 "cfwl_messagemousewheel.h", 56 "cfwl_messagesetfocus.cpp", 57 "cfwl_messagesetfocus.h", 58 "cfwl_monthcalendar.cpp", 59 "cfwl_monthcalendar.h", 60 "cfwl_notedriver.cpp", 61 "cfwl_notedriver.h", 62 "cfwl_picturebox.cpp", 63 "cfwl_picturebox.h", 64 "cfwl_pushbutton.cpp", 65 "cfwl_pushbutton.h", 66 "cfwl_scrollbar.cpp", 67 "cfwl_scrollbar.h", 68 "cfwl_themebackground.cpp", 69 "cfwl_themebackground.h", 70 "cfwl_themepart.cpp", 71 "cfwl_themepart.h", 72 "cfwl_themetext.cpp", 73 "cfwl_themetext.h", 74 "cfwl_widget.cpp", 75 "cfwl_widget.h", 76 "cfwl_widgetmgr.cpp", 77 "cfwl_widgetmgr.h", 78 "fwl_widgetdef.h", 79 "fwl_widgethit.h", 80 "ifwl_themeprovider.cpp", 81 "ifwl_themeprovider.h", 82 "ifwl_widgetdelegate.h", 83 "theme/cfwl_barcodetp.cpp", 84 "theme/cfwl_barcodetp.h", 85 "theme/cfwl_carettp.cpp", 86 "theme/cfwl_carettp.h", 87 "theme/cfwl_checkboxtp.cpp", 88 "theme/cfwl_checkboxtp.h", 89 "theme/cfwl_comboboxtp.cpp", 90 "theme/cfwl_comboboxtp.h", 91 "theme/cfwl_datetimepickertp.cpp", 92 "theme/cfwl_datetimepickertp.h", 93 "theme/cfwl_edittp.cpp", 94 "theme/cfwl_edittp.h", 95 "theme/cfwl_listboxtp.cpp", 96 "theme/cfwl_listboxtp.h", 97 "theme/cfwl_monthcalendartp.cpp", 98 "theme/cfwl_monthcalendartp.h", 99 "theme/cfwl_pictureboxtp.cpp", 100 "theme/cfwl_pictureboxtp.h", 101 "theme/cfwl_pushbuttontp.cpp", 102 "theme/cfwl_pushbuttontp.h", 103 "theme/cfwl_scrollbartp.cpp", 104 "theme/cfwl_scrollbartp.h", 105 "theme/cfwl_utils.h", 106 "theme/cfwl_widgettp.cpp", 107 "theme/cfwl_widgettp.h", 108 ] 109 configs += [ 110 "../../:pdfium_strict_config", 111 "../../:pdfium_noshorten_config", 112 "../:xfa_warnings", 113 ] 114 deps = [ 115 "../../core/fxcrt", 116 "../../core/fxge", 117 "../../fxbarcode", 118 "../../fxjs:gc", 119 "../fde", 120 "../fgas/font", 121 "../fgas/graphics", 122 ] 123 visibility = [ "../../*" ] 124} 125 126pdfium_embeddertest_source_set("embeddertests") { 127 sources = [ "cfwl_edit_embeddertest.cpp" ] 128 deps = [ 129 ":fwl", 130 "../../core/fxge", 131 "../../fxjs:gc", 132 ] 133 pdfium_root_dir = "../../" 134} 135