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