| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 # GN version: //device/vibration:mojo_bindings | 11 # GN version: //components/installedapp:installedapp_mojo |
| 12 'target_name': 'device_vibration_mojo_bindings', | 12 'target_name': 'components_installedapp_mojo_bindings', |
| 13 'type': 'static_library', | 13 'type': 'static_library', |
| 14 'includes': [ | 14 'includes': [ |
| 15 '../../third_party/mojo/mojom_bindings_generator.gypi', | 15 '../../third_party/mojo/mojom_bindings_generator.gypi', |
| 16 ], | 16 ], |
| 17 'sources': [ | 17 'sources': [ |
| 18 'vibration_manager.mojom', | 18 'installed_app_provider.mojom', |
| 19 ], | 19 ], |
| 20 }, | 20 }, |
| 21 { | 21 { |
| 22 # GN version: //device/vibration | 22 # GN version: //components/installedapp |
| 23 'target_name': 'device_vibration', | 23 'target_name': 'components_installedapp', |
| 24 'type': '<(component)', | 24 'type': '<(component)', |
| 25 'dependencies': [ | 25 'dependencies': [ |
| 26 '../../base/base.gyp:base', | 26 '../../base/base.gyp:base', |
| 27 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | 27 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', |
| 28 '../../mojo/mojo_base.gyp:mojo_environment_chromium', | 28 '../../mojo/mojo_base.gyp:mojo_environment_chromium', |
| 29 '../../third_party/mojo/mojo_edk.gyp:mojo_system_impl', | 29 '../../third_party/mojo/mojo_edk.gyp:mojo_system_impl', |
| 30 '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', | 30 '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 31 'device_vibration_mojo_bindings', | 31 'components_installedapp_mojo_bindings', |
| 32 ], | 32 ], |
| 33 'defines': [ | 33 'defines': [ |
| 34 'DEVICE_VIBRATION_IMPLEMENTATION', | 34 'COMPONENTS_INSTALLEDAPP_IMPLEMENTATION', |
| 35 ], | 35 ], |
| 36 'sources': [ | 36 'sources': [ |
| 37 'vibration_manager_impl.h', | 37 'installed_app_provider_impl.h', |
| 38 'vibration_manager_impl_default.cc', | 38 'installed_app_provider_impl_default.cc', |
| 39 ], | 39 ], |
| 40 'conditions': [ | 40 'conditions': [ |
| 41 ['OS == "android"', { | 41 ['OS == "android"', { |
| 42 'dependencies': [ | 42 'dependencies': [ |
| 43 'device_vibration_java', | 43 'components_installedapp_java', |
| 44 ], | |
| 45 'sources!': [ | |
| 46 'vibration_manager_impl_default.cc', | |
| 47 ], | 44 ], |
| 48 }], | 45 }], |
| 49 ], | 46 ], |
| 50 }, | 47 }, |
| 51 ], | 48 ], |
| 52 'conditions': [ | 49 'conditions': [ |
| 53 ['OS == "android"', { | 50 ['OS == "android"', { |
| 54 'targets': [ | 51 'targets': [ |
| 55 { | 52 { |
| 56 'target_name': 'device_vibration_java', | 53 'target_name': 'components_installedapp_java', |
| 57 'type': 'none', | 54 'type': 'none', |
| 58 'dependencies': [ | 55 'dependencies': [ |
| 59 '../../base/base.gyp:base', | 56 '../../base/base.gyp:base', |
| 60 '../../third_party/mojo/mojo_public.gyp:mojo_bindings_java', | 57 '../../third_party/mojo/mojo_public.gyp:mojo_bindings_java', |
| 61 'device_vibration_mojo_bindings', | 58 'components_installedapp_mojo_bindings', |
| 62 ], | 59 ], |
| 63 'variables': { | 60 'variables': { |
| 64 'java_in_dir': '../../device/vibration/android/java', | 61 'java_in_dir': '../../components/installedapp/android/java', |
| 65 }, | 62 }, |
| 66 'includes': [ '../../build/java.gypi' ], | 63 'includes': [ '../../build/java.gypi' ], |
| 64 }, { |
| 65 'target_name': 'installedapp_junit_tests', |
| 66 'type': 'none', |
| 67 'dependencies': [ |
| 68 'components_installedapp_java', |
| 69 '../../base/base.gyp:base_java', |
| 70 '../../base/base.gyp:base_java_test_support', |
| 71 '../../testing/android/junit/junit_test.gyp:junit_test_support', |
| 72 ], |
| 73 'variables': { |
| 74 'main_class': 'org.chromium.testing.local.JunitTestMain', |
| 75 'src_paths': [ |
| 76 '../../components/installedapp/android/junit/' |
| 77 ], |
| 78 }, |
| 79 'includes': [ '../../build/host_jar.gypi' ], |
| 67 }, | 80 }, |
| 68 ], | 81 ], |
| 69 }], | 82 }], |
| 70 ], | 83 ], |
| 71 } | 84 } |
| OLD | NEW |