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

Side by Side Diff: device/sensor/sensor.gyp

Issue 1892083002: Generic Sensor API : Ambient Light Sensor API. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: re entrancy fix Created 4 years, 7 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 {
6 'variables': {
7 'chromium_code': 1,
8 },
9 'targets': [
10 {
11 # GN version: //device/sensor:mojo_bindings
12 'target_name': 'device_sensor_mojo_bindings',
13 'type': 'static_library',
14 'includes': [
15 '../../mojo/mojom_bindings_generator.gypi',
16 ],
17 'sources': [
18 'als_reading.mojom',
19 'sensor.mojom',
20 ],
21 },
22 {
23 # GN version: //device/sensor:mojo_bindings_blink
24 'target_name': 'device_sensor_mojo_bindings_for_blink',
25 'type': 'static_library',
26 'variables': {
27 'for_blink': 'true',
28 },
29 'includes': [
30 '../../mojo/mojom_bindings_generator.gypi',
31 ],
32 'sources': [
33 'als_reading.mojom',
34 'sensor.mojom',
35 ],
36 },
37 {
38 # GN version: //device/sensor
39 'target_name': 'device_sensor',
40 'type': '<(component)',
41 'dependencies': [
42 '../../base/base.gyp:base',
43 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna mic_annotations',
44 '../../mojo/mojo_edk.gyp:mojo_system_impl',
45 '../../mojo/mojo_public.gyp:mojo_cpp_bindings',
46 'device_sensor_mojo_bindings',
47 ],
48 'defines': [
49 'DEVICE_SENSOR_IMPLEMENTATION',
50 ],
51 'sources': [
52 'sensor_impl.cc',
53 'sensor_impl.h',
54 'sensor_manager.h',
55 'sensor_manager_default.cc',
56 'sensor_service.cc',
57 'sensor_service.h',
58 ],
59 'conditions': [
60 ['OS == "android"', {
61 'dependencies': [
62 'device_sensor_java',
63 ],
64 }],
65 ],
66 },
67 ],
68 'conditions': [
69 ['OS == "android"', {
70 'targets': [
71 {
72 'target_name': 'device_sensor_java',
73 'type': 'none',
74 'dependencies': [
75 '../../base/base.gyp:base',
76 '../../mojo/mojo_public.gyp:mojo_bindings_java',
77 'device_sensor_mojo_bindings',
78 ],
79 'variables': {
80 'java_in_dir': '../../device/sensor/android/java',
81 },
82 'includes': [ '../../build/java.gypi' ],
83 },
84 ],
85 }],
86 ],
87 }
OLDNEW
« no previous file with comments | « device/sensor/android/java/src/org/chromium/device/sensor/AmbientLightSensorImpl.java ('k') | device/sensor/sensor.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698