Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: chrome/common/bzip2_unittest.cc

Issue 165016: Linux: add GYP flag to build with system libbz2. (Closed)
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/bzip2_unittest.cc
diff --git a/chrome/common/bzip2_unittest.cc b/chrome/common/bzip2_unittest.cc
index 49fa8092ea5c016e386fd2bcd45bb3bc5a18d128..0f142051bff888280279709c1a82925661148559 100644
--- a/chrome/common/bzip2_unittest.cc
+++ b/chrome/common/bzip2_unittest.cc
@@ -2,9 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#if defined(USE_SYSTEM_LIBBZ2)
+#include <bzlib.h>
+#else
+#include "third_party/bzip2/bzlib.h"
+#endif
+
#include "base/basictypes.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "third_party/bzip2/bzlib.h"
namespace {
class Bzip2Test : public testing::Test {

Powered by Google App Engine
This is Rietveld 408576698