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

Language Request: GN #3061

Closed
thunder-coding opened this issue Sep 1, 2021 · 2 comments · Fixed by #3062
Closed

Language Request: GN #3061

thunder-coding opened this issue Sep 1, 2021 · 2 comments · Fixed by #3062

Comments

@thunder-coding
Copy link

Language
GN is a meta-build system that generates build files for Ninja

Additional resources
https://gn.googlesource.com/gn/

GN has some language definition and syntax files for vim and Emacs which might be really helpful for the person working on this

@RunDevelopment
Copy link
Member

Question: The docs link Chromium as an example and I can see a bunch of .gni files next to the linked .gn file. Are .gni and .gn files related?

@thunder-coding
Copy link
Author

By convention, imported files are named with a .gni extension.

So both .gn and .gni can be treated as GN files!

From https://gn.googlesource.com/gn/+/refs/heads/main/docs/reference.md#func_import

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants