summaryrefslogtreecommitdiff
path: root/src/trend_classifying_filter_interpreter.cc
diff options
context:
space:
mode:
authorHarry Cutts <hcutts@chromium.org>2022-10-19 17:25:54 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-10-21 21:30:57 +0000
commit2cb5dba5ec14b73a8c354658386914ced7f97035 (patch)
tree9146f10b60f58feab14f1c2796965c70f56d17a2 /src/trend_classifying_filter_interpreter.cc
parentf41bc9f422276a5715da72fa72f77ac2e8bb3f7b (diff)
downloadlibchrome-gestures-2cb5dba5ec14b73a8c354658386914ced7f97035.tar.gz
Make include paths relative to repository root
Having the include paths include the name of the repository root (e.g. "gestures/include/gestures.h") causes issues when using the library in other trees that can't name the root directory "gestures". Changing them to be relative to the repository root (e.g. "include/gestures.h") avoids that issue. Except for the Makefile change, the edits were done using this command: sed --in-place 's|#include "gestures/|#include "|' src/** include/** Then I also took the opportunity to sort the affected `#include` lines where I noticed they were out of order. BUG=b:251196347 TEST=build and run unit tests (cros_workon_make --test chromeos-base/gestures) Change-Id: I208a05367616f341c7e69bceda7be896bb29b1f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/gestures/+/3966630 Tested-by: Harry Cutts <hcutts@chromium.org> Reviewed-by: Sean O'Brien <seobrien@chromium.org> Commit-Queue: Harry Cutts <hcutts@chromium.org>
Diffstat (limited to 'src/trend_classifying_filter_interpreter.cc')
-rw-r--r--src/trend_classifying_filter_interpreter.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/trend_classifying_filter_interpreter.cc b/src/trend_classifying_filter_interpreter.cc
index 4f4525c..1a2580e 100644
--- a/src/trend_classifying_filter_interpreter.cc
+++ b/src/trend_classifying_filter_interpreter.cc
@@ -2,17 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "gestures/include/trend_classifying_filter_interpreter.h"
+#include "include/trend_classifying_filter_interpreter.h"
#include <cmath>
-#include "gestures/include/filter_interpreter.h"
-#include "gestures/include/finger_metrics.h"
-#include "gestures/include/gestures.h"
-#include "gestures/include/logging.h"
-#include "gestures/include/prop_registry.h"
-#include "gestures/include/tracer.h"
-#include "gestures/include/util.h"
+#include "include/filter_interpreter.h"
+#include "include/finger_metrics.h"
+#include "include/gestures.h"
+#include "include/logging.h"
+#include "include/prop_registry.h"
+#include "include/tracer.h"
+#include "include/util.h"
namespace {