| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 "android/sensors_jni_registrar.h", | 63 "android/sensors_jni_registrar.h", |
| 64 ] | 64 ] |
| 65 | 65 |
| 66 deps += [ ":jni_headers" ] | 66 deps += [ ":jni_headers" ] |
| 67 } | 67 } |
| 68 | 68 |
| 69 if (is_mac || is_linux) { | 69 if (is_mac || is_linux) { |
| 70 deps += [ "//device/sensors/public/cpp" ] | 70 deps += [ "//device/sensors/public/cpp" ] |
| 71 } | 71 } |
| 72 | 72 |
| 73 if (is_linux) { |
| 74 sources += [ "generic_sensor_consts.h" ] |
| 75 } |
| 76 |
| 73 if (is_mac) { | 77 if (is_mac) { |
| 74 libs = [ "IOKit.framework" ] | 78 libs = [ "IOKit.framework" ] |
| 75 } | 79 } |
| 76 | 80 |
| 77 if (is_win) { | 81 if (is_win) { |
| 78 libs = [ | 82 libs = [ |
| 79 "portabledeviceguids.lib", | 83 "portabledeviceguids.lib", |
| 80 "sensorsapi.lib", | 84 "sensorsapi.lib", |
| 81 ] | 85 ] |
| 82 } | 86 } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 111 "fake_platform_sensor_provider.cc", | 115 "fake_platform_sensor_provider.cc", |
| 112 "fake_platform_sensor_provider.h", | 116 "fake_platform_sensor_provider.h", |
| 113 ] | 117 ] |
| 114 | 118 |
| 115 public_deps = [ | 119 public_deps = [ |
| 116 ":generic_sensor", | 120 ":generic_sensor", |
| 117 "//base", | 121 "//base", |
| 118 "//testing/gmock", | 122 "//testing/gmock", |
| 119 ] | 123 ] |
| 120 } | 124 } |
| OLD | NEW |