Skip to content

Change build files to treat NNBD fork as a build mode #38662

@munificent

Description

@munificent

Currently, the in-progress support for building tools using the forked NNBD SDK uses a separate set of build targets that output next to the non-NNBD built stuff. This requires a lot of duplicate build steps and careful edits to avoid stepping on the non-forked output files in the output directory.

Instead, a simpler option is probably to treat NNBD mode as another parameter the way architecture and mode are handled. When you pass --nnbd to build.py, it will create a separate xcodebuild/ReleaseX64NNBD directory (or whatever, for the other modes and arches) and put everything there.

This means we don't need to duplicate all of the build targets. It does mean we need to change build.py and gn.py to plumb the NNBD stuff through.

Metadata

Metadata

Assignees

Labels

NNBDIssues related to NNBD Releasearea-buildUse area-build for SDK build issues.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions