| Index: third_party/WebKit/Source/wtf/Dummy.cpp
|
| diff --git a/third_party/WebKit/Source/wtf/Dummy.cpp b/third_party/WebKit/Source/wtf/Dummy.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8bf499740c5a35acaf9a10531bb9486b0a843691
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/wtf/Dummy.cpp
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// Now that all .cpp files are gone for target "wtf". However, this seems to
|
| +// trigger a compile error on Mac. This file gives an empty object file and
|
| +// should make Xcode's libtool happy...
|
| +
|
| +// And also, MSVC seems to fail to build a .lib file for wtf.dll if there is
|
| +// no symbol to export.
|
| +
|
| +#include "wtf/build_config.h"
|
| +
|
| +#if OS(WIN)
|
| +
|
| +namespace WTF {
|
| +
|
| +__declspec(dllexport) int dummyExportedValueToForceMSVCToGenerateLibFile;
|
| +
|
| +}
|
| +
|
| +#endif
|
|
|