OSDN Git Service

ec683fb381f59694f027cbbefd34ef9589fe6199
[android-x86/system-bt.git] / btif / BUILD.gn
1 #
2 #  Copyright (C) 2015 Google, Inc.
3 #
4 #  Licensed under the Apache License, Version 2.0 (the "License");
5 #  you may not use this file except in compliance with the License.
6 #  You may obtain a copy of the License at:
7 #
8 #  http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #  Unless required by applicable law or agreed to in writing, software
11 #  distributed under the License is distributed on an "AS IS" BASIS,
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15 #
16
17 static_library("btif") {
18   sources = [
19     "src/btif_av.c",
20     "src/btif_config.c",
21     "src/btif_config_transcode.cpp",
22     "src/btif_core.c",
23     "src/btif_debug.c",
24     "src/btif_debug_btsnoop.c",
25     "src/btif_debug_conn.c",
26     "src/btif_dm.c",
27     "src/btif_gatt.c",
28     "src/btif_gatt_client.c",
29     "src/btif_gatt_multi_adv_util.c",
30     "src/btif_gatt_server.c",
31     "src/btif_gatt_test.c",
32     "src/btif_gatt_util.c",
33     "src/btif_hf.c",
34     "src/btif_hf_client.c",
35     "src/btif_hh.c",
36     "src/btif_hl.c",
37     "src/btif_mce.c",
38     "src/btif_media_task.c",
39     "src/btif_pan.c",
40     "src/btif_profile_queue.c",
41     "src/btif_rc.c",
42     "src/btif_sdp.c",
43     "src/btif_sdp_server.c",
44     "src/btif_sm.c",
45     "src/btif_sock.c",
46     "src/btif_sock_l2cap.c",
47     "src/btif_sock_rfc.c",
48     "src/btif_sock_sco.c",
49     "src/btif_sock_sdp.c",
50     "src/btif_sock_thread.c",
51     "src/btif_sock_util.c",
52     "src/btif_storage.c",
53     "src/btif_uid.c",
54     "src/btif_util.c",
55     "src/stack_manager.c",
56   ]
57
58   # BTIF callouts
59   sources += [
60     "co/bta_ag_co.c",
61     "co/bta_dm_co.c",
62     "co/bta_av_co.c",
63     "co/bta_hh_co.c",
64     "co/bta_hl_co.c",
65     "co/bta_pan_co.c",
66     "co/bta_gattc_co.c",
67     "co/bta_gatts_co.c",
68   ]
69
70   include_dirs = [
71     "include",
72     "//",
73     "//audio_a2dp_hw",
74     "//bta/include",
75     "//bta/sys",
76     "//btcore/include",
77     "//embdrv/sbc/encoder/include",
78     "//hci/include",
79     "//stack/a2dp",
80     "//stack/btm",
81     "//stack/include",
82     "//include",
83     "//udrv/include",
84     "//utils/include",
85     "//vnd/include",
86   ]
87 }