# Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//third_party/blink/renderer/modules/modules.gni")
blink_modules_sources("device_orientation") {
sources = [
"device_motion_controller.cc",
"device_motion_controller.h",
"device_motion_data.cc",
"device_motion_data.h",
"device_motion_event.cc",
"device_motion_event.h",
"device_motion_event_acceleration.cc",
"device_motion_event_acceleration.h",
"device_motion_event_pump.cc",
"device_motion_event_pump.h",
"device_motion_event_rotation_rate.cc",
"device_motion_event_rotation_rate.h",
"device_orientation_absolute_controller.cc",
"device_orientation_absolute_controller.h",
"device_orientation_controller.cc",
"device_orientation_controller.h",
"device_orientation_data.cc",
"device_orientation_data.h",
"device_orientation_event.cc",
"device_orientation_event.h",
"device_orientation_event_pump.cc",
"device_orientation_event_pump.h",
"device_orientation_inspector_agent.cc",
"device_orientation_inspector_agent.h",
"device_sensor_entry.cc",
"device_sensor_entry.h",
"device_sensor_event_pump.cc",
"device_sensor_event_pump.h",
"dom_window_device_motion.h",
"dom_window_device_orientation.h",
]
deps = [
"//services/device/public/cpp/generic_sensor",
"//services/device/public/mojom:generic_sensor",
"//third_party/blink/renderer/modules/permissions",
]
}