OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'mojom_files': [ | 8 'mojom_files': [ |
9 'public/interfaces/light.mojom', | 9 'public/interfaces/light.mojom', |
10 'public/interfaces/motion.mojom', | 10 'public/interfaces/motion.mojom', |
11 'public/interfaces/orientation.mojom', | 11 'public/interfaces/orientation.mojom', |
12 ], | 12 ], |
13 }, | 13 }, |
14 'targets': [ | 14 'targets': [ |
15 { | 15 { |
16 'target_name': 'device_sensors_mojo_bindings', | 16 'target_name': 'device_sensors_mojo_bindings', |
17 'type': 'static_library', | 17 'type': 'static_library', |
18 'sources': [ '<@(mojom_files)' ], | 18 'sources': [ '<@(mojom_files)' ], |
19 'includes': [ | 19 'includes': [ |
20 '../../mojo/mojom_bindings_generator.gypi', | 20 '../../mojo/mojom_bindings_generator.gypi', |
21 ], | 21 ], |
| 22 'variables': { |
| 23 'use_new_wrapper_types': 'false', |
| 24 }, |
22 }, | 25 }, |
23 { | 26 { |
24 'target_name': 'device_sensors_mojo_bindings_for_blink', | 27 'target_name': 'device_sensors_mojo_bindings_for_blink', |
25 'type': 'static_library', | 28 'type': 'static_library', |
26 'sources': [ '<@(mojom_files)' ], | 29 'sources': [ '<@(mojom_files)' ], |
27 'variables': { | 30 'variables': { |
28 'for_blink': 'true', | 31 'for_blink': 'true', |
| 32 'use_new_wrapper_types': 'false', |
29 }, | 33 }, |
30 'includes': [ | 34 'includes': [ |
31 '../../mojo/mojom_bindings_generator.gypi', | 35 '../../mojo/mojom_bindings_generator.gypi', |
32 ], | 36 ], |
33 }, | 37 }, |
34 ], | 38 ], |
35 } | 39 } |
OLD | NEW |