|
1 # -*- Mode: python; c-basic-offset: 4; 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 |
|
7 EXPORTS.mozilla.dom += [ |
|
8 'DOMStorageIPC.h', |
|
9 ] |
|
10 |
|
11 UNIFIED_SOURCES += [ |
|
12 'DOMStorage.cpp', |
|
13 'DOMStorageCache.cpp', |
|
14 'DOMStorageDBThread.cpp', |
|
15 'DOMStorageIPC.cpp', |
|
16 'DOMStorageManager.cpp', |
|
17 'DOMStorageObserver.cpp', |
|
18 ] |
|
19 |
|
20 IPDL_SOURCES += [ |
|
21 'PStorage.ipdl', |
|
22 ] |
|
23 |
|
24 FAIL_ON_WARNINGS = True |
|
25 |
|
26 MSVC_ENABLE_PGO = True |
|
27 |
|
28 include('/ipc/chromium/chromium-config.mozbuild') |
|
29 |
|
30 FINAL_LIBRARY = 'gklayout' |
|
31 LOCAL_INCLUDES += [ |
|
32 '/dom/base', |
|
33 ] |
|
34 |
|
35 if CONFIG['ENABLE_TESTS']: |
|
36 DEFINES['DOM_STORAGE_TESTS'] = True |