1 //
2 // Copyright 2014 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 // angle_version.h: ANGLE version constants. Generated from git commands.
7 
8 #ifndef COMMON_VERSION_H_
9 #define COMMON_VERSION_H_
10 
11 #include "angle_commit.h"
12 
13 #define ANGLE_MAJOR_VERSION 2
14 #define ANGLE_MINOR_VERSION 1
15 
16 #ifndef ANGLE_REVISION
17 #    define ANGLE_REVISION ANGLE_COMMIT_POSITION
18 #endif
19 
20 #define ANGLE_STRINGIFY(x) #x
21 #define ANGLE_MACRO_STRINGIFY(x) ANGLE_STRINGIFY(x)
22 
23 #define ANGLE_VERSION_STRING                                                  \
24     ANGLE_MACRO_STRINGIFY(ANGLE_MAJOR_VERSION)                                \
25     "." ANGLE_MACRO_STRINGIFY(ANGLE_MINOR_VERSION) "." ANGLE_MACRO_STRINGIFY( \
26         ANGLE_REVISION) " git hash: " ANGLE_COMMIT_HASH
27 
28 #endif  // COMMON_VERSION_H_
29