summaryrefslogtreecommitdiffstats
path: root/comm/mail/base/content/buildconfig.html
blob: 1a699cbfedfe4c670c5dde08cb22d25237e0cb77 (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!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
#include @TOPOBJDIR@/buildid.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="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>
      <h1>Build Configuration</h1>
      <h2>@MOZ_APP_DISPLAYNAME@ @MOZ_APP_VERSION_DISPLAY@ - @MOZ_BUILDID@</h2>
      <table>
        <tbody>
          #ifdef MOZ_COMM_SOURCE_URL
          <tr>
            <th>
              @MOZ_APP_DISPLAYNAME@ source
            </th>
          </tr>
          <tr>
            <td>
              <a href="@MOZ_COMM_SOURCE_URL@">@MOZ_COMM_SOURCE_URL@</a>
            </td>
          </tr>
          #endif
          #ifdef MOZ_GECKO_SOURCE_URL
          <tr>
            <th>
              Platform source
            </th>
          </tr>
          <tr>
            <td>
              <a href="@MOZ_GECKO_SOURCE_URL@">@MOZ_GECKO_SOURCE_URL@</a>
            </td>
          </tr>
          #endif
        </tbody>
      </table>

      <p>
        The latest information on building @MOZ_APP_DISPLAYNAME@ can be found at
        <a href="@THUNDERBIRD_DEVELOPER_WWW@">@THUNDERBIRD_DEVELOPER_WWW@</a>.
      </p>

      <h2>Build platform</h2>
      <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><code>@CC@</code></td>
            <td><code>@CC_VERSION@</code></td>
            <td><code>@CFLAGS@</code></td>
          </tr>
          <tr>
            <td><code>@CXX@</code></td>
            <td><code>@CC_VERSION@</code></td>
            <td><code>@CXXFLAGS@</code></td>
          </tr>
          <tr>
            <td><code>@RUSTC@</code></td>
            <td><code>@RUSTC_VERSION@</code></td>
            <td><code>@RUSTFLAGS@</code></td>
          </tr>
        </tbody>
      </table>
      #endif
      <h2>Configure options</h2>
      <table>
        <tbody>
          <tr>
            <td>
              <code>@MOZ_CONFIGURE_OPTIONS@</code>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>