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

Side by Side Diff: device/BUILD.gn

Issue 1668233004: Refactor bluetooth_task_manager_win to prepare for new Bluetooth test fixture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 10 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
« no previous file with comments | « no previous file | device/bluetooth/BUILD.gn » ('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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 if (mac_sdk_version == "10.10") { 176 if (mac_sdk_version == "10.10") {
177 ldflags += [ 177 ldflags += [
178 "-weak_framework", 178 "-weak_framework",
179 "CoreBluetooth", 179 "CoreBluetooth",
180 ] 180 ]
181 } 181 }
182 } 182 }
183 183
184 if (is_win) { 184 if (is_win) {
185 sources += [ 185 sources += [
186 "bluetooth/bluetooth_classic_win_fake.cc",
187 "bluetooth/bluetooth_classic_win_fake.h",
186 "bluetooth/bluetooth_low_energy_win_fake.cc", 188 "bluetooth/bluetooth_low_energy_win_fake.cc",
187 "bluetooth/bluetooth_low_energy_win_fake.h", 189 "bluetooth/bluetooth_low_energy_win_fake.h",
188 ] 190 ]
189 } 191 }
190 } 192 }
191 193
192 if (is_android) { 194 if (is_android) {
193 bluetooth_java_sources_needing_jni = [ "bluetooth/test/android/java/src/org/ch romium/device/bluetooth/Fakes.java" ] 195 bluetooth_java_sources_needing_jni = [ "bluetooth/test/android/java/src/org/ch romium/device/bluetooth/Fakes.java" ]
194 196
195 generate_jni("bluetooth_test_jni_headers") { 197 generate_jni("bluetooth_test_jni_headers") {
196 sources = bluetooth_java_sources_needing_jni 198 sources = bluetooth_java_sources_needing_jni
197 jni_package = "bluetooth" 199 jni_package = "bluetooth"
198 } 200 }
199 201
200 android_library("bluetooth_test_java") { 202 android_library("bluetooth_test_java") {
201 java_files = bluetooth_java_sources_needing_jni 203 java_files = bluetooth_java_sources_needing_jni
202 deps = [ 204 deps = [
203 "//base:base_java", 205 "//base:base_java",
204 "//device/bluetooth:java", 206 "//device/bluetooth:java",
205 ] 207 ]
206 } 208 }
207 } 209 }
OLDNEW
« no previous file with comments | « no previous file | device/bluetooth/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698