OLD | NEW |
(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 'targets': [ |
| 7 { |
| 8 'target_name': 'web_bluetooth', |
| 9 'type': 'static_library', |
| 10 'dependencies': [ |
| 11 '../../base/base.gyp:base', |
| 12 '../../crypto/crypto.gyp:crypto', |
| 13 ], |
| 14 |
| 15 'sources': [ |
| 16 'web_bluetooth_device_id.cc', |
| 17 'web_bluetooth_device_id.h', |
| 18 ], |
| 19 }, |
| 20 ], |
| 21 'conditions': [ |
| 22 ['OS != "ios"', { |
| 23 'targets': [ |
| 24 { |
| 25 'target_name': 'web_bluetooth_interfaces_mojom', |
| 26 'type': 'none', |
| 27 'variables': { |
| 28 'mojom_files': [ |
| 29 'public/interfaces/web_bluetooth_device_id.mojom', |
| 30 ], |
| 31 'mojom_typemaps': [ |
| 32 'public/interfaces/web_bluetooth_device_id.typemap', |
| 33 ], |
| 34 }, |
| 35 'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ], |
| 36 }, |
| 37 { |
| 38 'target_name': 'web_bluetooth_interfaces_blink_mojom', |
| 39 'type': 'none', |
| 40 'variables': { |
| 41 'mojom_files': [ |
| 42 'public/interfaces/web_bluetooth_device_id.mojom', |
| 43 ], |
| 44 'for_blink': 'true', |
| 45 }, |
| 46 'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ], |
| 47 }, |
| 48 { |
| 49 'target_name': 'web_bluetooth_mojom', |
| 50 'type': 'static_library', |
| 51 'export_dependent_settings': [ |
| 52 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 53 ], |
| 54 'dependencies': [ |
| 55 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 56 'web_bluetooth_interfaces_blink_mojom', |
| 57 'web_bluetooth_interfaces_mojom', |
| 58 'web_bluetooth', |
| 59 ], |
| 60 }, |
| 61 ], |
| 62 }], |
| 63 ], |
| 64 } |
OLD | NEW |