mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 20:22:00 +00:00
![Nicholas Nethercote](/assets/img/avatar_default.png)
"mean" is most useful, then "min" and "max". The rest are moderately useful. --HG-- extra : rebase_source : 03fda0e0d32081024abd5cdf859f16dac60bbc19
25 lines
689 B
Python
25 lines
689 B
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# 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/.
|
|
|
|
do_rapl = False
|
|
|
|
if CONFIG['OS_ARCH'] == 'Darwin' and CONFIG['CPU_ARCH'] == 'x86_64':
|
|
do_rapl = True
|
|
|
|
if CONFIG['OS_ARCH'] == 'Linux' and CONFIG['OS_TARGET'] != 'Android' and \
|
|
CONFIG['CPU_ARCH'] in ('x86', 'x86_64'):
|
|
do_rapl = True
|
|
|
|
if do_rapl:
|
|
SimplePrograms([
|
|
'rapl',
|
|
])
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
DISABLE_STL_WRAPPING = True
|