Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • common
  • version.h
Find file
BlameHistoryPermalink
  • Geoff Lang's avatar
    Always use commit_id.py to generate commit.h · ba8ef68c
    Geoff Lang authored Feb 24, 2020
    commit_id_.py is capable of generating the default commit.h.
    This makes it so we always take a single path in gn.
    
    Remove the existing commit.h and generate it into the root
    generation folder (not the id subfolder) because Android blueprints
    can't handle generating into subfolders that don't exist.
    
    Make the <angle_dir> argument capable of taking a filename or
    directory name. This allows us to pass the .git/HEAD file which is
    a gn input.  Android blueprints require all paths used as input
    or output to a script are listed as inputs or outputs in the genrule.
    
    BUG=angleproject:2344
    
    Change-Id: I6600083fc400faf07808316c4a6244d6599df79a
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2074924
    Commit-Queue: Geoff Lang <geofflang@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    ba8ef68c
version.h 771 Bytes
EditWeb IDE
×

Replace version.h

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.