diff --git a/.github/actions/build/action.yaml b/.github/actions/build/action.yaml index 9da7068c6a76..dbff839c58f9 100644 --- a/.github/actions/build/action.yaml +++ b/.github/actions/build/action.yaml @@ -31,7 +31,7 @@ runs: - name: gn gen run: | cd src - cobalt/build/gn.py -p ${{ matrix.platform }} -C ${{ matrix.config }} --no-check + cobalt/build/gn.py -p ${{ matrix.platform }} -C ${{ matrix.config }} shell: bash - name: gn dump args run: | diff --git a/cobalt/build/gn.py b/cobalt/build/gn.py index 43fffb9e162d..b769e6e12dd2 100755 --- a/cobalt/build/gn.py +++ b/cobalt/build/gn.py @@ -154,7 +154,8 @@ def main(out_directory: str, platform: str, build_type: str, '`gn args ` to edit it instead.') parser.add_argument( '--no-check', - default=False, + # TODO: b/377295011 - Enable gn --check + default=True, action='store_true', help='Pass this flag to disable the header dependency gn check.') script_args, gen_args = parser.parse_known_args()