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

Unified Diff: device/bluetooth/bluetooth.gyp

Issue 16231013: device: Restructure the layout of gyp files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: doh forgot to rename the principal - the target Created 7 years, 7 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
« no previous file with comments | « chrome/tools/check_grd_for_unused_strings.py ('k') | device/bluetooth/bluetooth_strings.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth.gyp
diff --git a/device/bluetooth/bluetooth.gyp b/device/bluetooth/bluetooth.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..cd4788b6262a3b16cc41818a3faea892cec61b4f
--- /dev/null
+++ b/device/bluetooth/bluetooth.gyp
@@ -0,0 +1,121 @@
+# Copyright 2013 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.
+
+{
+ 'variables': {
+ 'chromium_code': 1,
+ },
+ 'targets': [
+ {
+ 'target_name': 'device_bluetooth',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../../base/base.gyp:base',
+ '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
+ '../../net/net.gyp:net',
+ '../../third_party/libxml/libxml.gyp:libxml',
+ '../../ui/ui.gyp:ui',
+ 'bluetooth_strings.gyp:device_bluetooth_strings',
+ ],
+ 'sources': [
+ 'bluetooth_adapter.cc',
+ 'bluetooth_adapter.h',
+ 'bluetooth_adapter_experimental_chromeos.cc',
+ 'bluetooth_adapter_experimental_chromeos.h',
+ 'bluetooth_adapter_factory.cc',
+ 'bluetooth_adapter_factory.h',
+ 'bluetooth_adapter_mac.h',
+ 'bluetooth_adapter_mac.mm',
+ 'bluetooth_adapter_win.cc',
+ 'bluetooth_adapter_win.h',
+ 'bluetooth_device.cc',
+ 'bluetooth_device.h',
+ 'bluetooth_device_experimental_chromeos.cc',
+ 'bluetooth_device_experimental_chromeos.h',
+ 'bluetooth_device_mac.h',
+ 'bluetooth_device_mac.mm',
+ 'bluetooth_device_win.cc',
+ 'bluetooth_device_win.h',
+ 'bluetooth_init_win.cc',
+ 'bluetooth_init_win.h',
+ 'bluetooth_out_of_band_pairing_data.h',
+ 'bluetooth_profile.cc',
+ 'bluetooth_profile.h',
+ 'bluetooth_profile_experimental_chromeos.cc',
+ 'bluetooth_profile_experimental_chromeos.h',
+ 'bluetooth_profile_mac.h',
+ 'bluetooth_profile_mac.mm',
+ 'bluetooth_profile_win.cc',
+ 'bluetooth_profile_win.h',
+ 'bluetooth_service_record.cc',
+ 'bluetooth_service_record.h',
+ 'bluetooth_service_record_mac.h',
+ 'bluetooth_service_record_mac.mm',
+ 'bluetooth_service_record_win.cc',
+ 'bluetooth_service_record_win.h',
+ 'bluetooth_socket.h',
+ 'bluetooth_socket_experimental_chromeos.cc',
+ 'bluetooth_socket_experimental_chromeos.h',
+ 'bluetooth_socket_mac.h',
+ 'bluetooth_socket_mac.mm',
+ 'bluetooth_socket_win.cc',
+ 'bluetooth_socket_win.h',
+ 'bluetooth_task_manager_win.cc',
+ 'bluetooth_task_manager_win.h',
+ 'bluetooth_utils.cc',
+ 'bluetooth_utils.h',
+ ],
+ 'conditions': [
+ ['chromeos==1', {
+ 'dependencies': [
+ '../../build/linux/system.gyp:dbus',
+ '../../chromeos/chromeos.gyp:chromeos',
+ '../../dbus/dbus.gyp:dbus',
+ ]
+ }],
+ ['OS=="win"', {
+ 'all_dependent_settings': {
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'DelayLoadDLLs': [
+ # Despite MSDN stating that Bthprops.dll contains the
+ # symbols declared by bthprops.lib, they actually reside here:
+ 'Bthprops.cpl',
+ ],
+ },
+ },
+ },
+ }],
+ ['OS=="mac"', {
+ 'link_settings': {
+ 'libraries': [
+ '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework',
+ ],
+ },
+ }],
+ ],
+ },
+ {
+ 'target_name': 'device_bluetooth_mocks',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../../testing/gmock.gyp:gmock',
+ 'device_bluetooth',
+ ],
+ 'include_dirs': [
+ '../../',
+ ],
+ 'sources': [
+ 'test/mock_bluetooth_adapter.cc',
+ 'test/mock_bluetooth_adapter.h',
+ 'test/mock_bluetooth_device.cc',
+ 'test/mock_bluetooth_device.h',
+ 'test/mock_bluetooth_profile.cc',
+ 'test/mock_bluetooth_profile.h',
+ 'test/mock_bluetooth_socket.cc',
+ 'test/mock_bluetooth_socket.h',
+ ],
+ },
+ ],
+}
« no previous file with comments | « chrome/tools/check_grd_for_unused_strings.py ('k') | device/bluetooth/bluetooth_strings.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698