xref: /aosp_15_r20/external/cronet/base/version_info/android/java/VersionConstants.java.version (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1// Copyright 2018 The Chromium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5package org.chromium.base.version_info;
6
7// Constants shared by Android Chrome and WebView. Chrome specific constants are
8// in ChromeVersionConstants.
9public class VersionConstants {
10    public static final String PRODUCT_VERSION = "@MAJOR@.@MINOR@.@BUILD@.@PATCH@";
11    @SuppressWarnings({"ComplexBooleanConstant", "IdentityBinaryExpression"})
12    public static final boolean IS_OFFICIAL_BUILD = @OFFICIAL_BUILD@ == 1;
13
14    public static final int PRODUCT_MAJOR_VERSION = @MAJOR@;
15    public static final int PRODUCT_BUILD_VERSION = @BUILD@;
16
17    public static final int CHANNEL = Channel.@CHANNEL@;
18}
19