Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libc] Add some integration features into newhdrgen #114272

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Oct 30, 2024

  1. [libc] Add some integration features into newhdrgen

    This adds some command-line switches to the newhdrgen script
    that facilitate more generalized build system integration.
    These enable the use of the script in Fuchsia's GN build.
    
    The --write-if-changed switch avoids touching the .h output file
    if it's unchanged, which is beneficial to incremental rebuilds.
    
    The --depfile switch writes out a make/ninja-compatible depfile
    describing the inputs and outputs.  This is crucial for build
    system integration when using the following new feature.
    
    When the new --libc-dir switch is given, the YAML file argument
    is optional.  Instead, the --h_def_file input file path must have
    the --libc-dir path as a prefix and the yaml file is found in its
    corresponding place in the libc source tree.
    frobtech committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    0e5a892 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    712bbb8 View commit details
    Browse the repository at this point in the history
  3. python formatting

    frobtech committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    15c13eb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1f75c67 View commit details
    Browse the repository at this point in the history