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

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: Fix so that this CL compiles on Windows. 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_out_of_band_pairing_data.h',
29 'bluetooth/bluetooth_service_record.cc',
30 'bluetooth/bluetooth_service_record.h',
31 'bluetooth/bluetooth_socket.h',
32 'bluetooth/bluetooth_socket_chromeos.cc',
33 'bluetooth/bluetooth_socket_chromeos.h',
34 'bluetooth/bluetooth_utils.cc',
35 'bluetooth/bluetooth_utils.h',
36 ],
37 'conditions': [
38 ['chromeos!=1', {
39 'sources!': [
40 # ChromeOs-only; exclude on other platforms.
41 'bluetooth/bluetooth_adapter_chromeos.cc',
42 'bluetooth/bluetooth_adapter_chromeos.h',
43 'bluetooth/bluetooth_device_chromeos.cc',
44 'bluetooth/bluetooth_device_chromeos.h',
45 'bluetooth/bluetooth_socket_chromeos.cc',
46 'bluetooth/bluetooth_socket_chromeos.h',
47 ]
48 }],
49 ['chromeos==1', {
50 'dependencies': [
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_mocks',
60 'type': '<(library)',
61 'dependencies': [
62 'bluetooth',
63 '../testing/gmock.gyp:gmock',
64 ],
65 'sources': [
66 'bluetooth/test/mock_bluetooth_adapter.cc',
67 'bluetooth/test/mock_bluetooth_adapter.h',
68 'bluetooth/test/mock_bluetooth_device.cc',
69 'bluetooth/test/mock_bluetooth_device.h',
70 ],
71 'include_dirs': [
72 '..',
73 ],
74 },
75 {
76 'target_name': 'bluetooth_unit_tests',
77 'type': '<(gtest_target_type)',
78 'dependencies': [
79 'bluetooth',
80 'bluetooth_mocks',
81 '../base/base.gyp:test_support_base',
82 '../content/content.gyp:test_support_content',
83 '../testing/gmock.gyp:gmock',
84 '../testing/gtest.gyp:gtest',
85 ],
86 'sources': [
87 'bluetooth/bluetooth_adapter_chromeos_unittest.cc',
88 'bluetooth/bluetooth_adapter_chromeos_devices_unittest.cc',
89 'bluetooth/bluetooth_service_record_unittest.cc',
90 'bluetooth/bluetooth_utils_unittest.cc',
91 'test/device_test_suite.cc',
92 'test/device_test_suite.h',
93 'test/run_all_unittests.cc',
94 ],
95 'conditions': [
96 ['chromeos!=1', {
97 'sources!': [
98 # ChromeOs-only; exclude on other platforms.
99 'bluetooth/bluetooth_adapter_chromeos_unittest.cc',
100 'bluetooth/bluetooth_adapter_chromeos_devices_unittest.cc',
101 ]
102 }],
103 ['chromeos==1', {
104 'dependencies': [
105 '../build/linux/system.gyp:dbus-glib',
106 '../chromeos/chromeos.gyp:chromeos_test_support',
107 '../dbus/dbus.gyp:dbus',
108 ]
109 }],
110 ],
111 },
112 ],
113 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698