1# Copyright 2018 The PDFium Authors. All rights reserved. 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_eventtarget.cpp", 41 "cfwl_eventtarget.h", 42 "cfwl_eventtextwillchange.cpp", 43 "cfwl_eventtextwillchange.h", 44 "cfwl_eventvalidate.cpp", 45 "cfwl_eventvalidate.h", 46 "cfwl_listbox.cpp", 47 "cfwl_listbox.h", 48 "cfwl_listitem.cpp", 49 "cfwl_listitem.h", 50 "cfwl_message.cpp", 51 "cfwl_message.h", 52 "cfwl_messagekey.cpp", 53 "cfwl_messagekey.h", 54 "cfwl_messagekillfocus.cpp", 55 "cfwl_messagekillfocus.h", 56 "cfwl_messagemouse.cpp", 57 "cfwl_messagemouse.h", 58 "cfwl_messagemousewheel.cpp", 59 "cfwl_messagemousewheel.h", 60 "cfwl_messagesetfocus.cpp", 61 "cfwl_messagesetfocus.h", 62 "cfwl_monthcalendar.cpp", 63 "cfwl_monthcalendar.h", 64 "cfwl_notedriver.cpp", 65 "cfwl_notedriver.h", 66 "cfwl_picturebox.cpp", 67 "cfwl_picturebox.h", 68 "cfwl_pushbutton.cpp", 69 "cfwl_pushbutton.h", 70 "cfwl_scrollbar.cpp", 71 "cfwl_scrollbar.h", 72 "cfwl_themebackground.h", 73 "cfwl_themepart.cpp", 74 "cfwl_themepart.h", 75 "cfwl_themetext.h", 76 "cfwl_widget.cpp", 77 "cfwl_widget.h", 78 "cfwl_widgetmgr.cpp", 79 "cfwl_widgetmgr.h", 80 "cfwl_widgetproperties.cpp", 81 "cfwl_widgetproperties.h", 82 "fwl_widgetdef.h", 83 "fwl_widgethit.h", 84 "ifwl_themeprovider.h", 85 "ifwl_widgetdelegate.h", 86 "theme/cfwl_barcodetp.cpp", 87 "theme/cfwl_barcodetp.h", 88 "theme/cfwl_carettp.cpp", 89 "theme/cfwl_carettp.h", 90 "theme/cfwl_checkboxtp.cpp", 91 "theme/cfwl_checkboxtp.h", 92 "theme/cfwl_comboboxtp.cpp", 93 "theme/cfwl_comboboxtp.h", 94 "theme/cfwl_datetimepickertp.cpp", 95 "theme/cfwl_datetimepickertp.h", 96 "theme/cfwl_edittp.cpp", 97 "theme/cfwl_edittp.h", 98 "theme/cfwl_listboxtp.cpp", 99 "theme/cfwl_listboxtp.h", 100 "theme/cfwl_monthcalendartp.cpp", 101 "theme/cfwl_monthcalendartp.h", 102 "theme/cfwl_pictureboxtp.cpp", 103 "theme/cfwl_pictureboxtp.h", 104 "theme/cfwl_pushbuttontp.cpp", 105 "theme/cfwl_pushbuttontp.h", 106 "theme/cfwl_scrollbartp.cpp", 107 "theme/cfwl_scrollbartp.h", 108 "theme/cfwl_utils.h", 109 "theme/cfwl_widgettp.cpp", 110 "theme/cfwl_widgettp.h", 111 ] 112 deps = [ 113 "../../core/fxcrt", 114 "../../core/fxge", 115 "../../fxbarcode", 116 "../fde", 117 "../fgas", 118 "../fxgraphics", 119 ] 120 configs += [ 121 "../../:pdfium_core_config", 122 "../:xfa_warnings", 123 ] 124 visibility = [ "../../*" ] 125} 126 127pdfium_embeddertest_source_set("embeddertests") { 128 sources = [ "cfwl_edit_embeddertest.cpp" ] 129 pdfium_root_dir = "../../" 130} 131