| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 | 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 if (is_android) { | 59 if (is_android) { |
| 60 sources += [ | 60 sources += [ |
| 61 "android/sensors_jni_registrar.cc", | 61 "android/sensors_jni_registrar.cc", |
| 62 "android/sensors_jni_registrar.h", | 62 "android/sensors_jni_registrar.h", |
| 63 ] | 63 ] |
| 64 | 64 |
| 65 deps += [ ":jni_headers" ] | 65 deps += [ ":jni_headers" ] |
| 66 } | 66 } |
| 67 | 67 |
| 68 if (is_mac) { | 68 if (is_mac) { |
| 69 deps += [ "//device/sensors/public/cpp:full" ] | 69 deps += [ "//services/device/public/cpp/sensors:full" ] |
| 70 libs = [ "IOKit.framework" ] | 70 libs = [ "IOKit.framework" ] |
| 71 } | 71 } |
| 72 | 72 |
| 73 if (use_udev) { | 73 if (use_udev) { |
| 74 deps += [ | 74 deps += [ |
| 75 "//device/base", | 75 "//device/base", |
| 76 "//device/udev_linux", | 76 "//device/udev_linux", |
| 77 ] | 77 ] |
| 78 | 78 |
| 79 sources += [ | 79 sources += [ |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 "fake_platform_sensor_provider.cc", | 121 "fake_platform_sensor_provider.cc", |
| 122 "fake_platform_sensor_provider.h", | 122 "fake_platform_sensor_provider.h", |
| 123 ] | 123 ] |
| 124 | 124 |
| 125 public_deps = [ | 125 public_deps = [ |
| 126 ":generic_sensor", | 126 ":generic_sensor", |
| 127 "//base", | 127 "//base", |
| 128 "//testing/gmock", | 128 "//testing/gmock", |
| 129 ] | 129 ] |
| 130 } | 130 } |
| OLD | NEW |