Bug 1874684 - Part 4: Prefer const references instead of copying Instant values....
[gecko.git] / dom / origin-trials / moz.build
blob693fd6228158213871fcd94f7d9d96ff63d895a5
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 with Files("**"):
8     BUG_COMPONENT = ("Core", "DOM: Core & HTML")
10 if CONFIG["COMPILE_ENVIRONMENT"]:
11     EXPORTS.mozilla += [
12         "!origin_trials_ffi_generated.h",
13     ]
15     CbindgenHeader(
16         "origin_trials_ffi_generated.h",
17         inputs=["ffi"],
18     )
20     GeneratedFile(
21         "keys.inc",
22         inputs=["test.pub", "prod.pub"],
23         script="gen-keys.py",
24         entry_point="generate",
25     )
27 MOCHITEST_MANIFESTS += ["tests/mochitest/mochitest.toml"]
29 EXPORTS.mozilla += [
30     "OriginTrials.h",
31     "OriginTrialsIPCUtils.h",
34 UNIFIED_SOURCES += [
35     "OriginTrials.cpp",
38 include("/ipc/chromium/chromium-config.mozbuild")
40 FINAL_LIBRARY = "xul"