gecko/toolkit/content/buildconfig.html
Mike Hommey ecad3301ab Bug 1247162 - Generate a header defining MOZ_SOURCE_*. r=mshal
The behavior is not entirely idempotent (most notably for
buildconfig.html), but this can be improved later if necessary.
It is idempotent where it matters.

This allows to get rid of config/makefiles/rcs.mk and its uses.
2016-02-12 07:16:14 +09:00

67 lines
1.5 KiB
HTML

<!DOCTYPE html>
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
#filter substitution
#include @TOPOBJDIR@/source-repo.h
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width; user-scalable=false;">
<title>about:buildconfig</title>
<link rel="stylesheet" href="chrome://global/skin/about.css" type="text/css">
<style type="text/css">
th { text-align: start; }
h2 { margin-top: 1.5em; }
th, td { vertical-align: top; }
</style>
</head>
<body class="aboutPageWideContainer">
<h1>about:buildconfig</h1>
#ifdef MOZ_SOURCE_URL
<h2>Source</h2>
<p>Built from <a href="@MOZ_SOURCE_URL@">@MOZ_SOURCE_URL@</a></p>
#endif
<h2>Build platform</h2>
<table>
<tbody>
<tr>
<th>target</th>
</tr>
<tr>
<td>@target@</td>
</tr>
</tbody>
</table>
<h2>Build tools</h2>
<table>
<tbody>
<tr>
<th>Compiler</th>
<th>Version</th>
<th>Compiler flags</th>
</tr>
<tr>
<td>@CC@</td>
<td>@CC_VERSION@</td>
<td>@CFLAGS@</td>
</tr>
<tr>
<td>@CXX@</td>
<td>@CXX_VERSION@</td>
#ifndef BUILD_FASTER
<td>@CXXFLAGS@ @CPPFLAGS@</td>
#endif
</tr>
</tbody>
</table>
<h2>Configure arguments</h2>
<p>@ac_configure_args@</p>
#ifdef ANDROID
<h2>Package name</h2>
<p>@ANDROID_PACKAGE_NAME@</p>
#endif
</body>
</html>