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

Add additional argument to write_source_file macro: out_file_is_select = False, that enables support for defining select dictionary as out_file. #782

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

Commits on Mar 7, 2024

  1. Add support for select in write_source_file.bzl

    Add additional argument to write_source_file macro: `out_file_is_select = False`, that enables support for defining select dictionary as out_file. For example:
    `
    write_source_file(
        name = "write_foo_c",
        in_file = ":foo.c",
        out_file = {
            "//conditions:default": "//workspace/subdir:foo.c",
        },
        executable = False,
        additional_update_targets = [],
        suggested_update_target = ":write_foo_h",
        diff_test = True,
        check_that_out_file_exists = False,
        out_file_is_select = True,
    )
    `
    geonik-code authored Mar 7, 2024
    Configuration menu
    Copy the full SHA
    9b3db9e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from geonik-code/feature/fr-781

    Add support for select in write_source_file.bzl
    geonik-code authored Mar 7, 2024
    Configuration menu
    Copy the full SHA
    152d320 View commit details
    Browse the repository at this point in the history