| OLD | NEW |
| (Empty) |
| 1 # Copyright 2014 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/vibration:mojo_bindings | |
| 12 'target_name': 'device_vibration_mojo_bindings', | |
| 13 'type': 'static_library', | |
| 14 'includes': [ | |
| 15 '../../mojo/mojom_bindings_generator.gypi', | |
| 16 ], | |
| 17 'sources': [ | |
| 18 'vibration_manager.mojom', | |
| 19 ], | |
| 20 'variables': { | |
| 21 'use_new_wrapper_types': 'false', | |
| 22 }, | |
| 23 }, | |
| 24 { | |
| 25 # GN version: //device/vibration:mojo_bindings_blink | |
| 26 'target_name': 'device_vibration_mojo_bindings_for_blink', | |
| 27 'type': 'static_library', | |
| 28 'variables': { | |
| 29 'for_blink': 'true', | |
| 30 'use_new_wrapper_types': 'false', | |
| 31 }, | |
| 32 'includes': [ | |
| 33 '../../mojo/mojom_bindings_generator.gypi', | |
| 34 ], | |
| 35 'sources': [ | |
| 36 'vibration_manager.mojom', | |
| 37 ], | |
| 38 }, | |
| 39 { | |
| 40 # GN version: //device/vibration | |
| 41 'target_name': 'device_vibration', | |
| 42 'type': '<(component)', | |
| 43 'dependencies': [ | |
| 44 '../../base/base.gyp:base', | |
| 45 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | |
| 46 '../../mojo/mojo_edk.gyp:mojo_system_impl', | |
| 47 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', | |
| 48 'device_vibration_mojo_bindings', | |
| 49 ], | |
| 50 'defines': [ | |
| 51 'DEVICE_VIBRATION_IMPLEMENTATION', | |
| 52 ], | |
| 53 'sources': [ | |
| 54 'vibration_manager_impl.h', | |
| 55 'vibration_manager_impl_default.cc', | |
| 56 ], | |
| 57 'conditions': [ | |
| 58 ['OS == "android"', { | |
| 59 'dependencies': [ | |
| 60 'device_vibration_java', | |
| 61 ], | |
| 62 'sources!': [ | |
| 63 'vibration_manager_impl_default.cc', | |
| 64 ], | |
| 65 }], | |
| 66 ], | |
| 67 }, | |
| 68 ], | |
| 69 'conditions': [ | |
| 70 ['OS == "android"', { | |
| 71 'targets': [ | |
| 72 { | |
| 73 'target_name': 'device_vibration_java', | |
| 74 'type': 'none', | |
| 75 'dependencies': [ | |
| 76 '../../base/base.gyp:base', | |
| 77 '../../mojo/mojo_public.gyp:mojo_bindings_java', | |
| 78 'device_vibration_mojo_bindings', | |
| 79 ], | |
| 80 'variables': { | |
| 81 'java_in_dir': '../../device/vibration/android/java', | |
| 82 }, | |
| 83 'includes': [ '../../build/java.gypi' ], | |
| 84 }, | |
| 85 ], | |
| 86 }], | |
| 87 ], | |
| 88 } | |
| OLD | NEW |