| # Copyright 2016 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//third_party/WebKit/Source/modules/modules.gni") |
| |
| blink_modules_sources("sensor") { |
| sources = [ |
| "Accelerometer.cpp", |
| "Accelerometer.h", |
| "AccelerometerReading.cpp", |
| "AccelerometerReading.h", |
| "AmbientLightSensor.cpp", |
| "AmbientLightSensor.h", |
| "AmbientLightSensorReading.cpp", |
| "AmbientLightSensorReading.h", |
| "Gyroscope.cpp", |
| "Gyroscope.h", |
| "GyroscopeReading.cpp", |
| "GyroscopeReading.h", |
| "Magnetometer.cpp", |
| "Magnetometer.h", |
| "MagnetometerReading.cpp", |
| "MagnetometerReading.h", |
| "Sensor.cpp", |
| "Sensor.h", |
| "SensorErrorEvent.cpp", |
| "SensorErrorEvent.h", |
| "SensorProviderProxy.cpp", |
| "SensorProviderProxy.h", |
| "SensorProxy.cpp", |
| "SensorProxy.h", |
| "SensorReading.cpp", |
| "SensorReading.h", |
| "SensorUpdateNotificationStrategy.cpp", |
| "SensorUpdateNotificationStrategy.h", |
| ] |
| |
| deps = [ |
| "//device/base/synchronization", |
| "//device/generic_sensor/public/cpp", |
| "//device/generic_sensor/public/interfaces:interfaces_blink", |
| ] |
| } |