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

Move //gn/* to //* #3070

Merged
merged 3 commits into from
Oct 7, 2020
Merged

Conversation

mspang
Copy link
Contributor

@mspang mspang commented Oct 6, 2020

Problem

To avoid clashing with automake's artifacts dir, certain common
directories were placed inside //gn. This required GN to look up all paths
twice, once at the normal location and once inside //gn.

By convention, the build system shared files are placed at //build and
non-shared files are //build_overrides. This allows dropping CHIP
into other projects as a submodule, as long as they follow the same
conventions.

Summary of Changes

Move //gn/build to //build now that automake is removed.

@restyled-io restyled-io bot mentioned this pull request Oct 6, 2020
This avoids needing to use the secondary_source path remapping which can
cause confusion as the contents of //gn are all named without saying
"//gn".

By convention, the build system shared files are placed at //build and
non-shares files are //build_overrides. This allows drop the CHIP build
into other projects as a submodule, as long as they follow the same
conventions.
@boring-cyborg boring-cyborg bot added the github label Oct 6, 2020
@mspang
Copy link
Contributor Author

mspang commented Oct 7, 2020

@rwalker-apple rwalker-apple merged commit 55d6a5f into project-chip:master Oct 7, 2020
@mspang mspang deleted the for-chip/move-build-up branch October 7, 2020 05:18
mspang added a commit to mspang/connectedhomeip that referenced this pull request Feb 24, 2021
This path changed way back in 55d6a5f ("Move //gn/* to //* (project-chip#3070)").
Remove the directory portion.
andy31415 pushed a commit that referenced this pull request Feb 25, 2021
This path changed way back in 55d6a5f ("Move //gn/* to //* (#3070)").
Remove the directory portion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants