| OLD | NEW |
| 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 | 4 |
| 5 import("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
| 6 | 6 |
| 7 if (is_android) { | 7 if (is_android) { |
| 8 import("//build/config/android/rules.gni") # For generate_jni(). | 8 import("//build/config/android/rules.gni") # For generate_jni(). |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 ] | 122 ] |
| 123 | 123 |
| 124 defines = [ "DEVICE_BLUETOOTH_IMPLEMENTATION" ] | 124 defines = [ "DEVICE_BLUETOOTH_IMPLEMENTATION" ] |
| 125 | 125 |
| 126 all_dependent_configs = [ ":bluetooth_config" ] | 126 all_dependent_configs = [ ":bluetooth_config" ] |
| 127 | 127 |
| 128 deps = [ | 128 deps = [ |
| 129 ":strings", | 129 ":strings", |
| 130 "uribeacon", | 130 "uribeacon", |
| 131 "//base", | 131 "//base", |
| 132 "//crypto", |
| 132 "//net", | 133 "//net", |
| 133 "//ui/base", | 134 "//ui/base", |
| 134 ] | 135 ] |
| 135 | 136 |
| 136 if (is_android) { | 137 if (is_android) { |
| 137 deps += [ ":bluetooth_jni" ] | 138 deps += [ ":bluetooth_jni" ] |
| 138 } | 139 } |
| 139 | 140 |
| 140 if (is_chromeos) { | 141 if (is_chromeos) { |
| 141 deps += [ | 142 deps += [ |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 } | 251 } |
| 251 | 252 |
| 252 if (is_android) { | 253 if (is_android) { |
| 253 generate_jni("bluetooth_jni") { | 254 generate_jni("bluetooth_jni") { |
| 254 sources = [ | 255 sources = [ |
| 255 "android/java/src/org/chromium/device/bluetooth/BluetoothAdapter.java", | 256 "android/java/src/org/chromium/device/bluetooth/BluetoothAdapter.java", |
| 256 ] | 257 ] |
| 257 jni_package = "bluetooth" | 258 jni_package = "bluetooth" |
| 258 } | 259 } |
| 259 } | 260 } |
| OLD | NEW |