mirror of
https://github.com/utmapp/angle.git
synced 2026-12-01 14:00:09 -10:00
This allows us to delete the Windows batch file. Changes the commit_id script to take the working directory so that it can be called from a different working directory than the angle repository is in. Renames the generated commit header to angle_commit.h. This is being written to the shared generated code directory for the entire build, and "commit.h" is insufficiently unique. BUG=angle:669 Change-Id: I35e80411a7e8ba1e02ce3f6a4fc54ed4dbc918f3 Reviewed-on: https://chromium-review.googlesource.com/202048 Reviewed-by: Geoff Lang <[email protected]> Tested-by: Jamie Madill <[email protected]>
15 lines
426 B
C
15 lines
426 B
C
//
|
|
// Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
//
|
|
// commit.h:
|
|
// This is a default commit hash header, when git is not available.
|
|
//
|
|
|
|
#define ANGLE_COMMIT_HASH "unknown hash"
|
|
#define ANGLE_COMMIT_HASH_SIZE 12
|
|
#define ANGLE_COMMIT_DATE "unknown date"
|
|
|
|
#define ANGLE_DISABLE_PROGRAM_BINARY_LOAD
|