| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 += [ |
| 80 "linux/platform_sensor_manager.cc", | 80 "linux/sensor_device_manager.cc", |
| 81 "linux/platform_sensor_manager.h", | 81 "linux/sensor_device_manager.h", |
| 82 "platform_sensor_provider_linux.cc", | 82 "platform_sensor_provider_linux.cc", |
| 83 "platform_sensor_provider_linux.h", | 83 "platform_sensor_provider_linux.h", |
| 84 ] | 84 ] |
| 85 } | 85 } |
| 86 | 86 |
| 87 if (is_win) { | 87 if (is_win) { |
| 88 libs = [ | 88 libs = [ |
| 89 "portabledeviceguids.lib", | 89 "portabledeviceguids.lib", |
| 90 "sensorsapi.lib", | 90 "sensorsapi.lib", |
| 91 ] | 91 ] |
| (...skipping 29 matching lines...) Expand all 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 |