{"id":15940887,"url":"https://github.com/cgqaq/gn-build","last_synced_at":"2025-09-07T08:34:40.696Z","repository":{"id":166232946,"uuid":"641696182","full_name":"CGQAQ/gn-build","owner":"CGQAQ","description":"Build the latest \u0026 best `GN-build-system` and `ninja` from source, and give you the wrapper(in python) to call it","archived":false,"fork":false,"pushed_at":"2023-05-17T09:10:55.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T14:56:40.712Z","etag":null,"topics":["build-from-source","gn","gn-build","ninja","ninja-build"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CGQAQ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-17T01:31:43.000Z","updated_at":"2023-08-02T13:21:04.000Z","dependencies_parsed_at":"2023-06-09T06:00:26.061Z","dependency_job_id":null,"html_url":"https://github.com/CGQAQ/gn-build","commit_stats":{"total_commits":28,"total_committers":1,"mean_commits":28.0,"dds":0.0,"last_synced_commit":"9466870e4d3565a86a22cf484eee560677984478"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CGQAQ%2Fgn-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CGQAQ%2Fgn-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CGQAQ%2Fgn-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CGQAQ%2Fgn-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CGQAQ","download_url":"https://codeload.github.com/CGQAQ/gn-build/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240027427,"owners_count":19736212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build-from-source","gn","gn-build","ninja","ninja-build"],"created_at":"2024-10-07T07:01:40.235Z","updated_at":"2025-02-21T14:19:02.802Z","avatar_url":"https://github.com/CGQAQ.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gn-build\r\nBuild the latest \u0026 greatest `GN-build-system` and `ninja` from source, and give you the wrapper to call it\r\n\r\n## Official references\r\n- [The reference](https://gn.googlesource.com/gn/+/main/docs/reference.md)\r\n- [The repo](https://gn.googlesource.com/gn/)\r\n- [The presentation](https://docs.google.com/presentation/d/15Zwb53JcncHfEwHpnG_PoIbbzQ3GQi_cpujYwbpcbZo/edit)\r\n\r\n## prerequisites\r\n- python3\r\n\r\n## HOWTO\r\n```console\r\ngit clone --recurse-submodules git@github.com:CGQAQ/gn-build.git\r\n# git clone --recurse-submodules https://github.com/CGQAQ/gn-build.git\r\n\r\n# On Windows\r\n# run gn\r\npython gn.py ...gnargs\r\n# run ninja\r\npython ninja.py ...ninjaargs\r\n\r\n# On nonWindows\r\n# run gn\r\npython3 gn.py ...gnargs\r\n# run ninja\r\npython3 ninja.py ...ninjaargs\r\n# ------------- OR ---------------\r\nchmod +x ./gn.py ./ninja.py\r\n# run gn\r\n./gn.py ...gnargs\r\n# run ninja\r\n./ninja.py ...ninjaarg\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgqaq%2Fgn-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcgqaq%2Fgn-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcgqaq%2Fgn-build/lists"}