Bug 1814798 - pt 1. Add bool to enable/disable PHC at runtime r=glandium
[gecko.git] / memory / volatile / moz.build
blob9cfe43e5d02b7c3956bb28a355d7e331040e3b01
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/.
6 NoVisibilityFlags()
8 EXPORTS.mozilla += [
9     "VolatileBuffer.h",
12 if CONFIG["OS_TARGET"] == "Android":
13     UNIFIED_SOURCES += [
14         "VolatileBufferAshmem.cpp",
15     ]
16 elif CONFIG["OS_TARGET"] == "Darwin":
17     UNIFIED_SOURCES += [
18         "VolatileBufferOSX.cpp",
19     ]
20 elif CONFIG["OS_TARGET"] == "WINNT":
21     UNIFIED_SOURCES += [
22         "VolatileBufferWindows.cpp",
23     ]
24 else:
25     UNIFIED_SOURCES += [
26         "VolatileBufferFallback.cpp",
27     ]
29 FINAL_LIBRARY = "xul"
31 TEST_DIRS += ["tests"]