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

Side by Side Diff: device/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_mac) { 8 if (is_mac) {
9 import("//build/config/mac/mac_sdk.gni") 9 import("//build/config/mac/mac_sdk.gni")
10 } 10 }
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 "//device/nfc", 48 "//device/nfc",
49 "//mojo/environment:chromium", 49 "//mojo/environment:chromium",
50 "//net", 50 "//net",
51 "//testing/gmock", 51 "//testing/gmock",
52 "//testing/gtest", 52 "//testing/gtest",
53 "//third_party/mojo/src/mojo/edk/system", 53 "//third_party/mojo/src/mojo/edk/system",
54 "//third_party/mojo/src/mojo/public/cpp/bindings", 54 "//third_party/mojo/src/mojo/public/cpp/bindings",
55 "//url", 55 "//url",
56 ] 56 ]
57 57
58 if (is_android) {
59 deps += [ "//device/bluetooth/android" ]
60 }
61
58 if (!is_linux_without_dbus && !is_chromeos) { 62 if (!is_linux_without_dbus && !is_chromeos) {
59 sources += [ "battery/battery_status_manager_linux_unittest.cc" ] 63 sources += [ "battery/battery_status_manager_linux_unittest.cc" ]
60 } 64 }
61 65
62 # HID and Serial: 66 # HID and Serial:
63 # Android doesn't compile. 67 # Android doesn't compile.
64 # Linux, requires udev. 68 # Linux, requires udev.
65 if (!is_linux_without_udev && !is_android) { 69 if (!is_linux_without_udev && !is_android) {
66 sources += [ 70 sources += [
67 "hid/hid_connection_unittest.cc", 71 "hid/hid_connection_unittest.cc",
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 127
124 # In the OSX 10.10 SDK, CoreBluetooth became a top level framework. 128 # In the OSX 10.10 SDK, CoreBluetooth became a top level framework.
125 # Previously, it was nested in IOBluetooth. In order for Chrome to run on 129 # Previously, it was nested in IOBluetooth. In order for Chrome to run on
126 # OSes older than OSX 10.10, the top level CoreBluetooth framework must be 130 # OSes older than OSX 10.10, the top level CoreBluetooth framework must be
127 # weakly linked. 131 # weakly linked.
128 if (mac_sdk_version == "10.10") { 132 if (mac_sdk_version == "10.10") {
129 ldflags = [ "-weak_framework CoreBluetooth" ] 133 ldflags = [ "-weak_framework CoreBluetooth" ]
130 } 134 }
131 } 135 }
132 } 136 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698