From acaf3a1b131e049000552c53c8cbfe737e2d8f58 Mon Sep 17 00:00:00 2001 From: "pbos@webrtc.org" Date: Mon, 27 May 2013 15:07:45 +0000 Subject: Include files from webrtc/.. paths in system_wrappers/ BUG=1662 R=henrikg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1550004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4111 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/system_wrappers/interface/aligned_malloc.h | 2 +- webrtc/system_wrappers/interface/atomic32.h | 4 ++-- webrtc/system_wrappers/interface/cpu_info.h | 2 +- webrtc/system_wrappers/interface/data_log_c.h | 2 +- webrtc/system_wrappers/interface/ref_count.h | 2 +- webrtc/system_wrappers/interface/tick_util.h | 2 +- webrtc/system_wrappers/source/aligned_malloc.cc | 4 ++-- webrtc/system_wrappers/source/aligned_malloc_unittest.cc | 6 +++--- webrtc/system_wrappers/source/android/cpu-features.c | 7 ++++--- webrtc/system_wrappers/source/atomic32_mac.cc | 4 ++-- webrtc/system_wrappers/source/atomic32_posix.cc | 4 ++-- webrtc/system_wrappers/source/atomic32_win.cc | 6 +++--- webrtc/system_wrappers/source/clock.cc | 1 + webrtc/system_wrappers/source/condition_variable_posix.cc | 4 ++-- webrtc/system_wrappers/source/condition_variable_posix.h | 2 +- webrtc/system_wrappers/source/condition_variable_unittest.cc | 12 ++++++------ webrtc/system_wrappers/source/cpu_features.cc | 4 ++-- webrtc/system_wrappers/source/cpu_features_android.c | 2 +- webrtc/system_wrappers/source/cpu_info.cc | 4 ++-- webrtc/system_wrappers/source/critical_section_unittest.cc | 2 +- webrtc/system_wrappers/source/critical_section_win.h | 4 ++-- webrtc/system_wrappers/source/data_log.cc | 1 + webrtc/system_wrappers/source/data_log_helpers_unittest.cc | 2 +- webrtc/system_wrappers/source/data_log_unittest.cc | 2 +- webrtc/system_wrappers/source/data_log_unittest_disabled.cc | 2 +- webrtc/system_wrappers/source/event_tracer_unittest.cc | 2 +- webrtc/system_wrappers/source/list_unittest.cc | 2 +- webrtc/system_wrappers/source/logging.cc | 1 + webrtc/system_wrappers/source/logging_unittest.cc | 2 +- webrtc/system_wrappers/source/map_unittest.cc | 2 +- webrtc/system_wrappers/source/sleep.cc | 2 +- webrtc/system_wrappers/source/sort.cc | 3 ++- webrtc/system_wrappers/source/spreadsortlib/spreadsort.hpp | 4 ++-- webrtc/system_wrappers/source/thread_posix.cc | 6 +++--- webrtc/system_wrappers/source/thread_posix_unittest.cc | 2 +- webrtc/system_wrappers/source/thread_unittest.cc | 2 +- webrtc/system_wrappers/source/unittest_utilities.h | 2 +- webrtc/system_wrappers/source/unittest_utilities_unittest.cc | 6 +++--- webrtc/system_wrappers/test/TestSort/TestSort.cc | 6 +++--- webrtc/system_wrappers/test/list/list.cc | 2 +- webrtc/system_wrappers/test/map/map.cc | 2 +- 41 files changed, 69 insertions(+), 64 deletions(-) diff --git a/webrtc/system_wrappers/interface/aligned_malloc.h b/webrtc/system_wrappers/interface/aligned_malloc.h index 662acabdf5..6409999e8f 100644 --- a/webrtc/system_wrappers/interface/aligned_malloc.h +++ b/webrtc/system_wrappers/interface/aligned_malloc.h @@ -19,7 +19,7 @@ #include -#include "system_wrappers/interface/scoped_ptr.h" +#include "webrtc/system_wrappers/interface/scoped_ptr.h" namespace webrtc { diff --git a/webrtc/system_wrappers/interface/atomic32.h b/webrtc/system_wrappers/interface/atomic32.h index 97eca295d0..9a28d41790 100644 --- a/webrtc/system_wrappers/interface/atomic32.h +++ b/webrtc/system_wrappers/interface/atomic32.h @@ -18,8 +18,8 @@ #include -#include "common_types.h" -#include "constructor_magic.h" +#include "webrtc/common_types.h" +#include "webrtc/system_wrappers/interface/constructor_magic.h" namespace webrtc { diff --git a/webrtc/system_wrappers/interface/cpu_info.h b/webrtc/system_wrappers/interface/cpu_info.h index cf1025f860..708642725e 100644 --- a/webrtc/system_wrappers/interface/cpu_info.h +++ b/webrtc/system_wrappers/interface/cpu_info.h @@ -11,7 +11,7 @@ #ifndef WEBRTC_SYSTEM_WRAPPERS_INTERFACE_CPU_INFO_H_ #define WEBRTC_SYSTEM_WRAPPERS_INTERFACE_CPU_INFO_H_ -#include "typedefs.h" +#include "webrtc/typedefs.h" namespace webrtc { diff --git a/webrtc/system_wrappers/interface/data_log_c.h b/webrtc/system_wrappers/interface/data_log_c.h index 557e2cdab3..4ff8329c85 100644 --- a/webrtc/system_wrappers/interface/data_log_c.h +++ b/webrtc/system_wrappers/interface/data_log_c.h @@ -17,7 +17,7 @@ #include // size_t -#include "webrtc/typedefs.h" // NOLINT(build/include) +#include "webrtc/typedefs.h" #ifdef __cplusplus extern "C" { diff --git a/webrtc/system_wrappers/interface/ref_count.h b/webrtc/system_wrappers/interface/ref_count.h index 5112bd9037..68616662e9 100644 --- a/webrtc/system_wrappers/interface/ref_count.h +++ b/webrtc/system_wrappers/interface/ref_count.h @@ -11,7 +11,7 @@ #ifndef SYSTEM_WRAPPERS_INTERFACE_REF_COUNT_H_ #define SYSTEM_WRAPPERS_INTERFACE_REF_COUNT_H_ -#include "system_wrappers/interface/atomic32.h" +#include "webrtc/system_wrappers/interface/atomic32.h" namespace webrtc { diff --git a/webrtc/system_wrappers/interface/tick_util.h b/webrtc/system_wrappers/interface/tick_util.h index 38d95f5c2d..c742c712a5 100644 --- a/webrtc/system_wrappers/interface/tick_util.h +++ b/webrtc/system_wrappers/interface/tick_util.h @@ -15,7 +15,7 @@ #define WEBRTC_SYSTEM_WRAPPERS_INTERFACE_TICK_UTIL_H_ #if _WIN32 -// Note: These includes must be in this order since mmsystem depends on windows. +// Note: The Windows header must always be included before mmsystem.h #include #include #elif WEBRTC_LINUX diff --git a/webrtc/system_wrappers/source/aligned_malloc.cc b/webrtc/system_wrappers/source/aligned_malloc.cc index c2f8f707ec..258b6be92c 100644 --- a/webrtc/system_wrappers/source/aligned_malloc.cc +++ b/webrtc/system_wrappers/source/aligned_malloc.cc @@ -8,7 +8,7 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "aligned_malloc.h" +#include "webrtc/system_wrappers/interface/aligned_malloc.h" #include #include @@ -19,7 +19,7 @@ #include #endif -#include "typedefs.h" +#include "webrtc/typedefs.h" // Reference on memory alignment: // http://stackoverflow.com/questions/227897/solve-the-memory-alignment-in-c-interview-question-that-stumped-me diff --git a/webrtc/system_wrappers/source/aligned_malloc_unittest.cc b/webrtc/system_wrappers/source/aligned_malloc_unittest.cc index 42e13c5422..10e08aae7b 100644 --- a/webrtc/system_wrappers/source/aligned_malloc_unittest.cc +++ b/webrtc/system_wrappers/source/aligned_malloc_unittest.cc @@ -8,7 +8,7 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "system_wrappers/interface/aligned_malloc.h" +#include "webrtc/system_wrappers/interface/aligned_malloc.h" #if _WIN32 #include @@ -16,9 +16,9 @@ #include #endif -#include "typedefs.h" // NOLINT +#include "webrtc/typedefs.h" -#include "gtest/gtest.h" +#include "testing/gtest/include/gtest/gtest.h" // Returns true if |size| and |alignment| are valid combinations. bool CorrectUsage(size_t size, size_t alignment) { diff --git a/webrtc/system_wrappers/source/android/cpu-features.c b/webrtc/system_wrappers/source/android/cpu-features.c index 6a5cd8f1aa..efe7b95d6a 100644 --- a/webrtc/system_wrappers/source/android/cpu-features.c +++ b/webrtc/system_wrappers/source/android/cpu-features.c @@ -12,12 +12,13 @@ #ifdef __arm__ #include #endif +#include +#include #include -#include "cpu-features.h" #include #include -#include -#include + +#include "webrtc/system_wrappers/source/android/cpu-features.h" static pthread_once_t g_once; static AndroidCpuFamily g_cpuFamily; diff --git a/webrtc/system_wrappers/source/atomic32_mac.cc b/webrtc/system_wrappers/source/atomic32_mac.cc index 9c350581fa..f03c1fbb90 100644 --- a/webrtc/system_wrappers/source/atomic32_mac.cc +++ b/webrtc/system_wrappers/source/atomic32_mac.cc @@ -8,13 +8,13 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "atomic32.h" +#include "webrtc/system_wrappers/interface/atomic32.h" #include #include #include -#include "common_types.h" +#include "webrtc/common_types.h" namespace webrtc { diff --git a/webrtc/system_wrappers/source/atomic32_posix.cc b/webrtc/system_wrappers/source/atomic32_posix.cc index ebfe19fe54..38f36e0997 100644 --- a/webrtc/system_wrappers/source/atomic32_posix.cc +++ b/webrtc/system_wrappers/source/atomic32_posix.cc @@ -8,13 +8,13 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "atomic32.h" +#include "webrtc/system_wrappers/interface/atomic32.h" #include #include #include -#include "common_types.h" +#include "webrtc/common_types.h" namespace webrtc { diff --git a/webrtc/system_wrappers/source/atomic32_win.cc b/webrtc/system_wrappers/source/atomic32_win.cc index dd61035003..2f0cf1828d 100644 --- a/webrtc/system_wrappers/source/atomic32_win.cc +++ b/webrtc/system_wrappers/source/atomic32_win.cc @@ -8,13 +8,13 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "atomic32.h" +#include "webrtc/system_wrappers/interface/atomic32.h" #include #include -#include "common_types.h" -#include "compile_assert.h" +#include "webrtc/common_types.h" +#include "webrtc/system_wrappers/interface/compile_assert.h" namespace webrtc { diff --git a/webrtc/system_wrappers/source/clock.cc b/webrtc/system_wrappers/source/clock.cc index 9b017b8213..c74c7471d1 100644 --- a/webrtc/system_wrappers/source/clock.cc +++ b/webrtc/system_wrappers/source/clock.cc @@ -11,6 +11,7 @@ #include "webrtc/system_wrappers/interface/clock.h" #if defined(_WIN32) +// Windows needs to be included before mmsystem.h #include #include #include diff --git a/webrtc/system_wrappers/source/condition_variable_posix.cc b/webrtc/system_wrappers/source/condition_variable_posix.cc index a5df728ba6..41e80234ca 100644 --- a/webrtc/system_wrappers/source/condition_variable_posix.cc +++ b/webrtc/system_wrappers/source/condition_variable_posix.cc @@ -8,7 +8,7 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "condition_variable_posix.h" +#include "webrtc/system_wrappers/source/condition_variable_posix.h" #include #if defined(WEBRTC_LINUX) @@ -17,7 +17,7 @@ #include #endif -#include "critical_section_posix.h" +#include "webrtc/system_wrappers/source/critical_section_posix.h" namespace webrtc { diff --git a/webrtc/system_wrappers/source/condition_variable_posix.h b/webrtc/system_wrappers/source/condition_variable_posix.h index 07f7605c7d..53adcdbf0d 100644 --- a/webrtc/system_wrappers/source/condition_variable_posix.h +++ b/webrtc/system_wrappers/source/condition_variable_posix.h @@ -13,7 +13,7 @@ #include -#include "condition_variable_wrapper.h" +#include "webrtc/system_wrappers/interface/condition_variable_wrapper.h" namespace webrtc { diff --git a/webrtc/system_wrappers/source/condition_variable_unittest.cc b/webrtc/system_wrappers/source/condition_variable_unittest.cc index 08491fe5f5..0d287b71b8 100644 --- a/webrtc/system_wrappers/source/condition_variable_unittest.cc +++ b/webrtc/system_wrappers/source/condition_variable_unittest.cc @@ -8,13 +8,13 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "system_wrappers/interface/condition_variable_wrapper.h" +#include "webrtc/system_wrappers/interface/condition_variable_wrapper.h" -#include "gtest/gtest.h" -#include "system_wrappers/interface/critical_section_wrapper.h" -#include "system_wrappers/interface/thread_wrapper.h" -#include "system_wrappers/interface/trace.h" -#include "system_wrappers/source/unittest_utilities.h" +#include "testing/gtest/include/gtest/gtest.h" +#include "webrtc/system_wrappers/interface/critical_section_wrapper.h" +#include "webrtc/system_wrappers/interface/thread_wrapper.h" +#include "webrtc/system_wrappers/interface/trace.h" +#include "webrtc/system_wrappers/source/unittest_utilities.h" namespace webrtc { diff --git a/webrtc/system_wrappers/source/cpu_features.cc b/webrtc/system_wrappers/source/cpu_features.cc index 61c136048b..b924d773a9 100644 --- a/webrtc/system_wrappers/source/cpu_features.cc +++ b/webrtc/system_wrappers/source/cpu_features.cc @@ -10,13 +10,13 @@ // Parts of this file derived from Chromium's base/cpu.cc. -#include "system_wrappers/interface/cpu_features_wrapper.h" +#include "webrtc/system_wrappers/interface/cpu_features_wrapper.h" #if defined(WEBRTC_ARCH_X86_FAMILY) && defined(_MSC_VER) #include #endif -#include "typedefs.h" +#include "webrtc/typedefs.h" // No CPU feature is available => straight C path. int GetCPUInfoNoASM(CPUFeature feature) { diff --git a/webrtc/system_wrappers/source/cpu_features_android.c b/webrtc/system_wrappers/source/cpu_features_android.c index 8f5e3ea46f..9b44d02846 100644 --- a/webrtc/system_wrappers/source/cpu_features_android.c +++ b/webrtc/system_wrappers/source/cpu_features_android.c @@ -11,7 +11,7 @@ #if defined(WEBRTC_CHROMIUM_BUILD) #include #else -#include "android/cpu-features.h" +#include "webrtc/system_wrappers/source/android/cpu-features.h" #endif // defined(WEBRTC_CHROMIUM_BUILD) uint64_t WebRtc_GetCPUFeaturesARM(void) { diff --git a/webrtc/system_wrappers/source/cpu_info.cc b/webrtc/system_wrappers/source/cpu_info.cc index d858ad54ca..54fb8d5430 100644 --- a/webrtc/system_wrappers/source/cpu_info.cc +++ b/webrtc/system_wrappers/source/cpu_info.cc @@ -18,11 +18,11 @@ #elif defined(WEBRTC_ANDROID) // Not implemented yet, might be possible to use Linux implementation #else // defined(WEBRTC_LINUX) -#include // required for get_nprocs() with uClibc #include +#include // required for get_nprocs() with uClibc #endif -#include "system_wrappers/interface/trace.h" +#include "webrtc/system_wrappers/interface/trace.h" namespace webrtc { diff --git a/webrtc/system_wrappers/source/critical_section_unittest.cc b/webrtc/system_wrappers/source/critical_section_unittest.cc index 1e4f66530f..40df570e9a 100644 --- a/webrtc/system_wrappers/source/critical_section_unittest.cc +++ b/webrtc/system_wrappers/source/critical_section_unittest.cc @@ -10,7 +10,7 @@ #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" -#include "gtest/gtest.h" +#include "testing/gtest/include/gtest/gtest.h" #include "webrtc/system_wrappers/interface/sleep.h" #include "webrtc/system_wrappers/interface/thread_wrapper.h" #include "webrtc/system_wrappers/interface/trace.h" diff --git a/webrtc/system_wrappers/source/critical_section_win.h b/webrtc/system_wrappers/source/critical_section_win.h index 760cc10f1e..be4dd74284 100644 --- a/webrtc/system_wrappers/source/critical_section_win.h +++ b/webrtc/system_wrappers/source/critical_section_win.h @@ -11,9 +11,9 @@ #ifndef WEBRTC_SYSTEM_WRAPPERS_SOURCE_CRITICAL_SECTION_WIN_H_ #define WEBRTC_SYSTEM_WRAPPERS_SOURCE_CRITICAL_SECTION_WIN_H_ -#include "webrtc/typedefs.h" -#include "webrtc/system_wrappers/interface/critical_section_wrapper.h" #include +#include "webrtc/system_wrappers/interface/critical_section_wrapper.h" +#include "webrtc/typedefs.h" namespace webrtc { diff --git a/webrtc/system_wrappers/source/data_log.cc b/webrtc/system_wrappers/source/data_log.cc index 9bf965004e..fc267aeb59 100644 --- a/webrtc/system_wrappers/source/data_log.cc +++ b/webrtc/system_wrappers/source/data_log.cc @@ -11,6 +11,7 @@ #include "webrtc/system_wrappers/interface/data_log.h" #include + #include #include diff --git a/webrtc/system_wrappers/source/data_log_helpers_unittest.cc b/webrtc/system_wrappers/source/data_log_helpers_unittest.cc index 3e430c9578..820d8cb4f3 100644 --- a/webrtc/system_wrappers/source/data_log_helpers_unittest.cc +++ b/webrtc/system_wrappers/source/data_log_helpers_unittest.cc @@ -12,7 +12,7 @@ #include -#include "gtest/gtest.h" +#include "testing/gtest/include/gtest/gtest.h" using ::webrtc::DataLog; diff --git a/webrtc/system_wrappers/source/data_log_unittest.cc b/webrtc/system_wrappers/source/data_log_unittest.cc index fd61e7921d..e36226992f 100644 --- a/webrtc/system_wrappers/source/data_log_unittest.cc +++ b/webrtc/system_wrappers/source/data_log_unittest.cc @@ -13,7 +13,7 @@ #include #include -#include "gtest/gtest.h" +#include "testing/gtest/include/gtest/gtest.h" #include "webrtc/system_wrappers/interface/data_log_c.h" #include "webrtc/system_wrappers/source/data_log_c_helpers_unittest.h" diff --git a/webrtc/system_wrappers/source/data_log_unittest_disabled.cc b/webrtc/system_wrappers/source/data_log_unittest_disabled.cc index 31d753e055..935f3d6c25 100644 --- a/webrtc/system_wrappers/source/data_log_unittest_disabled.cc +++ b/webrtc/system_wrappers/source/data_log_unittest_disabled.cc @@ -12,7 +12,7 @@ #include -#include "gtest/gtest.h" +#include "testing/gtest/include/gtest/gtest.h" using ::webrtc::DataLog; diff --git a/webrtc/system_wrappers/source/event_tracer_unittest.cc b/webrtc/system_wrappers/source/event_tracer_unittest.cc index b9a99efa82..643f67e444 100644 --- a/webrtc/system_wrappers/source/event_tracer_unittest.cc +++ b/webrtc/system_wrappers/source/event_tracer_unittest.cc @@ -10,7 +10,7 @@ #include "webrtc/system_wrappers/interface/event_tracer.h" -#include "gtest/gtest.h" +#include "testing/gtest/include/gtest/gtest.h" #include "webrtc/system_wrappers/interface/static_instance.h" #include "webrtc/system_wrappers/interface/trace_event.h" diff --git a/webrtc/system_wrappers/source/list_unittest.cc b/webrtc/system_wrappers/source/list_unittest.cc index 7985eab881..1e4f922a6b 100644 --- a/webrtc/system_wrappers/source/list_unittest.cc +++ b/webrtc/system_wrappers/source/list_unittest.cc @@ -10,7 +10,7 @@ #include "webrtc/system_wrappers/interface/list_wrapper.h" -#include "gtest/gtest.h" +#include "testing/gtest/include/gtest/gtest.h" #include "webrtc/system_wrappers/interface/scoped_ptr.h" using ::webrtc::ListWrapper; diff --git a/webrtc/system_wrappers/source/logging.cc b/webrtc/system_wrappers/source/logging.cc index 19c5cefa64..d168a3ce63 100644 --- a/webrtc/system_wrappers/source/logging.cc +++ b/webrtc/system_wrappers/source/logging.cc @@ -11,6 +11,7 @@ #include "webrtc/system_wrappers/interface/logging.h" #include + #include #include "webrtc/common_types.h" diff --git a/webrtc/system_wrappers/source/logging_unittest.cc b/webrtc/system_wrappers/source/logging_unittest.cc index de790a5422..ae92f0b961 100644 --- a/webrtc/system_wrappers/source/logging_unittest.cc +++ b/webrtc/system_wrappers/source/logging_unittest.cc @@ -10,7 +10,7 @@ #include "webrtc/system_wrappers/interface/logging.h" -#include "gtest/gtest.h" +#include "testing/gtest/include/gtest/gtest.h" #include "webrtc/system_wrappers/interface/condition_variable_wrapper.h" #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" #include "webrtc/system_wrappers/interface/scoped_ptr.h" diff --git a/webrtc/system_wrappers/source/map_unittest.cc b/webrtc/system_wrappers/source/map_unittest.cc index 6014458130..b82084d7c6 100644 --- a/webrtc/system_wrappers/source/map_unittest.cc +++ b/webrtc/system_wrappers/source/map_unittest.cc @@ -10,7 +10,7 @@ #include "webrtc/system_wrappers/interface/map_wrapper.h" -#include "gtest/gtest.h" +#include "testing/gtest/include/gtest/gtest.h" using ::webrtc::MapWrapper; using ::webrtc::MapItem; diff --git a/webrtc/system_wrappers/source/sleep.cc b/webrtc/system_wrappers/source/sleep.cc index be8523857c..a916477e37 100644 --- a/webrtc/system_wrappers/source/sleep.cc +++ b/webrtc/system_wrappers/source/sleep.cc @@ -9,7 +9,7 @@ */ // An OS-independent sleep function. -#include "system_wrappers/interface/sleep.h" +#include "webrtc/system_wrappers/interface/sleep.h" #ifdef _WIN32 // For Sleep() diff --git a/webrtc/system_wrappers/source/sort.cc b/webrtc/system_wrappers/source/sort.cc index 4aa181fd29..8c774bb2ad 100644 --- a/webrtc/system_wrappers/source/sort.cc +++ b/webrtc/system_wrappers/source/sort.cc @@ -25,7 +25,8 @@ #include // std::sort #include -#include "spreadsort.hpp" // TODO(ajm) upgrade to spreadsort v2. +// TODO(ajm) upgrade to spreadsort v2. +#include "webrtc/system_wrappers/source/spreadsortlib/spreadsort.hpp" #endif #ifdef NO_STL diff --git a/webrtc/system_wrappers/source/spreadsortlib/spreadsort.hpp b/webrtc/system_wrappers/source/spreadsortlib/spreadsort.hpp index 2d1529aacd..b934e3ebfb 100644 --- a/webrtc/system_wrappers/source/spreadsortlib/spreadsort.hpp +++ b/webrtc/system_wrappers/source/spreadsortlib/spreadsort.hpp @@ -17,9 +17,9 @@ Scott McMurray #ifndef BOOST_SPREAD_SORT_H #define BOOST_SPREAD_SORT_H #include -#include -#include "constants.hpp" #include +#include +#include "webrtc/system_wrappers/source/spreadsortlib/constants.hpp" namespace boost { namespace detail { diff --git a/webrtc/system_wrappers/source/thread_posix.cc b/webrtc/system_wrappers/source/thread_posix.cc index 204c77e7be..b1b445f63e 100644 --- a/webrtc/system_wrappers/source/thread_posix.cc +++ b/webrtc/system_wrappers/source/thread_posix.cc @@ -51,11 +51,11 @@ #include // strncpy #include #ifdef WEBRTC_LINUX -#include -#include -#include #include +#include #include +#include +#include #endif #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" diff --git a/webrtc/system_wrappers/source/thread_posix_unittest.cc b/webrtc/system_wrappers/source/thread_posix_unittest.cc index fadab57389..edfb14502e 100644 --- a/webrtc/system_wrappers/source/thread_posix_unittest.cc +++ b/webrtc/system_wrappers/source/thread_posix_unittest.cc @@ -10,7 +10,7 @@ #include "webrtc/system_wrappers/source/thread_posix.h" -#include "gtest/gtest.h" +#include "testing/gtest/include/gtest/gtest.h" TEST(ThreadTestPosix, PrioritySettings) { // API assumes that max_prio - min_prio > 2. Test the extreme case. diff --git a/webrtc/system_wrappers/source/thread_unittest.cc b/webrtc/system_wrappers/source/thread_unittest.cc index 60302d2bd5..25095e6599 100644 --- a/webrtc/system_wrappers/source/thread_unittest.cc +++ b/webrtc/system_wrappers/source/thread_unittest.cc @@ -10,7 +10,7 @@ #include "webrtc/system_wrappers/interface/thread_wrapper.h" -#include "gtest/gtest.h" +#include "testing/gtest/include/gtest/gtest.h" #include "webrtc/system_wrappers/interface/scoped_ptr.h" namespace webrtc { diff --git a/webrtc/system_wrappers/source/unittest_utilities.h b/webrtc/system_wrappers/source/unittest_utilities.h index 32eabfb813..c00dd04331 100644 --- a/webrtc/system_wrappers/source/unittest_utilities.h +++ b/webrtc/system_wrappers/source/unittest_utilities.h @@ -17,7 +17,7 @@ #include #include -#include "system_wrappers/interface/trace.h" +#include "webrtc/system_wrappers/interface/trace.h" namespace webrtc { diff --git a/webrtc/system_wrappers/source/unittest_utilities_unittest.cc b/webrtc/system_wrappers/source/unittest_utilities_unittest.cc index 6e9a0c6186..be6647b7a5 100644 --- a/webrtc/system_wrappers/source/unittest_utilities_unittest.cc +++ b/webrtc/system_wrappers/source/unittest_utilities_unittest.cc @@ -8,10 +8,10 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include "system_wrappers/source/unittest_utilities.h" +#include "webrtc/system_wrappers/source/unittest_utilities.h" -#include "gtest/gtest.h" -#include "system_wrappers/interface/trace.h" +#include "testing/gtest/include/gtest/gtest.h" +#include "webrtc/system_wrappers/interface/trace.h" namespace webrtc { diff --git a/webrtc/system_wrappers/test/TestSort/TestSort.cc b/webrtc/system_wrappers/test/TestSort/TestSort.cc index 6fa0cb5843..1a3c198ebf 100644 --- a/webrtc/system_wrappers/test/TestSort/TestSort.cc +++ b/webrtc/system_wrappers/test/TestSort/TestSort.cc @@ -8,12 +8,12 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include #include +#include #include -#include "sort.h" -#include "tick_util.h" +#include "webrtc/system_wrappers/interface/sort.h" +#include "webrtc/system_wrappers/interface/tick_util.h" // Excellent work polluting the global namespace Visual Studio... #undef max diff --git a/webrtc/system_wrappers/test/list/list.cc b/webrtc/system_wrappers/test/list/list.cc index 5c4f0b96ec..35ddf33585 100644 --- a/webrtc/system_wrappers/test/list/list.cc +++ b/webrtc/system_wrappers/test/list/list.cc @@ -11,7 +11,7 @@ #include #include -#include "list_wrapper.h" +#include "webrtc/system_wrappers/interface/list_wrapper.h" const int kNumberOfElements = 10; diff --git a/webrtc/system_wrappers/test/map/map.cc b/webrtc/system_wrappers/test/map/map.cc index 8a0d3e31d7..58f972918d 100644 --- a/webrtc/system_wrappers/test/map/map.cc +++ b/webrtc/system_wrappers/test/map/map.cc @@ -11,7 +11,7 @@ #include #include -#include "map_wrapper.h" +#include "webrtc/system_wrappers/interface/map_wrapper.h" const int kNumberOfElements = 10; -- cgit v1.2.3