Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: components/web_bluetooth/web_bluetooth.gyp

Issue 2019853002: bluetooth: Use WebBluetoothDeviceId instead of string (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-uuid-typemap
Patch Set: Fix build Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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',
+ ],
+ },
+ ],
+ }],
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698