no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / tools / power / moz.build
blobec855a0b86c1859ca2424ca4c277b324802aed72
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 do_rapl = False
9 if CONFIG["OS_ARCH"] == "Darwin" and CONFIG["TARGET_CPU"] == "x86_64":
10     do_rapl = True
12 if (
13     CONFIG["OS_ARCH"] == "Linux"
14     and CONFIG["OS_TARGET"] != "Android"
15     and CONFIG["TARGET_CPU"] in ("x86", "x86_64")
17     do_rapl = True
19 if do_rapl:
20     SimplePrograms(
21         [
22             "rapl",
23         ]
24     )
26 DisableStlWrapping()