| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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 20 matching lines...) Expand all Loading... |
| 31 "sensor_manager_android.cc", | 31 "sensor_manager_android.cc", |
| 32 "sensor_manager_android.h", | 32 "sensor_manager_android.h", |
| 33 "sensor_manager_chromeos.cc", | 33 "sensor_manager_chromeos.cc", |
| 34 "sensor_manager_chromeos.h", | 34 "sensor_manager_chromeos.h", |
| 35 ] | 35 ] |
| 36 | 36 |
| 37 defines = [ "DEVICE_SENSOR_IMPLEMENTATION" ] | 37 defines = [ "DEVICE_SENSOR_IMPLEMENTATION" ] |
| 38 | 38 |
| 39 deps = [ | 39 deps = [ |
| 40 "//base", | 40 "//base", |
| 41 "//device/sensors/public/cpp", | 41 "//device/sensors/public/cpp:full", |
| 42 "//mojo/public/cpp/bindings", | 42 "//mojo/public/cpp/bindings", |
| 43 ] | 43 ] |
| 44 | 44 |
| 45 public_deps = [ | 45 public_deps = [ |
| 46 "//device/sensors/public/interfaces", | 46 "//device/sensors/public/interfaces", |
| 47 ] | 47 ] |
| 48 | 48 |
| 49 if (is_win) { | 49 if (is_win) { |
| 50 sources -= [ "data_fetcher_shared_memory_default.cc" ] | 50 sources -= [ "data_fetcher_shared_memory_default.cc" ] |
| 51 libs = [ | 51 libs = [ |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 ] | 101 ] |
| 102 } | 102 } |
| 103 | 103 |
| 104 java_cpp_enum("device_sensors_android_java_enums_srcjar") { | 104 java_cpp_enum("device_sensors_android_java_enums_srcjar") { |
| 105 sources = [ | 105 sources = [ |
| 106 "device_sensors_consts.h", | 106 "device_sensors_consts.h", |
| 107 "sensor_manager_android.h", | 107 "sensor_manager_android.h", |
| 108 ] | 108 ] |
| 109 } | 109 } |
| 110 } | 110 } |
| OLD | NEW |