michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'nsPrefBranch.cpp', michael@0: 'nsPrefsFactory.cpp', michael@0: 'Preferences.cpp', michael@0: 'prefread.cpp', michael@0: ] michael@0: michael@0: # prefapi.cpp cannot be built in unified mode because it uses plarena.h michael@0: SOURCES += [ michael@0: 'prefapi.cpp', michael@0: ] michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: FINAL_LIBRARY = 'xul' michael@0: michael@0: DEFINES['OS_ARCH'] = CONFIG['OS_ARCH'] michael@0: DEFINES['MOZ_WIDGET_TOOLKIT'] = CONFIG['MOZ_WIDGET_TOOLKIT']