|
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 if CONFIG['MOZ_B2G_FM']: |
|
8 DIRS += [ |
|
9 'ipc', |
|
10 ] |
|
11 |
|
12 EXPORTS.mozilla.dom += [ |
|
13 'FMRadio.h', |
|
14 'FMRadioCommon.h', |
|
15 'FMRadioService.h', |
|
16 ] |
|
17 |
|
18 SOURCES += [ |
|
19 'FMRadio.cpp', |
|
20 'FMRadioService.cpp', |
|
21 ] |
|
22 |
|
23 FINAL_LIBRARY = 'gklayout' |
|
24 |
|
25 IPDL_SOURCES += [ |
|
26 'ipc/PFMRadio.ipdl', |
|
27 'ipc/PFMRadioRequest.ipdl', |
|
28 ] |
|
29 |
|
30 FAIL_ON_WARNINGS = True |
|
31 |
|
32 LOCAL_INCLUDES += [ |
|
33 '../base', |
|
34 '../system/gonk', |
|
35 ] |
|
36 include('/ipc/chromium/chromium-config.mozbuild') |