OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 | 6 |
7 config("bluetooth_config") { | 7 config("bluetooth_config") { |
8 if (is_win) { | 8 if (is_win) { |
9 ldflags = [ | 9 ldflags = [ |
10 # Despite MSDN stating that Bthprops.dll contains the | 10 # Despite MSDN stating that Bthprops.dll contains the |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 } | 112 } |
113 | 113 |
114 if (is_mac) { | 114 if (is_mac) { |
115 libs = [ "IOBluetooth.framework" ] | 115 libs = [ "IOBluetooth.framework" ] |
116 } | 116 } |
117 } | 117 } |
118 | 118 |
119 grit("strings") { | 119 grit("strings") { |
120 visibility = ":*" | 120 visibility = ":*" |
121 source = "bluetooth_strings.grd" | 121 source = "bluetooth_strings.grd" |
| 122 outputs = [ |
| 123 "grit/device_bluetooth_strings.h", |
| 124 "device_bluetooth_strings_am.pak", |
| 125 "device_bluetooth_strings_ar.pak", |
| 126 "device_bluetooth_strings_bg.pak", |
| 127 "device_bluetooth_strings_bn.pak", |
| 128 "device_bluetooth_strings_ca.pak", |
| 129 "device_bluetooth_strings_cs.pak", |
| 130 "device_bluetooth_strings_da.pak", |
| 131 "device_bluetooth_strings_de.pak", |
| 132 "device_bluetooth_strings_el.pak", |
| 133 "device_bluetooth_strings_en-GB.pak", |
| 134 "device_bluetooth_strings_en-US.pak", |
| 135 "device_bluetooth_strings_es.pak", |
| 136 "device_bluetooth_strings_es-419.pak", |
| 137 "device_bluetooth_strings_et.pak", |
| 138 "device_bluetooth_strings_fa.pak", |
| 139 "device_bluetooth_strings_fake-bidi.pak", |
| 140 "device_bluetooth_strings_fi.pak", |
| 141 "device_bluetooth_strings_fil.pak", |
| 142 "device_bluetooth_strings_fr.pak", |
| 143 "device_bluetooth_strings_gu.pak", |
| 144 "device_bluetooth_strings_he.pak", |
| 145 "device_bluetooth_strings_hi.pak", |
| 146 "device_bluetooth_strings_hr.pak", |
| 147 "device_bluetooth_strings_hu.pak", |
| 148 "device_bluetooth_strings_id.pak", |
| 149 "device_bluetooth_strings_it.pak", |
| 150 "device_bluetooth_strings_ja.pak", |
| 151 "device_bluetooth_strings_kn.pak", |
| 152 "device_bluetooth_strings_ko.pak", |
| 153 "device_bluetooth_strings_lt.pak", |
| 154 "device_bluetooth_strings_lv.pak", |
| 155 "device_bluetooth_strings_ml.pak", |
| 156 "device_bluetooth_strings_mr.pak", |
| 157 "device_bluetooth_strings_ms.pak", |
| 158 "device_bluetooth_strings_nl.pak", |
| 159 "device_bluetooth_strings_nb.pak", |
| 160 "device_bluetooth_strings_pl.pak", |
| 161 "device_bluetooth_strings_pt-BR.pak", |
| 162 "device_bluetooth_strings_pt-PT.pak", |
| 163 "device_bluetooth_strings_ro.pak", |
| 164 "device_bluetooth_strings_ru.pak", |
| 165 "device_bluetooth_strings_sk.pak", |
| 166 "device_bluetooth_strings_sl.pak", |
| 167 "device_bluetooth_strings_sr.pak", |
| 168 "device_bluetooth_strings_sv.pak", |
| 169 "device_bluetooth_strings_sw.pak", |
| 170 "device_bluetooth_strings_ta.pak", |
| 171 "device_bluetooth_strings_te.pak", |
| 172 "device_bluetooth_strings_th.pak", |
| 173 "device_bluetooth_strings_tr.pak", |
| 174 "device_bluetooth_strings_uk.pak", |
| 175 "device_bluetooth_strings_vi.pak", |
| 176 "device_bluetooth_strings_zh-CN.pak", |
| 177 "device_bluetooth_strings_zh-TW.pak", |
| 178 ] |
122 } | 179 } |
123 | 180 |
124 static_library("mocks") { | 181 static_library("mocks") { |
125 sources = [ | 182 sources = [ |
126 "test/mock_bluetooth_adapter.cc", | 183 "test/mock_bluetooth_adapter.cc", |
127 "test/mock_bluetooth_adapter.h", | 184 "test/mock_bluetooth_adapter.h", |
128 "test/mock_bluetooth_device.cc", | 185 "test/mock_bluetooth_device.cc", |
129 "test/mock_bluetooth_device.h", | 186 "test/mock_bluetooth_device.h", |
130 "test/mock_bluetooth_discovery_session.cc", | 187 "test/mock_bluetooth_discovery_session.cc", |
131 "test/mock_bluetooth_discovery_session.h", | 188 "test/mock_bluetooth_discovery_session.h", |
132 "test/mock_bluetooth_gatt_characteristic.cc", | 189 "test/mock_bluetooth_gatt_characteristic.cc", |
133 "test/mock_bluetooth_gatt_characteristic.h", | 190 "test/mock_bluetooth_gatt_characteristic.h", |
134 "test/mock_bluetooth_gatt_connection.cc", | 191 "test/mock_bluetooth_gatt_connection.cc", |
135 "test/mock_bluetooth_gatt_connection.h", | 192 "test/mock_bluetooth_gatt_connection.h", |
136 "test/mock_bluetooth_gatt_descriptor.cc", | 193 "test/mock_bluetooth_gatt_descriptor.cc", |
137 "test/mock_bluetooth_gatt_descriptor.h", | 194 "test/mock_bluetooth_gatt_descriptor.h", |
138 "test/mock_bluetooth_gatt_notify_session.cc", | 195 "test/mock_bluetooth_gatt_notify_session.cc", |
139 "test/mock_bluetooth_gatt_notify_session.h", | 196 "test/mock_bluetooth_gatt_notify_session.h", |
140 "test/mock_bluetooth_gatt_service.cc", | 197 "test/mock_bluetooth_gatt_service.cc", |
141 "test/mock_bluetooth_gatt_service.h", | 198 "test/mock_bluetooth_gatt_service.h", |
142 "test/mock_bluetooth_socket.cc", | 199 "test/mock_bluetooth_socket.cc", |
143 "test/mock_bluetooth_socket.h", | 200 "test/mock_bluetooth_socket.h", |
144 ] | 201 ] |
145 | 202 |
146 deps = [ | 203 deps = [ |
147 ":bluetooth", | 204 ":bluetooth", |
148 "//testing/gmock", | 205 "//testing/gmock", |
149 ] | 206 ] |
150 } | 207 } |
OLD | NEW |