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

Unified Diff: fpdfsdk/include/fsdk_define.h

Issue 801913002: Simplify PDFium by removing code that's not used in the open source repo. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years 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
Index: fpdfsdk/include/fsdk_define.h
diff --git a/fpdfsdk/include/fsdk_define.h b/fpdfsdk/include/fsdk_define.h
index d249f0887fb307189b42e8a966101f4c61a6bea4..7a4067e5c418458e5ed84450cf2a662a067382b6 100644
--- a/fpdfsdk/include/fsdk_define.h
+++ b/fpdfsdk/include/fsdk_define.h
@@ -12,59 +12,25 @@
#include <math.h>
#endif
-//#define API5
-#define API6
-#define _FPDFAPI_ASYNC_PARSING_
-#define _FXSDK_OPENSOURCE_
-
-#ifdef _FPDFEMB_WCE_
- #include "../../core/include/fpdfapi/fpdfapi.h"
- #include "../../core/include/fpdfapi/fpdf_parser.h"
- #include "../../core/include/fpdfapi/fpdf_module.h"
- #include "../../core/include/fpdfapi/fpdf_render.h"
- #include "../../core/include/fpdfapi/fpdf_pageobj.h"
- #include "../../core/include/fpdfapi/fpdf_serial.h"
-
- #include "../../core/include/fpdftext/fpdf_text.h"
-
- #include "../../core/include/fxge/fx_ge_win32.h"
- #include "../../core/include/fxge/fx_ge.h"
-
- #include "../../core/include/fxcodec/fx_codec.h"
-
- #include "../../core/include/fpdfdoc/fpdf_doc.h"
- #include "../../core/include/fpdfdoc/fpdf_vt.h"
-
- #include "../../core/include/fxcrt/fx_xml.h"
- #include "../../core/include/fxcrt/fx_crypt.h"
-
-#else
- #ifdef API6
- #include "../../core/include/fpdfapi/fpdf_parser.h"
- #include "../../core/include/fpdfapi/fpdfapi.h"
- #include "../../core/include/fpdfapi/fpdf_parser.h"
- #include "../../core/include/fpdfapi/fpdf_module.h"
- #include "../../core/include/fpdfapi/fpdf_render.h"
- #include "../../core/include/fpdfapi/fpdf_pageobj.h"
- #include "../../core/include/fpdfapi/fpdf_serial.h"
-
- #include "../../core/include/fpdftext/fpdf_text.h"
-
- #include "../../core/include/fxge/fx_ge_win32.h"
- #include "../../core/include/fxge/fx_ge.h"
-
- #include "../../core/include/fxcodec/fx_codec.h"
-
- #include "../../core/include/fpdfdoc/fpdf_doc.h"
- #include "../../core/include/fpdfdoc/fpdf_vt.h"
-
- #include "../../core/include/fxcrt/fx_xml.h"
- // #include "../../core/include/fdrm/fx_crypt.h"
- #ifdef _LICENSED_BUILD_
- #include "../../cryptopp/Cryptlib.h"
- #endif
- #endif
-#endif
+#include "../../core/include/fpdfapi/fpdf_parser.h"
+#include "../../core/include/fpdfapi/fpdfapi.h"
+#include "../../core/include/fpdfapi/fpdf_parser.h"
+#include "../../core/include/fpdfapi/fpdf_module.h"
+#include "../../core/include/fpdfapi/fpdf_render.h"
+#include "../../core/include/fpdfapi/fpdf_pageobj.h"
+#include "../../core/include/fpdfapi/fpdf_serial.h"
+
+#include "../../core/include/fpdftext/fpdf_text.h"
+
+#include "../../core/include/fxge/fx_ge_win32.h"
+#include "../../core/include/fxge/fx_ge.h"
+
+#include "../../core/include/fxcodec/fx_codec.h"
+
+#include "../../core/include/fpdfdoc/fpdf_doc.h"
+#include "../../core/include/fpdfdoc/fpdf_vt.h"
+
+#include "../../core/include/fxcrt/fx_xml.h"
#ifndef FX_GetAValue

Powered by Google App Engine
This is Rietveld 408576698