Fixes common_unittests build.

Original CL: https://breakpad.appspot.com/5704002/
A=gunsch@chromium.org
R=gunsch@chromium.org

Review URL: https://breakpad.appspot.com/8674002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1378 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
thestig@chromium.org 2014-09-17 22:09:21 +00:00
parent 85cc448052
commit 18b1418b25
3 changed files with 13 additions and 0 deletions

View File

@ -235,6 +235,9 @@
'../build/testing.gypi:gmock', '../build/testing.gypi:gmock',
'../build/testing.gypi:gtest', '../build/testing.gypi:gtest',
], ],
'libraries': [
'-ldl',
],
}, },
], ],
} }

View File

@ -28,6 +28,9 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifndef COMMON_LINUX_GOOGLE_CRASHDUMP_UPLOADER_H_
#define COMMON_LINUX_GOOGLE_CRASHDUMP_UPLOADER_H_
#include <string> #include <string>
#include <map> #include <map>
@ -98,3 +101,5 @@ class GoogleCrashdumpUploader {
std::map<string, string> parameters_; std::map<string, string> parameters_;
}; };
} }
#endif // COMMON_LINUX_GOOGLE_CRASHDUMP_UPLOADER_H_

View File

@ -30,6 +30,9 @@
// A wrapper for libcurl to do HTTP Uploads, to support easy mocking // A wrapper for libcurl to do HTTP Uploads, to support easy mocking
// and unit testing of the HTTPUpload class. // and unit testing of the HTTPUpload class.
#ifndef COMMON_LINUX_LIBCURL_WRAPPER_H_
#define COMMON_LINUX_LIBCURL_WRAPPER_H_
#include <string> #include <string>
#include <map> #include <map>
@ -83,3 +86,5 @@ class LibcurlWrapper {
}; };
} }
#endif // COMMON_LINUX_LIBCURL_WRAPPER_H_