Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(473)

Unified Diff: BUILD.gn

Issue 1799773002: Move fpdfsdk/src up to fpdfsdk/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | core/include/fpdfapi/fpdf_render.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 4116132034e11acc2fe212dcf5d4543514dc903b..590d1fdcd624a82b35e4c98a2d9e741b1ad0402c 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -73,31 +73,31 @@ config("pdfium_config") {
static_library("pdfium") {
sources = [
+ "fpdfsdk/fpdf_dataavail.cpp",
+ "fpdfsdk/fpdf_ext.cpp",
+ "fpdfsdk/fpdf_flatten.cpp",
+ "fpdfsdk/fpdf_progressive.cpp",
+ "fpdfsdk/fpdf_searchex.cpp",
+ "fpdfsdk/fpdf_sysfontinfo.cpp",
+ "fpdfsdk/fpdf_transformpage.cpp",
+ "fpdfsdk/fpdfdoc.cpp",
+ "fpdfsdk/fpdfeditimg.cpp",
+ "fpdfsdk/fpdfeditpage.cpp",
+ "fpdfsdk/fpdfformfill.cpp",
+ "fpdfsdk/fpdfppo.cpp",
+ "fpdfsdk/fpdfsave.cpp",
+ "fpdfsdk/fpdftext.cpp",
+ "fpdfsdk/fpdfview.cpp",
+ "fpdfsdk/fsdk_actionhandler.cpp",
+ "fpdfsdk/fsdk_annothandler.cpp",
+ "fpdfsdk/fsdk_baseannot.cpp",
+ "fpdfsdk/fsdk_baseform.cpp",
+ "fpdfsdk/fsdk_mgr.cpp",
+ "fpdfsdk/fsdk_rendercontext.cpp",
"fpdfsdk/include/fsdk_actionhandler.h",
"fpdfsdk/include/fsdk_annothandler.h",
"fpdfsdk/include/fsdk_baseannot.h",
"fpdfsdk/include/fsdk_baseform.h",
- "fpdfsdk/src/fpdf_dataavail.cpp",
- "fpdfsdk/src/fpdf_ext.cpp",
- "fpdfsdk/src/fpdf_flatten.cpp",
- "fpdfsdk/src/fpdf_progressive.cpp",
- "fpdfsdk/src/fpdf_searchex.cpp",
- "fpdfsdk/src/fpdf_sysfontinfo.cpp",
- "fpdfsdk/src/fpdf_transformpage.cpp",
- "fpdfsdk/src/fpdfdoc.cpp",
- "fpdfsdk/src/fpdfeditimg.cpp",
- "fpdfsdk/src/fpdfeditpage.cpp",
- "fpdfsdk/src/fpdfformfill.cpp",
- "fpdfsdk/src/fpdfppo.cpp",
- "fpdfsdk/src/fpdfsave.cpp",
- "fpdfsdk/src/fpdftext.cpp",
- "fpdfsdk/src/fpdfview.cpp",
- "fpdfsdk/src/fsdk_actionhandler.cpp",
- "fpdfsdk/src/fsdk_annothandler.cpp",
- "fpdfsdk/src/fsdk_baseannot.cpp",
- "fpdfsdk/src/fsdk_baseform.cpp",
- "fpdfsdk/src/fsdk_mgr.cpp",
- "fpdfsdk/src/fsdk_rendercontext.cpp",
"public/fpdf_dataavail.h",
"public/fpdf_doc.h",
"public/fpdf_edit.h",
@@ -639,14 +639,14 @@ static_library("fxge") {
static_library("fxedit") {
sources = [
+ "fpdfsdk/fxedit/fxet_ap.cpp",
+ "fpdfsdk/fxedit/fxet_edit.cpp",
+ "fpdfsdk/fxedit/fxet_list.cpp",
+ "fpdfsdk/fxedit/fxet_module.cpp",
+ "fpdfsdk/fxedit/fxet_pageobjs.cpp",
"fpdfsdk/include/fxedit/fx_edit.h",
"fpdfsdk/include/fxedit/fxet_edit.h",
"fpdfsdk/include/fxedit/fxet_list.h",
- "fpdfsdk/src/fxedit/fxet_ap.cpp",
- "fpdfsdk/src/fxedit/fxet_edit.cpp",
- "fpdfsdk/src/fxedit/fxet_list.cpp",
- "fpdfsdk/src/fxedit/fxet_module.cpp",
- "fpdfsdk/src/fxedit/fxet_pageobjs.cpp",
]
configs += [ ":pdfium_config" ]
}
@@ -670,23 +670,23 @@ static_library("pdfwindow") {
"fpdfsdk/include/pdfwindow/PWL_SpecialButton.h",
"fpdfsdk/include/pdfwindow/PWL_Utils.h",
"fpdfsdk/include/pdfwindow/PWL_Wnd.h",
- "fpdfsdk/src/pdfwindow/PWL_Button.cpp",
- "fpdfsdk/src/pdfwindow/PWL_Caret.cpp",
- "fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp",
- "fpdfsdk/src/pdfwindow/PWL_Edit.cpp",
- "fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp",
- "fpdfsdk/src/pdfwindow/PWL_FontMap.cpp",
- "fpdfsdk/src/pdfwindow/PWL_Icon.cpp",
- "fpdfsdk/src/pdfwindow/PWL_IconList.cpp",
- "fpdfsdk/src/pdfwindow/PWL_Label.cpp",
- "fpdfsdk/src/pdfwindow/PWL_ListBox.cpp",
- "fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp",
- "fpdfsdk/src/pdfwindow/PWL_Note.cpp",
- "fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp",
- "fpdfsdk/src/pdfwindow/PWL_Signature.cpp",
- "fpdfsdk/src/pdfwindow/PWL_SpecialButton.cpp",
- "fpdfsdk/src/pdfwindow/PWL_Utils.cpp",
- "fpdfsdk/src/pdfwindow/PWL_Wnd.cpp",
+ "fpdfsdk/pdfwindow/PWL_Button.cpp",
+ "fpdfsdk/pdfwindow/PWL_Caret.cpp",
+ "fpdfsdk/pdfwindow/PWL_ComboBox.cpp",
+ "fpdfsdk/pdfwindow/PWL_Edit.cpp",
+ "fpdfsdk/pdfwindow/PWL_EditCtrl.cpp",
+ "fpdfsdk/pdfwindow/PWL_FontMap.cpp",
+ "fpdfsdk/pdfwindow/PWL_Icon.cpp",
+ "fpdfsdk/pdfwindow/PWL_IconList.cpp",
+ "fpdfsdk/pdfwindow/PWL_Label.cpp",
+ "fpdfsdk/pdfwindow/PWL_ListBox.cpp",
+ "fpdfsdk/pdfwindow/PWL_ListCtrl.cpp",
+ "fpdfsdk/pdfwindow/PWL_Note.cpp",
+ "fpdfsdk/pdfwindow/PWL_ScrollBar.cpp",
+ "fpdfsdk/pdfwindow/PWL_Signature.cpp",
+ "fpdfsdk/pdfwindow/PWL_SpecialButton.cpp",
+ "fpdfsdk/pdfwindow/PWL_Utils.cpp",
+ "fpdfsdk/pdfwindow/PWL_Wnd.cpp",
]
configs += [ ":pdfium_config" ]
}
@@ -698,46 +698,46 @@ static_library("javascript") {
if (pdf_enable_v8) {
sources += [
"fpdfsdk/include/jsapi/fxjs_v8.h",
- "fpdfsdk/src/javascript/Consts.cpp",
- "fpdfsdk/src/javascript/Consts.h",
- "fpdfsdk/src/javascript/Document.cpp",
- "fpdfsdk/src/javascript/Document.h",
- "fpdfsdk/src/javascript/Field.cpp",
- "fpdfsdk/src/javascript/Field.h",
- "fpdfsdk/src/javascript/Icon.cpp",
- "fpdfsdk/src/javascript/Icon.h",
- "fpdfsdk/src/javascript/JS_Context.cpp",
- "fpdfsdk/src/javascript/JS_Context.h",
- "fpdfsdk/src/javascript/JS_Define.h",
- "fpdfsdk/src/javascript/JS_EventHandler.cpp",
- "fpdfsdk/src/javascript/JS_EventHandler.h",
- "fpdfsdk/src/javascript/JS_GlobalData.cpp",
- "fpdfsdk/src/javascript/JS_GlobalData.h",
- "fpdfsdk/src/javascript/JS_Object.cpp",
- "fpdfsdk/src/javascript/JS_Object.h",
- "fpdfsdk/src/javascript/JS_Runtime.cpp",
- "fpdfsdk/src/javascript/JS_Runtime.h",
- "fpdfsdk/src/javascript/JS_Value.cpp",
- "fpdfsdk/src/javascript/JS_Value.h",
- "fpdfsdk/src/javascript/PublicMethods.cpp",
- "fpdfsdk/src/javascript/PublicMethods.h",
- "fpdfsdk/src/javascript/app.cpp",
- "fpdfsdk/src/javascript/app.h",
- "fpdfsdk/src/javascript/color.cpp",
- "fpdfsdk/src/javascript/color.h",
- "fpdfsdk/src/javascript/console.cpp",
- "fpdfsdk/src/javascript/console.h",
- "fpdfsdk/src/javascript/event.cpp",
- "fpdfsdk/src/javascript/event.h",
- "fpdfsdk/src/javascript/global.cpp",
- "fpdfsdk/src/javascript/global.h",
- "fpdfsdk/src/javascript/report.cpp",
- "fpdfsdk/src/javascript/report.h",
- "fpdfsdk/src/javascript/resource.cpp",
- "fpdfsdk/src/javascript/resource.h",
- "fpdfsdk/src/javascript/util.cpp",
- "fpdfsdk/src/javascript/util.h",
- "fpdfsdk/src/jsapi/fxjs_v8.cpp",
+ "fpdfsdk/javascript/Consts.cpp",
+ "fpdfsdk/javascript/Consts.h",
+ "fpdfsdk/javascript/Document.cpp",
+ "fpdfsdk/javascript/Document.h",
+ "fpdfsdk/javascript/Field.cpp",
+ "fpdfsdk/javascript/Field.h",
+ "fpdfsdk/javascript/Icon.cpp",
+ "fpdfsdk/javascript/Icon.h",
+ "fpdfsdk/javascript/JS_Context.cpp",
+ "fpdfsdk/javascript/JS_Context.h",
+ "fpdfsdk/javascript/JS_Define.h",
+ "fpdfsdk/javascript/JS_EventHandler.cpp",
+ "fpdfsdk/javascript/JS_EventHandler.h",
+ "fpdfsdk/javascript/JS_GlobalData.cpp",
+ "fpdfsdk/javascript/JS_GlobalData.h",
+ "fpdfsdk/javascript/JS_Object.cpp",
+ "fpdfsdk/javascript/JS_Object.h",
+ "fpdfsdk/javascript/JS_Runtime.cpp",
+ "fpdfsdk/javascript/JS_Runtime.h",
+ "fpdfsdk/javascript/JS_Value.cpp",
+ "fpdfsdk/javascript/JS_Value.h",
+ "fpdfsdk/javascript/PublicMethods.cpp",
+ "fpdfsdk/javascript/PublicMethods.h",
+ "fpdfsdk/javascript/app.cpp",
+ "fpdfsdk/javascript/app.h",
+ "fpdfsdk/javascript/color.cpp",
+ "fpdfsdk/javascript/color.h",
+ "fpdfsdk/javascript/console.cpp",
+ "fpdfsdk/javascript/console.h",
+ "fpdfsdk/javascript/event.cpp",
+ "fpdfsdk/javascript/event.h",
+ "fpdfsdk/javascript/global.cpp",
+ "fpdfsdk/javascript/global.h",
+ "fpdfsdk/javascript/report.cpp",
+ "fpdfsdk/javascript/report.h",
+ "fpdfsdk/javascript/resource.cpp",
+ "fpdfsdk/javascript/resource.h",
+ "fpdfsdk/javascript/util.cpp",
+ "fpdfsdk/javascript/util.h",
+ "fpdfsdk/jsapi/fxjs_v8.cpp",
]
include_dirs = [
"//v8",
@@ -748,13 +748,22 @@ static_library("javascript") {
]
configs += [ "//v8:external_startup_data" ]
} else {
- sources += [ "fpdfsdk/src/javascript/JS_Runtime_Stub.cpp" ]
+ sources += [ "fpdfsdk/javascript/JS_Runtime_Stub.cpp" ]
}
configs += [ ":pdfium_config" ]
}
static_library("formfiller") {
sources = [
+ "fpdfsdk/formfiller/FFL_CBA_Fontmap.cpp",
+ "fpdfsdk/formfiller/FFL_CheckBox.cpp",
+ "fpdfsdk/formfiller/FFL_ComboBox.cpp",
+ "fpdfsdk/formfiller/FFL_FormFiller.cpp",
+ "fpdfsdk/formfiller/FFL_IFormFiller.cpp",
+ "fpdfsdk/formfiller/FFL_ListBox.cpp",
+ "fpdfsdk/formfiller/FFL_PushButton.cpp",
+ "fpdfsdk/formfiller/FFL_RadioButton.cpp",
+ "fpdfsdk/formfiller/FFL_TextField.cpp",
"fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h",
"fpdfsdk/include/formfiller/FFL_CheckBox.h",
"fpdfsdk/include/formfiller/FFL_ComboBox.h",
@@ -764,15 +773,6 @@ static_library("formfiller") {
"fpdfsdk/include/formfiller/FFL_PushButton.h",
"fpdfsdk/include/formfiller/FFL_RadioButton.h",
"fpdfsdk/include/formfiller/FFL_TextField.h",
- "fpdfsdk/src/formfiller/FFL_CBA_Fontmap.cpp",
- "fpdfsdk/src/formfiller/FFL_CheckBox.cpp",
- "fpdfsdk/src/formfiller/FFL_ComboBox.cpp",
- "fpdfsdk/src/formfiller/FFL_FormFiller.cpp",
- "fpdfsdk/src/formfiller/FFL_IFormFiller.cpp",
- "fpdfsdk/src/formfiller/FFL_ListBox.cpp",
- "fpdfsdk/src/formfiller/FFL_PushButton.cpp",
- "fpdfsdk/src/formfiller/FFL_RadioButton.cpp",
- "fpdfsdk/src/formfiller/FFL_TextField.cpp",
]
configs += [ ":pdfium_config" ]
}
@@ -780,14 +780,14 @@ static_library("formfiller") {
if (pdf_enable_xfa) {
static_library("fpdfxfa") {
sources = [
+ "fpdfsdk/fpdfxfa/fpdfxfa_app.cpp",
+ "fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp",
+ "fpdfsdk/fpdfxfa/fpdfxfa_page.cpp",
+ "fpdfsdk/fpdfxfa/fpdfxfa_util.cpp",
"fpdfsdk/include/fpdfxfa/fpdfxfa_app.h",
"fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h",
"fpdfsdk/include/fpdfxfa/fpdfxfa_page.h",
"fpdfsdk/include/fpdfxfa/fpdfxfa_util.h",
- "fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp",
- "fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp",
- "fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp",
- "fpdfsdk/src/fpdfxfa/fpdfxfa_util.cpp",
]
deps = [
":xfa",
@@ -1463,7 +1463,7 @@ test("pdfium_unittests") {
"core/fxcrt/fx_bidi_unittest.cpp",
"core/fxcrt/fx_extension_unittest.cpp",
"core/fxcrt/fx_system_unittest.cpp",
- "fpdfsdk/src/fpdfdoc_unittest.cpp",
+ "fpdfsdk/fpdfdoc_unittest.cpp",
]
deps = [
":pdfium",
@@ -1487,17 +1487,17 @@ test("pdfium_embeddertests") {
"core/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp",
"core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp",
"core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp",
- "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp",
- "fpdfsdk/src/fpdfdoc_embeddertest.cpp",
- "fpdfsdk/src/fpdfedit_embeddertest.cpp",
- "fpdfsdk/src/fpdfext_embeddertest.cpp",
- "fpdfsdk/src/fpdfformfill_embeddertest.cpp",
- "fpdfsdk/src/fpdfsave_embeddertest.cpp",
- "fpdfsdk/src/fpdftext_embeddertest.cpp",
- "fpdfsdk/src/fpdfview_c_api_test.c",
- "fpdfsdk/src/fpdfview_c_api_test.h",
- "fpdfsdk/src/fpdfview_embeddertest.cpp",
- "fpdfsdk/src/fsdk_baseform_embeddertest.cpp",
+ "fpdfsdk/fpdf_dataavail_embeddertest.cpp",
+ "fpdfsdk/fpdfdoc_embeddertest.cpp",
+ "fpdfsdk/fpdfedit_embeddertest.cpp",
+ "fpdfsdk/fpdfext_embeddertest.cpp",
+ "fpdfsdk/fpdfformfill_embeddertest.cpp",
+ "fpdfsdk/fpdfsave_embeddertest.cpp",
+ "fpdfsdk/fpdftext_embeddertest.cpp",
+ "fpdfsdk/fpdfview_c_api_test.c",
+ "fpdfsdk/fpdfview_c_api_test.h",
+ "fpdfsdk/fpdfview_embeddertest.cpp",
+ "fpdfsdk/fsdk_baseform_embeddertest.cpp",
"testing/embedder_test.cpp",
"testing/embedder_test.h",
"testing/embedder_test_mock_delegate.h",
@@ -1513,8 +1513,8 @@ test("pdfium_embeddertests") {
include_dirs = []
if (pdf_enable_v8) {
sources += [
- "fpdfsdk/src/javascript/public_methods_embeddertest.cpp",
- "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp",
+ "fpdfsdk/javascript/public_methods_embeddertest.cpp",
+ "fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp",
"testing/js_embedder_test.cpp",
"testing/js_embedder_test.h",
]
« no previous file with comments | « no previous file | core/include/fpdfapi/fpdf_render.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698