aboutsummaryrefslogtreecommitdiff
path: root/element_detection.cc
diff options
context:
space:
mode:
authorSamuel Huang <huangs@chromium.org>2021-11-17 16:20:51 +0000
committerCopybara-Service <copybara-worker@google.com>2021-11-17 08:30:34 -0800
commit9a6bb5673d3441e0aee2c3e79e6dec027840d7e1 (patch)
tree9632b83864a5bfed66ed8d8254b906e4afea707d /element_detection.cc
parent261f4df0801de80106dd28a47914131c9b897058 (diff)
downloadzucchini-9a6bb5673d3441e0aee2c3e79e6dec027840d7e1.tar.gz
[Zucchini] Move version info to a separate file.
This CL moves zucchini::{kMajorVersion, kMinorVersion, kInvalidVersion} to a standalone file version_info.h. The location should remain stable. Stability is important so that: * External tools can determine Zucchini versoin from source, i.e., the file serves as an implicit API. * Running 'git log' on version_info.h will point to CLs that implement or enable patch break changes. Bug: 1231882 Change-Id: I13243a5627870a31d8789d3579f1a50cc0e52bd5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3287124 Commit-Queue: Samuel Huang <huangs@chromium.org> Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org> Reviewed-by: Etienne Pierre-Doray <etiennep@chromium.org> Cr-Commit-Position: refs/heads/main@{#942645} NOKEYCHECK=True GitOrigin-RevId: 0b4473c4e1683729ac9f81257ba48e1d3e34418f
Diffstat (limited to 'element_detection.cc')
-rw-r--r--element_detection.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/element_detection.cc b/element_detection.cc
index 5548610..2d260e4 100644
--- a/element_detection.cc
+++ b/element_detection.cc
@@ -9,7 +9,7 @@
#include "components/zucchini/buildflags.h"
#include "components/zucchini/disassembler.h"
#include "components/zucchini/disassembler_no_op.h"
-#include "components/zucchini/patch_utils.h"
+#include "components/zucchini/version_info.h"
#if BUILDFLAG(ENABLE_DEX)
#include "components/zucchini/disassembler_dex.h"