build_info.h 700 B

12345678910111213141516171819202122232425
  1. // Copyright 2020 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef CHROMECAST_CRASH_BUILD_INFO_H_
  5. #define CHROMECAST_CRASH_BUILD_INFO_H_
  6. #include <string>
  7. namespace chromecast {
  8. // Returns a short, readable version string.
  9. const std::string GetVersionString();
  10. // Return whether build is "user", or "eng"
  11. const std::string GetBuildVariant();
  12. // Used by tests.
  13. const std::string VersionToCrashString(const std::string& cast_build_revision);
  14. const std::string VersionToVariant(const std::string& cast_build_revision);
  15. } // namespace chromecast
  16. #endif // CHROMECAST_CRASH_BUILD_INFO_H_