From 13dc2cff2adc00ed8fa9674e946102a79773d587 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 26 Oct 2015 18:35:33 -0700 Subject: Delete unused fpdfsdkdll.rc and resource.h. BUG=pdfium:241 R=brucedawson@chromium.org Review URL: https://codereview.chromium.org/1422193002 . (cherry picked from commit 24b2eab6351920dd60210b6dcd350c9921e7b3b5) Review URL: https://codereview.chromium.org/1421343004 . --- BUILD.gn | 2 - fpdfsdk/src/fpdfsdkdll.rc | 109 ---------------------------------------------- fpdfsdk/src/resource.h | 25 ----------- pdfium.gyp | 7 --- 4 files changed, 143 deletions(-) delete mode 100644 fpdfsdk/src/fpdfsdkdll.rc delete mode 100644 fpdfsdk/src/resource.h diff --git a/BUILD.gn b/BUILD.gn index d1353c477d..5657296bc9 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -68,7 +68,6 @@ static_library("pdfium") { "fpdfsdk/src/fpdfformfill.cpp", "fpdfsdk/src/fpdfppo.cpp", "fpdfsdk/src/fpdfsave.cpp", - "fpdfsdk/src/fpdfsdkdll.rc", "fpdfsdk/src/fpdftext.cpp", "fpdfsdk/src/fpdfview.cpp", "fpdfsdk/src/fsdk_actionhandler.cpp", @@ -77,7 +76,6 @@ static_library("pdfium") { "fpdfsdk/src/fsdk_baseform.cpp", "fpdfsdk/src/fsdk_mgr.cpp", "fpdfsdk/src/fsdk_rendercontext.cpp", - "fpdfsdk/src/resource.h", "public/fpdf_dataavail.h", "public/fpdf_doc.h", "public/fpdf_edit.h", diff --git a/fpdfsdk/src/fpdfsdkdll.rc b/fpdfsdk/src/fpdfsdkdll.rc deleted file mode 100644 index fb5ddb8f7f..0000000000 --- a/fpdfsdk/src/fpdfsdkdll.rc +++ /dev/null @@ -1,109 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "windows.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Chinese (P.R.C.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS) -#ifdef _WIN32 -LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED -#pragma code_page(936) -#endif //_WIN32 - -#ifndef _MAC -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,0,0,1705 - PRODUCTVERSION 2,0,0,1705 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x40004L - FILETYPE 0x2L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "080904b0" - BEGIN - VALUE "Comments", "Foxit Corporation\0" - VALUE "CompanyName", "Foxit Corporation\0" - VALUE "FileDescription", "fpdfsdk\0" - VALUE "FileVersion", "2, 0, 0, 1705\0" - VALUE "InternalName", "fpdfsdk\0" - VALUE "LegalCopyright", "Copyright (C) 2004-2009 Foxit Corporation\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", "fpdfsdk.dll\0" - VALUE "PrivateBuild", "\0" - VALUE "ProductName", "Foxit PDF SDK DLL\0" - VALUE "ProductVersion", "2, 0, 0, 1705\0" - VALUE "SpecialBuild", "\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x809, 1200 - END -END - -#endif // !_MAC - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE MOVEABLE PURE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE MOVEABLE PURE -BEGIN - "#include ""windows.h""\r\n" - "\0" -END - -3 TEXTINCLUDE MOVEABLE PURE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Chinese (P.R.C.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/fpdfsdk/src/resource.h b/fpdfsdk/src/resource.h deleted file mode 100644 index a30a4ef45f..0000000000 --- a/fpdfsdk/src/resource.h +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2014 PDFium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com - -#ifndef FPDFSDK_SRC_RESOURCE_H_ -#define FPDFSDK_SRC_RESOURCE_H_ - -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by fpdfsdkdll.rc -// -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 104 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif - -#endif // FPDFSDK_SRC_RESOURCE_H_ diff --git a/pdfium.gyp b/pdfium.gyp index fdfc68e9a0..b101096439 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -97,8 +97,6 @@ 'fpdfsdk/src/fsdk_baseform.cpp', 'fpdfsdk/src/fsdk_mgr.cpp', 'fpdfsdk/src/fsdk_rendercontext.cpp', - 'fpdfsdk/src/fpdfsdkdll.rc', - 'fpdfsdk/src/resource.h', 'public/fpdf_dataavail.h', 'public/fpdf_doc.h', 'public/fpdf_edit.h', @@ -116,11 +114,6 @@ 'public/fpdfview.h', ], 'conditions': [ - ['OS!="win"', { - 'sources!': [ - 'fpdfsdk/src/fpdfsdkdll.rc', - ], - }], ['bundle_freetype==1', { 'dependencies': [ 'third_party/third_party.gyp:freetype', -- cgit v1.2.3