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

Side by Side Diff: device/device.gyp

Issue 11075006: Moved bluetooth adapter files to device/bluetooth/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2012 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 'variables': {
7 },
8 'targets': [
9 {
10 'target_name': 'bluetooth',
11 'type': '<(library)',
12 'dependencies': [
13 '../chrome/chrome_resources.gyp:chrome_strings',
14 '../third_party/libxml/libxml.gyp:libxml',
15 '../ui/ui.gyp:ui'
16 ],
17 'sources': [
18 'bluetooth/bluetooth_adapter.cc',
19 'bluetooth/bluetooth_adapter.h',
20 'bluetooth/bluetooth_adapter_chromeos.cc',
21 'bluetooth/bluetooth_adapter_chromeos.h',
22 'bluetooth/bluetooth_adapter_factory.cc',
23 'bluetooth/bluetooth_adapter_factory.h',
24 'bluetooth/bluetooth_device.cc',
25 'bluetooth/bluetooth_device.h',
26 'bluetooth/bluetooth_device_chromeos.cc',
27 'bluetooth/bluetooth_device_chromeos.h',
28 'bluetooth/bluetooth_service_record.cc',
29 'bluetooth/bluetooth_service_record.h',
30 'bluetooth/bluetooth_socket.h',
31 'bluetooth/bluetooth_socket_chromeos.cc',
32 'bluetooth/bluetooth_socket_chromeos.h',
33 'bluetooth/bluetooth_utils.cc',
34 'bluetooth/bluetooth_utils.h',
35 ],
36 'conditions': [
37 ['chromeos!=1', {
38 'sources!': [
39 # ChromeOs-only; exclude on other platforms.
40 'bluetooth/bluetooth_adapter_chromeos.cc',
41 'bluetooth/bluetooth_adapter_chromeos.h',
42 'bluetooth/bluetooth_device_chromeos.cc',
43 'bluetooth/bluetooth_device_chromeos.h',
44 'bluetooth/bluetooth_socket_chromeos.cc',
45 'bluetooth/bluetooth_socket_chromeos.h',
46 ]
47 }],
48 ['chromeos==1', {
49 'dependencies': [
50 'bluetooth_out_of_band_pairing_data',
51 '../build/linux/system.gyp:dbus-glib',
52 '../chromeos/chromeos.gyp:chromeos',
53 '../dbus/dbus.gyp:dbus',
54 ]
55 }],
56 ],
57 },
58 {
59 'target_name': 'bluetooth_out_of_band_pairing_data',
60 'type': 'static_library',
61 'sources': [
62 'bluetooth/bluetooth_out_of_band_pairing_data.h',
63 ],
64 },
65 {
66 'target_name': 'bluetooth_unit_tests',
67 'type': '<(gtest_target_type)',
68 'dependencies': [
69 'bluetooth',
70 'mock_bluetooth',
71 '../base/base.gyp:test_support_base',
72 '../chrome/common_constants.gyp:common_constants',
73 '../chrome/chrome.gyp:test_support_common',
74 '../content/content.gyp:test_support_content',
75 '../testing/gmock.gyp:gmock',
76 '../testing/gtest.gyp:gtest',
77 ],
78 'sources': [
79 'bluetooth/bluetooth_adapter_chromeos_unittest.cc',
80 'bluetooth/bluetooth_adapter_chromeos_devices_unittest.cc',
81 'bluetooth/bluetooth_service_record_unittest.cc',
82 'bluetooth/bluetooth_utils_unittest.cc',
83 'run_all_unittests.cc',
84 ],
85 'conditions': [
86 ['chromeos!=1', {
87 'sources!': [
88 # ChromeOs-only; exclude on other platforms.
89 'bluetooth/bluetooth_adapter_chromeos_unittest.cc',
90 'bluetooth/bluetooth_adapter_chromeos_devices_unittest.cc',
91 ]
92 }],
93 ['chromeos==1', {
94 'dependencies': [
95 '../build/linux/system.gyp:dbus-glib',
96 '../chromeos/chromeos.gyp:chromeos_test_support',
97 '../dbus/dbus.gyp:dbus',
98 ]
99 }],
100 ],
101 },
102 {
103 'target_name': 'mock_bluetooth',
bryeung 2012/10/10 15:03:53 I'd prefer bluetooth_mocks
youngki 2012/10/10 18:34:57 Done.
104 'type': '<(library)',
105 'dependencies': [
106 'bluetooth',
107 'bluetooth_out_of_band_pairing_data',
108 '../testing/gmock.gyp:gmock',
109 ],
110 'sources': [
111 'bluetooth/test/mock_bluetooth_adapter.cc',
112 'bluetooth/test/mock_bluetooth_adapter.h',
113 'bluetooth/test/mock_bluetooth_device.cc',
114 'bluetooth/test/mock_bluetooth_device.h',
115 ],
116 'include_dirs': [
117 '..',
118 ],
119 },
120 ],
121 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698