Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Side by Side Diff: device/sensor/BUILD.gn

Issue 1892083002: Generic Sensor API : Ambient Light Sensor API. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//build/config/features.gni")
6 import("//mojo/public/tools/bindings/mojom.gni")
7
8 # On android, AmbientLightSensor mojo service is implemented directly in Java.
9 if (!is_android) {
10 component("sensor") {
11 output_name = "device_sensor"
12
13 sources = [
14 "sensor_export.h",
15 "sensor_impl.cc",
16 "sensor_impl.h",
17 "sensor_manager.h",
18 "sensor_manager_default.cc",
19 "sensor_service.cc",
20 "sensor_service.h",
21 ]
22
23 defines = [ "DEVICE_SENSOR_IMPLEMENTATION" ]
24
25 deps = [
26 ":mojo_bindings",
27 "//base",
28 "//base/third_party/dynamic_annotations",
29 "//mojo/edk/system",
30 "//mojo/public/cpp/bindings",
31 ]
32 }
33 }
34
35 mojom("mojo_bindings") {
36 sources = [
37 "als_reading.mojom",
38 "sensor.mojom",
39 ]
40 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698