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: TEST_DIRS += ['test'] michael@0: michael@0: # Public stuff. michael@0: EXPORTS.mozilla.dom += [ michael@0: 'WorkerPrivate.h', michael@0: 'WorkerRunnable.h', michael@0: 'WorkerScope.h', michael@0: ] michael@0: michael@0: EXPORTS.mozilla.dom.workers += [ michael@0: 'Workers.h', michael@0: ] michael@0: michael@0: # Stuff needed for the bindings, not really public though. michael@0: EXPORTS.mozilla.dom.workers.bindings += [ michael@0: 'FileReaderSync.h', michael@0: 'Location.h', michael@0: 'MessagePort.h', michael@0: 'Navigator.h', michael@0: 'SharedWorker.h', michael@0: 'URL.h', michael@0: 'WorkerFeature.h', michael@0: 'XMLHttpRequest.h', michael@0: 'XMLHttpRequestUpload.h', michael@0: ] michael@0: michael@0: SOURCES += [ michael@0: 'ChromeWorkerScope.cpp', michael@0: 'File.cpp', michael@0: 'FileReaderSync.cpp', michael@0: 'Location.cpp', michael@0: 'MessagePort.cpp', michael@0: 'Navigator.cpp', michael@0: 'Principal.cpp', michael@0: 'RegisterBindings.cpp', michael@0: 'RuntimeService.cpp', michael@0: 'ScriptLoader.cpp', michael@0: 'SharedWorker.cpp', michael@0: 'URL.cpp', michael@0: 'WorkerPrivate.cpp', michael@0: 'WorkerRunnable.cpp', michael@0: 'WorkerScope.cpp', michael@0: 'XMLHttpRequest.cpp', michael@0: 'XMLHttpRequestUpload.cpp', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '../base', michael@0: '../system', michael@0: '/content/base/src', michael@0: '/xpcom/build', michael@0: '/xpcom/threads', michael@0: ] michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: FINAL_LIBRARY = 'gklayout'