import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo

This commit is contained in:
Roy Tam 2018-01-19 03:59:58 +08:00
commit dcd9973243
150858 changed files with 23884658 additions and 0 deletions

View file

@ -0,0 +1,9 @@
// Copyright (c) 2015 Google Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <windows.h>
BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) {
return TRUE;
}

View file

@ -0,0 +1,10 @@
// Copyright (c) 2012 Google Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
__declspec(dllexport) void some_function() {
}
int main() {
return 0;
}

View file

@ -0,0 +1,9 @@
// Copyright (c) 2012 Google Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
__declspec(dllimport) void some_function();
int main() {
some_function();
}

View file

@ -0,0 +1,30 @@
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'test_importlib',
'type': 'shared_library',
'msvs_settings': {
'VCLinkerTool': {
'LinkIncremental': '2',
}
},
'sources': ['has-exports.cc'],
},
{
'target_name': 'test_linkagainst',
'type': 'executable',
'dependencies': ['test_importlib'],
'msvs_settings': {
'VCLinkerTool': {
'LinkIncremental': '2',
}
},
'sources': ['hello.cc'],
},
]
}

View file

@ -0,0 +1,16 @@
# Copyright (c) 2015 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'no_import_library',
'type': 'loadable_module',
'msvs_settings': {
'NoImportLibrary': 'true',
},
'sources': ['dll_no_exports.cc'],
},
]
}