Bug 1656141 - Remove dav1d.rc. r=achronop

RCFILE is only actually used when the moz.build that contains it defines
a binary, which is not the case for dav1d, which ends up in gkmedias.dll.
Which also means that moving the definition to gkmedias would also not
make sense, since all dav1d.rc does is add descriptors to the dll that it
contains dav1d and what version, but gkmedias.dll contains other things
too.

Differential Revision: https://phabricator.services.mozilla.com/D86152
This commit is contained in:
Mike Hommey 2020-08-06 20:51:37 +00:00
parent afec638391
commit 3c6fc9c9e1
3 changed files with 0 additions and 40 deletions

View File

@ -31,13 +31,6 @@ The rough steps are:
to media/libdav1d/vcs_version.h
- Copy version.h from local build/include/dav1d/version.h to
media/libdav1d/version.h
- Update dav1d.rc:
- update the API_VERSION_NUMBER, API_VERSION_NUMBER_STR, defines to
match the 'dav1d_soname_version' field in
third_party/dav1d/meson.build.
- update the PROJECT_VERSION_NUMBER, PROJECT_VERSION_NUMBER_STR
defines to match the new project versions from the git tag (or from
the project version found in third_party/dav1d/meson.build).
- Add new options, if any, in moz.build or config.h
Tips:

View File

@ -1,32 +0,0 @@
#define API_VERSION_NUMBER 4,0,2,0
#define API_VERSION_NUMBER_STR "4.0.2"
#define PROJECT_VERSION_NUMBER 0,7,1,0
#define PROJECT_VERSION_NUMBER_STR "0.7.1"
#include <windows.h>
1 VERSIONINFO
FILETYPE VFT_DLL
FILEOS VOS_NT_WINDOWS32
PRODUCTVERSION PROJECT_VERSION_NUMBER
FILEVERSION API_VERSION_NUMBER
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", "VideoLAN"
VALUE "ProductName", "dav1d"
VALUE "ProductVersion", PROJECT_VERSION_NUMBER_STR
VALUE "FileVersion", API_VERSION_NUMBER_STR
VALUE "FileDescription", "dav1d " PROJECT_VERSION_NUMBER_STR " - AV1 decoder"
VALUE "InternalName", "dav1d"
VALUE "OriginalFilename", "libdav1d.dll"
VALUE "LegalCopyright", "Copyright \251 @COPYRIGHT_YEARS@ VideoLAN and dav1d Authors"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END

View File

@ -197,7 +197,6 @@ EXPORTS.dav1d += [
]
if CONFIG['OS_TARGET'] == 'WINNT':
RCFILE = 'dav1d.rc'
SOURCES += [
'../../third_party/dav1d/src/win32/thread.c'
]