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

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

Issue 1961473003: [Mac/GN] Set up the component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 import("//build/config/features.gni") 4 import("//build/config/features.gni")
5 5
6 if (is_android) { 6 if (is_android) {
7 import("//build/config/android/rules.gni") # For generate_jni(). 7 import("//build/config/android/rules.gni") # For generate_jni().
8 } 8 }
9 9
10 config("bluetooth_config") { 10 config("bluetooth_config") {
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 if (is_android) { 150 if (is_android) {
151 deps += [ ":jni_headers" ] 151 deps += [ ":jni_headers" ]
152 } 152 }
153 153
154 if (is_chromeos) { 154 if (is_chromeos) {
155 deps += [ "//chromeos" ] 155 deps += [ "//chromeos" ]
156 } 156 }
157 157
158 if (is_mac) { 158 if (is_mac) {
159 libs = [ "IOBluetooth.framework" ] 159 libs = [
160 "IOBluetooth.framework",
161 "Foundation.framework",
162 ]
160 } 163 }
161 164
162 if (is_win) { 165 if (is_win) {
163 libs = [ 166 libs = [
164 # Bthprops must be listed before BluetoothApis or else delay loading 167 # Bthprops must be listed before BluetoothApis or else delay loading
165 # crashes. 168 # crashes.
166 "Bthprops.lib", 169 "Bthprops.lib",
167 "BluetoothApis.lib", 170 "BluetoothApis.lib",
168 "setupapi.lib", 171 "setupapi.lib",
169 ] 172 ]
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 jni_package = "bluetooth" 379 jni_package = "bluetooth"
377 } 380 }
378 381
379 android_library("java") { 382 android_library("java") {
380 java_files = java_sources_needing_jni 383 java_files = java_sources_needing_jni
381 deps = [ 384 deps = [
382 "//base:base_java", 385 "//base:base_java",
383 ] 386 ]
384 } 387 }
385 } 388 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698