crash_reporter: Fix header include paths
Fix the header include paths to be relative to the crash_reporter base folder. Bug: 22873331 Change-Id: Icdd0495a79cd7679f38c54a84e189bfb3c9d7f1c
This commit is contained in:
parent
4bf3dc9345
commit
129bea543b
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "crash-reporter/chrome_collector.h"
|
||||
#include "chrome_collector.h"
|
||||
|
||||
#include <pcrecpp.h>
|
||||
#include <stdint.h>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include <base/macros.h>
|
||||
#include <gtest/gtest_prod.h> // for FRIEND_TEST
|
||||
|
||||
#include "crash-reporter/crash_collector.h"
|
||||
#include "crash_collector.h"
|
||||
#include "debugd/dbus-proxies.h"
|
||||
|
||||
class SystemLogging;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "crash-reporter/chrome_collector.h"
|
||||
#include "chrome_collector.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "crash-reporter/crash_collector.h"
|
||||
#include "crash_collector.h"
|
||||
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h> // For file creation modes.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "crash-reporter/crash_collector_test.h"
|
||||
#include "crash_collector_test.h"
|
||||
|
||||
#include <unistd.h>
|
||||
#include <utility>
|
||||
|
@ -13,7 +13,7 @@
|
|||
#include <chromeos/syslog_logging.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "crash-reporter/crash_collector.h"
|
||||
#include "crash_collector.h"
|
||||
|
||||
using base::FilePath;
|
||||
using base::StringPrintf;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#ifndef CRASH_REPORTER_CRASH_COLLECTOR_TEST_H_
|
||||
#define CRASH_REPORTER_CRASH_COLLECTOR_TEST_H_
|
||||
|
||||
#include "crash-reporter/crash_collector.h"
|
||||
#include "crash_collector.h"
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
|
|
@ -16,12 +16,12 @@
|
|||
#include <chromeos/syslog_logging.h>
|
||||
#include <metrics/metrics_library.h>
|
||||
|
||||
#include "crash-reporter/chrome_collector.h"
|
||||
#include "crash-reporter/kernel_collector.h"
|
||||
#include "crash-reporter/kernel_warning_collector.h"
|
||||
#include "crash-reporter/udev_collector.h"
|
||||
#include "crash-reporter/unclean_shutdown_collector.h"
|
||||
#include "crash-reporter/user_collector.h"
|
||||
#include "chrome_collector.h"
|
||||
#include "kernel_collector.h"
|
||||
#include "kernel_warning_collector.h"
|
||||
#include "udev_collector.h"
|
||||
#include "unclean_shutdown_collector.h"
|
||||
#include "user_collector.h"
|
||||
|
||||
static const char kCrashCounterHistogram[] = "Logging.CrashCounter";
|
||||
static const char kUserCrashSignal[] =
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "crash-reporter/kernel_collector.h"
|
||||
#include "kernel_collector.h"
|
||||
|
||||
#include <map>
|
||||
#include <sys/stat.h>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include <base/macros.h>
|
||||
#include <gtest/gtest_prod.h> // for FRIEND_TEST
|
||||
|
||||
#include "crash-reporter/crash_collector.h"
|
||||
#include "crash_collector.h"
|
||||
|
||||
// Kernel crash collector.
|
||||
class KernelCollector : public CrashCollector {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "crash-reporter/kernel_collector_test.h"
|
||||
#include "kernel_collector_test.h"
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#ifndef CRASH_REPORTER_KERNEL_COLLECTOR_TEST_H_
|
||||
#define CRASH_REPORTER_KERNEL_COLLECTOR_TEST_H_
|
||||
|
||||
#include "crash-reporter/kernel_collector.h"
|
||||
#include "kernel_collector.h"
|
||||
|
||||
#include <gmock/gmock.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "crash-reporter/kernel_warning_collector.h"
|
||||
#include "kernel_warning_collector.h"
|
||||
|
||||
#include <base/files/file_util.h>
|
||||
#include <base/logging.h>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include <base/macros.h>
|
||||
#include <gtest/gtest_prod.h> // for FRIEND_TEST
|
||||
|
||||
#include "crash-reporter/crash_collector.h"
|
||||
#include "crash_collector.h"
|
||||
|
||||
// Kernel warning collector.
|
||||
class KernelWarningCollector : public CrashCollector {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "crash-reporter/udev_collector.h"
|
||||
#include "udev_collector.h"
|
||||
|
||||
#include <map>
|
||||
#include <utility>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include <base/macros.h>
|
||||
#include <gtest/gtest_prod.h> // for FRIEND_TEST
|
||||
|
||||
#include "crash-reporter/crash_collector.h"
|
||||
#include "crash_collector.h"
|
||||
|
||||
// Udev crash collector.
|
||||
class UdevCollector : public CrashCollector {
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include <gmock/gmock.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "crash-reporter/udev_collector.h"
|
||||
#include "udev_collector.h"
|
||||
|
||||
using base::FilePath;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "crash-reporter/unclean_shutdown_collector.h"
|
||||
#include "unclean_shutdown_collector.h"
|
||||
|
||||
#include <base/files/file_util.h>
|
||||
#include <base/logging.h>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include <base/macros.h>
|
||||
#include <gtest/gtest_prod.h> // for FRIEND_TEST
|
||||
|
||||
#include "crash-reporter/crash_collector.h"
|
||||
#include "crash_collector.h"
|
||||
|
||||
// Unclean shutdown collector.
|
||||
class UncleanShutdownCollector : public CrashCollector {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "crash-reporter/unclean_shutdown_collector.h"
|
||||
#include "unclean_shutdown_collector.h"
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "crash-reporter/user_collector.h"
|
||||
#include "user_collector.h"
|
||||
|
||||
#include <bits/wordsize.h>
|
||||
#include <elf.h>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include <base/macros.h>
|
||||
#include <gtest/gtest_prod.h> // for FRIEND_TEST
|
||||
|
||||
#include "crash-reporter/crash_collector.h"
|
||||
#include "crash_collector.h"
|
||||
|
||||
class SystemLogging;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "crash-reporter/user_collector.h"
|
||||
#include "user_collector.h"
|
||||
|
||||
#include <bits/wordsize.h>
|
||||
#include <elf.h>
|
||||
|
|
Loading…
Reference in New Issue