summaryrefslogtreecommitdiffstats
path: root/toolkit/content/buildconfig.html
blob: 9c7ada2c83dc77b973df7da4b627602fa1d47ca1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!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 http-equiv="Content-Security-Policy" content="default-src 'none'; style-src chrome:; object-src 'none'" />
    <meta charset="UTF-8">
    <meta name="color-scheme" content="light dark">
    <meta name="viewport" content="width=device-width; user-scalable=false;">
    <title>Build Configuration</title>
    <link rel="stylesheet" href="chrome://global/skin/in-content/info-pages.css" type="text/css">
    <link rel="stylesheet" href="chrome://global/content/buildconfig.css" type="text/css">
  </head>
  <body>
    <div class="container">
      <h1>Build Configuration</h1>
      <p>Please be aware that this page doesn't reflect all the options used to build @MOZ_APP_DISPLAYNAME@.</p>
      #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 class="build-platform-table">
        <tbody>
          <tr>
            <th>target</th>
          </tr>
          <tr>
            <td>@target@</td>
          </tr>
        </tbody>
      </table>
      #if defined(CC) && defined(CXX) && defined(RUSTC)
      <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>@CC_VERSION@</td>
            <td>@CXXFLAGS@</td>
          </tr>
          <tr>
            <td>@RUSTC@</td>
            <td>@RUSTC_VERSION@</td>
            <td>@RUSTFLAGS@</td>
          </tr>
        </tbody>
      </table>
      #endif
      <h2>Configure options</h2>
      <p>@MOZ_CONFIGURE_OPTIONS@</p>
      #ifdef ANDROID
      <h2>Package name</h2>
      <p>@ANDROID_PACKAGE_NAME@</p>
      #endif
    </div>
  </body>
</html>