| OLD | NEW |
| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 "//device/battery", | 45 "//device/battery", |
| 46 "//device/battery:mojo_bindings", | 46 "//device/battery:mojo_bindings", |
| 47 "//device/bluetooth", | 47 "//device/bluetooth", |
| 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 "//third_party/ocmock", |
| 55 "//url", | 56 "//url", |
| 56 ] | 57 ] |
| 57 | 58 |
| 58 if (!is_linux_without_dbus && !is_chromeos) { | 59 if (!is_linux_without_dbus && !is_chromeos) { |
| 59 sources += [ "battery/battery_status_manager_linux_unittest.cc" ] | 60 sources += [ "battery/battery_status_manager_linux_unittest.cc" ] |
| 60 } | 61 } |
| 61 | 62 |
| 62 # HID and Serial: | 63 # HID and Serial: |
| 63 # Android doesn't compile. | 64 # Android doesn't compile. |
| 64 # Linux, requires udev. | 65 # Linux, requires udev. |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 131 |
| 131 # In the OSX 10.10 SDK, CoreBluetooth became a top level framework. | 132 # In the OSX 10.10 SDK, CoreBluetooth became a top level framework. |
| 132 # Previously, it was nested in IOBluetooth. In order for Chrome to run on | 133 # Previously, it was nested in IOBluetooth. In order for Chrome to run on |
| 133 # OSes older than OSX 10.10, the top level CoreBluetooth framework must be | 134 # OSes older than OSX 10.10, the top level CoreBluetooth framework must be |
| 134 # weakly linked. | 135 # weakly linked. |
| 135 if (mac_sdk_version == "10.10") { | 136 if (mac_sdk_version == "10.10") { |
| 136 ldflags = [ "-weak_framework CoreBluetooth" ] | 137 ldflags = [ "-weak_framework CoreBluetooth" ] |
| 137 } | 138 } |
| 138 } | 139 } |
| 139 } | 140 } |
| OLD | NEW |