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 7 #ifndef COMMON_VERSION_H_ 8 #define COMMON_VERSION_H_ 9 10 #include "commit.h" 11 12 #define ANGLE_MAJOR_VERSION 2 13 #define ANGLE_MINOR_VERSION 1 14 15 #ifndef ANGLE_REVISION 16 # define ANGLE_REVISION 0 17 #endif 18 19 #define ANGLE_STRINGIFY(x) #x 20 #define ANGLE_MACRO_STRINGIFY(x) ANGLE_STRINGIFY(x) 21 22 #define ANGLE_VERSION_STRING \ 23 ANGLE_MACRO_STRINGIFY(ANGLE_MAJOR_VERSION) \ 24 "." ANGLE_MACRO_STRINGIFY(ANGLE_MINOR_VERSION) "." ANGLE_MACRO_STRINGIFY( \ 25 ANGLE_REVISION) "." ANGLE_COMMIT_HASH 26 27 #endif // COMMON_VERSION_H_ 28