| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 if (is_android) { | 61 if (is_android) { |
| 62 sources += [ | 62 sources += [ |
| 63 "android/sensors_jni_registrar.cc", | 63 "android/sensors_jni_registrar.cc", |
| 64 "android/sensors_jni_registrar.h", | 64 "android/sensors_jni_registrar.h", |
| 65 ] | 65 ] |
| 66 | 66 |
| 67 deps += [ ":jni_headers" ] | 67 deps += [ ":jni_headers" ] |
| 68 } | 68 } |
| 69 | 69 |
| 70 if (is_mac) { | 70 if (is_mac) { |
| 71 deps += [ | 71 deps += [ "//third_party/sudden_motion_sensor" ] |
| 72 "//device/sensors/public/cpp:full", | |
| 73 "//third_party/sudden_motion_sensor", | |
| 74 ] | |
| 75 libs = [ | 72 libs = [ |
| 76 "CoreFoundation.framework", | 73 "CoreFoundation.framework", |
| 77 "IOKit.framework", | 74 "IOKit.framework", |
| 78 ] | 75 ] |
| 79 } | 76 } |
| 80 | 77 |
| 81 if (use_udev) { | 78 if (use_udev) { |
| 82 deps += [ | 79 deps += [ |
| 83 "//device/base", | 80 "//device/base", |
| 84 "//device/udev_linux", | 81 "//device/udev_linux", |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 "fake_platform_sensor_provider.cc", | 126 "fake_platform_sensor_provider.cc", |
| 130 "fake_platform_sensor_provider.h", | 127 "fake_platform_sensor_provider.h", |
| 131 ] | 128 ] |
| 132 | 129 |
| 133 public_deps = [ | 130 public_deps = [ |
| 134 ":generic_sensor", | 131 ":generic_sensor", |
| 135 "//base", | 132 "//base", |
| 136 "//testing/gmock", | 133 "//testing/gmock", |
| 137 ] | 134 ] |
| 138 } | 135 } |
| OLD | NEW |