diff options
Diffstat (limited to 'chromium/third_party/webrtc/base/gunit_prod.h')
-rw-r--r-- | chromium/third_party/webrtc/base/gunit_prod.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/chromium/third_party/webrtc/base/gunit_prod.h b/chromium/third_party/webrtc/base/gunit_prod.h new file mode 100644 index 00000000000..dc39bbd0eb8 --- /dev/null +++ b/chromium/third_party/webrtc/base/gunit_prod.h @@ -0,0 +1,24 @@ +/* + * Copyright 2012 The WebRTC Project Authors. All rights reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. An additional intellectual property rights grant can be found + * in the file PATENTS. All contributing project authors may + * be found in the AUTHORS file in the root of the source tree. + */ + +#ifndef WEBRTC_BASE_GUNIT_PROD_H_ +#define WEBRTC_BASE_GUNIT_PROD_H_ + +#if defined(WEBRTC_ANDROID) +// Android doesn't use gtest at all, so anything that relies on gtest should +// check this define first. +#define NO_GTEST +#elif defined (GTEST_RELATIVE_PATH) +#include "gtest/gtest_prod.h" +#else +#include "testing/base/gunit_prod.h" +#endif + +#endif // WEBRTC_BASE_GUNIT_PROD_H_ |