summaryrefslogtreecommitdiff
path: root/src/click_wiggle_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/click_wiggle_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/click_wiggle_filter_interpreter.cc')
-rw-r--r--src/click_wiggle_filter_interpreter.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/click_wiggle_filter_interpreter.cc b/src/click_wiggle_filter_interpreter.cc
index 185876b..fd00bbb 100644
--- a/src/click_wiggle_filter_interpreter.cc
+++ b/src/click_wiggle_filter_interpreter.cc
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "gestures/include/click_wiggle_filter_interpreter.h"
+#include "include/click_wiggle_filter_interpreter.h"
-#include "gestures/include/gestures.h"
-#include "gestures/include/interpreter.h"
-#include "gestures/include/logging.h"
-#include "gestures/include/tracer.h"
-#include "gestures/include/util.h"
+#include "include/gestures.h"
+#include "include/interpreter.h"
+#include "include/logging.h"
+#include "include/tracer.h"
+#include "include/util.h"
namespace gestures {