hakurei.app/static/source.html
2019-07-02 21:54:04 -04:00

84 lines
5.1 KiB
HTML

<!DOCTYPE html>
<html lang="en" prefix="og: http://ogp.me/ns#">
<head>
<meta charset="utf-8"/>
<title>Source | GrapheneOS</title>
<meta name="description" content="Source code for GrapheneOS."/>
<meta name="theme-color" content="#212121"/>
<meta name="msapplication-TileColor" content="#ffffff"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="twitter:site" content="@GrapheneOS"/>
<meta name="twitter:creator" content="@GrapheneOS"/>
<meta property="og:title" content="GrapheneOS source"/>
<meta property="og:description" content="Source code for GrapheneOS."/>
<meta property="og:type" content="website"/>
<meta property="og:image" content="https://grapheneos.org/opengraph.png"/>
<meta property="og:image:width" content="512"/>
<meta property="og:image:height" content="512"/>
<meta property="og:image:alt" content="GrapheneOS logo"/>
<meta property="og:url" content="https://grapheneos.org/source"/>
<meta property="og:site_name" content="GrapheneOS"/>
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
<link rel="mask-icon" href="/safari_pinned_tab_icon.svg" color="#000000"/>
<link rel="stylesheet" href="/grapheneos.css?12"/>
<link rel="manifest" href="/manifest.webmanifest"/>
<link rel="canonical" href="https://grapheneos.org/source"/>
</head>
<body>
<nav>
<ul>
<li><a href="/">GrapheneOS</a></li>
<li><a href="/install">Install</a></li>
<li><a href="/build">Build</a></li>
<li><a href="/usage">Usage</a></li>
<li><a href="/releases">Releases</a></li>
<li class="active"><a href="/source">Source</a></li>
<li><a href="/donate">Donate</a></li>
<li><a href="/contact">Contact</a></li>
</ul>
</nav>
<div id="content">
<h1 id="source">
<a href="#source">Source</a>
</h1>
<p>The GrapheneOS sources are hosted in the
<a href="https://github.com/GrapheneOS">GrapheneOS organization on GitHub</a>. Since
there are many repositories, this page aims to provide a guide for it.</p>
<ul>
<li><a href="https://github.com/GrapheneOS/grapheneos.org">Website repository</a></li>
<li><a href="https://github.com/GrapheneOS/releases.grapheneos.org">Update server repository</a></li>
<li><a href="https://github.com/GrapheneOS/tls_pinning">Utilities for setting up conservative non-leaf TLS pinning with backup pins</a></li>
<li><a href="https://github.com/GrapheneOS/branding_tools">Scripting for managing branding</a></li>
<li><a href="https://github.com/GrapheneOS/platform_manifest">Manifest for OS repositories</a></li>
</ul>
<p>The operating system source tree includes hundreds of repositories. Many of these
are only used for debugging, testing or development and are not actually part of what
gets used for building a production release. The manifest repository references all of
these. Most of these are used unmodified from the Android Open Source Project (AOSP).
A few dozen of the repositories including most of the core OS are either forked from
AOSP or are unique to GrapheneOS. The operating system has a unified build system, but
some components like Chromium are too complex to fit into it so they're included as
prebuilts instead of porting them to the AOSP build system. This is also done for
developer convenience and bootstrapping, to avoid needing to build all the native /
cross-compilation toolchains for each host and target platform combination, etc. The
prebuilts can all be built from source if desired. The build instructions will be
expanded to cover all of this in the future.</p>
<p>Chromium needs to be included in the GrapheneOS source tree as a prebuilt before
building. The GrapheneOS build metadata and patches are in the
<a href="https://github.com/GrapheneOS/Vanadium">Vanadium repository</a>. See the
GrapheneOS building instructions for more details.</p>
<p>See <a href="https://attestation.app/source">https://attestation.app/source</a>
for the Auditor and AttestationServer sources. The latest release of the Auditor app
is included in the GrapheneOS source tree as a prebuilt since it uses a different
build system, similar to other prebuilts like Chromium.</p>
</div>
<footer>
<a href="/"><img src="https://grapheneos.org/logo.png" width="512" height="512" alt=""/>GrapheneOS</a>
<ul id="social">
<li><a href="https://twitter.com/GrapheneOS">Twitter</a></li>
<li><a href="https://github.com/GrapheneOS">GitHub</a></li>
</ul>
</footer>
</body>
</html>