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

Side by Side Diff: device/BUILD.gn

Issue 1502943003: Check use_dbus==1 when compiling dbus dependent bluetooth unittests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 years 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
« no previous file with comments | « no previous file | device/device_tests.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") # For generate_jni(). 9 import("//build/config/android/rules.gni") # For generate_jni().
10 } 10 }
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 } 148 }
149 149
150 if (is_chromeos) { 150 if (is_chromeos) {
151 deps += [ 151 deps += [
152 "//chromeos", 152 "//chromeos",
153 "//chromeos:test_support", 153 "//chromeos:test_support",
154 "//chromeos:test_support_without_gmock", 154 "//chromeos:test_support_without_gmock",
155 ] 155 ]
156 } 156 }
157 157
158 if (is_chromeos || is_linux) { 158 if ((is_chromeos || is_linux) && use_dbus) {
159 configs += [ "//build/config/linux:dbus" ] 159 configs += [ "//build/config/linux:dbus" ]
160 160
161 sources += [ 161 sources += [
162 "bluetooth/bluetooth_adapter_profile_bluez_unittest.cc", 162 "bluetooth/bluetooth_adapter_profile_bluez_unittest.cc",
163 "bluetooth/bluetooth_advertisement_bluez_unittest.cc", 163 "bluetooth/bluetooth_advertisement_bluez_unittest.cc",
164 "bluetooth/bluetooth_audio_sink_bluez_unittest.cc", 164 "bluetooth/bluetooth_audio_sink_bluez_unittest.cc",
165 "bluetooth/bluetooth_bluez_unittest.cc", 165 "bluetooth/bluetooth_bluez_unittest.cc",
166 "bluetooth/bluetooth_gatt_bluez_unittest.cc", 166 "bluetooth/bluetooth_gatt_bluez_unittest.cc",
167 "bluetooth/bluetooth_socket_bluez_unittest.cc", 167 "bluetooth/bluetooth_socket_bluez_unittest.cc",
168 ] 168 ]
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 } 201 }
202 202
203 android_library("bluetooth_test_java") { 203 android_library("bluetooth_test_java") {
204 java_files = bluetooth_java_sources_needing_jni 204 java_files = bluetooth_java_sources_needing_jni
205 deps = [ 205 deps = [
206 "//base:base_java", 206 "//base:base_java",
207 "//device/bluetooth:java", 207 "//device/bluetooth:java",
208 ] 208 ]
209 } 209 }
210 } 210 }
OLDNEW
« no previous file with comments | « no previous file | device/device_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698