|
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 # nsViewManager.cpp cannot be built in unified mode because it uses PL_ARENA_CONST_ALIGN_MASK. |
|
8 SOURCES += [ |
|
9 'nsView.cpp', |
|
10 'nsViewManager.cpp', |
|
11 ] |
|
12 |
|
13 FAIL_ON_WARNINGS = True |
|
14 |
|
15 MSVC_ENABLE_PGO = True |
|
16 |
|
17 FINAL_LIBRARY = 'gklayout' |
|
18 |
|
19 if CONFIG['GNU_CC'] and CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android': |
|
20 # Work around bug 986928 |
|
21 CXXFLAGS += ['-Wno-error=format'] |