Commit bdd0434c authored by Mike Wittman's avatar Mike Wittman Committed by Commit Bot

Enable ELF reader build id tests in non-official build

The build id flag was enabled in non-official builds in
https://crrev.com/776312. The tests depending on it can now be enabled
in that configuration.

Bug: 870919
Change-Id: I37e7bc2fbfad4b6df2126071652c4c5982e84e90
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2296263
Commit-Queue: Wez <wez@chromium.org>
Auto-Submit: Mike Wittman <wittman@chromium.org>
Reviewed-by: default avatarWez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788730}
parent f0e5117b
......@@ -19,10 +19,6 @@ extern char __executable_start;
namespace base {
namespace debug {
// The linker flag --build-id is passed only on official builds and Fuchsia
// builds.
#if defined(OFFICIAL_BUILD) || defined(OS_FUCHSIA)
#if defined(OFFICIAL_BUILD)
constexpr size_t kExpectedBuildIdStringLength = 40; // SHA1 hash in hex.
#else
......@@ -54,7 +50,6 @@ TEST(ElfReaderTest, ReadElfBuildIdLowercase) {
EXPECT_TRUE(!IsAsciiAlpha(c) || IsAsciiLower(c));
}
}
#endif // defined(OFFICIAL_BUILD) || defined(OS_FUCHSIA)
TEST(ElfReaderTest, ReadElfLibraryName) {
#if defined(OS_ANDROID)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment