Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Side by Side Diff: device/bluetooth/BUILD.gn

Issue 1119113002: bluetooth: Initial JNI setup for device/bluetooth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "/DELAYLOAD:BluetoothApis.dll", 10 "/DELAYLOAD:BluetoothApis.dll",
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 all_dependent_configs = [ ":bluetooth_config" ] 116 all_dependent_configs = [ ":bluetooth_config" ]
117 117
118 deps = [ 118 deps = [
119 ":strings", 119 ":strings",
120 "uribeacon", 120 "uribeacon",
121 "//base", 121 "//base",
122 "//net", 122 "//net",
123 "//ui/base", 123 "//ui/base",
124 ] 124 ]
125 125
126 if (is_win) { 126 if (is_android) {
127 libs = [ "setupapi.lib" ] 127 deps += [
128 } else if (is_chromeos) { 128 "//device/bluetooth/android",
129 "//device/bluetooth/android:bluetooth_jni",
130 ]
131 allow_circular_includes_from = [ "//device/bluetooth/android" ]
armansito 2015/05/06 01:57:06 I don't know much about GN, so maybe you should ad
scheib 2015/05/06 04:30:14 Done.
132 }
133
134 if (is_chromeos) {
129 deps += [ 135 deps += [
130 "//chromeos", 136 "//chromeos",
131 "//dbus", 137 "//dbus",
132 ] 138 ]
133 } 139 }
134 140
135 if (is_mac) { 141 if (is_mac) {
136 libs = [ "IOBluetooth.framework" ] 142 libs = [ "IOBluetooth.framework" ]
137 } 143 }
144
145 if (is_win) {
146 libs = [ "setupapi.lib" ]
147 }
138 } 148 }
139 149
140 grit("strings") { 150 grit("strings") {
141 source = "bluetooth_strings.grd" 151 source = "bluetooth_strings.grd"
142 outputs = [ 152 outputs = [
143 "grit/device_bluetooth_strings.h", 153 "grit/device_bluetooth_strings.h",
144 "device_bluetooth_strings_am.pak", 154 "device_bluetooth_strings_am.pak",
145 "device_bluetooth_strings_ar.pak", 155 "device_bluetooth_strings_ar.pak",
146 "device_bluetooth_strings_bg.pak", 156 "device_bluetooth_strings_bg.pak",
147 "device_bluetooth_strings_bn.pak", 157 "device_bluetooth_strings_bn.pak",
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 "test/mock_bluetooth_socket.h", 231 "test/mock_bluetooth_socket.h",
222 ] 232 ]
223 233
224 deps = [ 234 deps = [
225 ":bluetooth", 235 ":bluetooth",
226 "//base", 236 "//base",
227 "//net", 237 "//net",
228 "//testing/gmock", 238 "//testing/gmock",
229 ] 239 ]
230 } 240 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698