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

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: 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 {
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
24 'target_name': 'device_sensor',
25 'type': '<(component)',
26 'dependencies': [
27 '../../base/base.gyp:base',
28 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna mic_annotations',
29 '../../mojo/mojo_edk.gyp:mojo_system_impl',
30 '../../mojo/mojo_public.gyp:mojo_cpp_bindings',
31 'device_sensor_mojo_bindings',
32 ],
33 'defines': [
34 'DEVICE_SENSOR_IMPLEMENTATION',
35 ],
36 'sources': [
37 'sensor_impl.cc',
38 'sensor_impl.h',
39 'sensor_manager.h',
40 'sensor_manager_default.cc',
41 'sensor_service.cc',
42 'sensor_service.h',
43 ],
44 'conditions': [
45 ['OS == "android"', {
46 'dependencies': [
47 'device_sensor_java',
48 ],
49 }],
50 ],
51 },
52 ],
53 'conditions': [
54 ['OS == "android"', {
55 'targets': [
56 {
57 'target_name': 'device_sensor_java',
58 'type': 'none',
59 'dependencies': [
60 '../../base/base.gyp:base',
61 '../../mojo/mojo_public.gyp:mojo_bindings_java',
62 'device_sensor_mojo_bindings',
63 ],
64 'variables': {
65 'java_in_dir': '../../device/sensor/android/java',
66 },
67 'includes': [ '../../build/java.gypi' ],
68 },
69 ],
70 }],
71 ],
72 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698