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
  • commit_id.py
Find file
BlameHistoryPermalink
  • Geoff Lang's avatar
    Always use commit_id.py to generate commit.h · 4dc19c38
    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: Ifd9c8331f421586db6f2c6e17faf3242376e11d0
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2070600Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Geoff Lang <geofflang@chromium.org>
    4dc19c38
commit_id.py 1.69 KB
EditWeb IDE
×

Replace commit_id.py

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.