Index: components/web_bluetooth/web_bluetooth.gyp |
diff --git a/components/web_bluetooth/web_bluetooth.gyp b/components/web_bluetooth/web_bluetooth.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..71f31db0f9f45ea027ba46d591646ff77899303a |
--- /dev/null |
+++ b/components/web_bluetooth/web_bluetooth.gyp |
@@ -0,0 +1,64 @@ |
+# Copyright 2016 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+{ |
+ 'targets': [ |
+ { |
+ 'target_name': 'web_bluetooth', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ '../../base/base.gyp:base', |
+ '../../crypto/crypto.gyp:crypto', |
+ ], |
+ |
+ 'sources': [ |
+ 'web_bluetooth_device_id.cc', |
+ 'web_bluetooth_device_id.h', |
+ ], |
+ }, |
+ ], |
+ 'conditions': [ |
+ ['OS != "ios"', { |
+ 'targets': [ |
+ { |
+ 'target_name': 'web_bluetooth_interfaces_mojom', |
+ 'type': 'none', |
+ 'variables': { |
+ 'mojom_files': [ |
+ 'public/interfaces/web_bluetooth_device_id.mojom', |
+ ], |
+ 'mojom_typemaps': [ |
+ 'public/interfaces/web_bluetooth_device_id.typemap', |
+ ], |
+ }, |
+ 'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ], |
+ }, |
+ { |
+ 'target_name': 'web_bluetooth_interfaces_blink_mojom', |
+ 'type': 'none', |
+ 'variables': { |
+ 'mojom_files': [ |
+ 'public/interfaces/web_bluetooth_device_id.mojom', |
+ ], |
+ 'for_blink': 'true', |
+ }, |
+ 'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ], |
+ }, |
+ { |
+ 'target_name': 'web_bluetooth_mojom', |
+ 'type': 'static_library', |
+ 'export_dependent_settings': [ |
+ '../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
+ ], |
+ 'dependencies': [ |
+ '../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
+ 'web_bluetooth_interfaces_blink_mojom', |
+ 'web_bluetooth_interfaces_mojom', |
+ 'web_bluetooth', |
+ ], |
+ }, |
+ ], |
+ }], |
+ ], |
+} |