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

Unified 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: renamed 'bluetooth' target to 'device_bluetooth'. 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 side-by-side diff with in-line comments
Download patch
Index: device/device.gyp
diff --git a/device/device.gyp b/device/device.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..4b4c1adf23eb208a5fbcd0ce6f9470eda539312b
--- /dev/null
+++ b/device/device.gyp
@@ -0,0 +1,111 @@
+# Copyright (c) 2012 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': {
tfarina 2013/02/17 16:42:49 why did you add this if you are not creating any v
youngki 2013/02/20 21:23:24 http://code.google.com/searchframe#OAMlx_jo-ck/src
+ },
+ 'targets': [
+ {
+ 'target_name': 'device_bluetooth',
+ 'type': '<(library)',
+ 'dependencies': [
+ '../chrome/chrome_resources.gyp:chrome_strings',
tfarina 2013/02/17 16:42:49 it would be cool to create your own resources file
youngki 2013/02/20 21:23:24 created a bug: https://code.google.com/p/chromium/
+ '../third_party/libxml/libxml.gyp:libxml',
+ '../ui/ui.gyp:ui'
+ ],
+ 'sources': [
+ 'bluetooth/bluetooth_adapter.cc',
+ 'bluetooth/bluetooth_adapter.h',
+ 'bluetooth/bluetooth_adapter_chromeos.cc',
+ 'bluetooth/bluetooth_adapter_chromeos.h',
+ 'bluetooth/bluetooth_adapter_factory.cc',
+ 'bluetooth/bluetooth_adapter_factory.h',
+ 'bluetooth/bluetooth_device.cc',
+ 'bluetooth/bluetooth_device.h',
+ 'bluetooth/bluetooth_device_chromeos.cc',
+ 'bluetooth/bluetooth_device_chromeos.h',
+ 'bluetooth/bluetooth_out_of_band_pairing_data.h',
+ 'bluetooth/bluetooth_service_record.cc',
+ 'bluetooth/bluetooth_service_record.h',
+ 'bluetooth/bluetooth_socket.h',
+ 'bluetooth/bluetooth_socket_chromeos.cc',
+ 'bluetooth/bluetooth_socket_chromeos.h',
+ 'bluetooth/bluetooth_utils.cc',
+ 'bluetooth/bluetooth_utils.h',
+ ],
+ 'conditions': [
+ ['chromeos==0', {
+ 'sources!': [
+ # ChromeOs-only; exclude on other platforms.
+ 'bluetooth/bluetooth_adapter_chromeos.cc',
+ 'bluetooth/bluetooth_adapter_chromeos.h',
+ 'bluetooth/bluetooth_device_chromeos.cc',
+ 'bluetooth/bluetooth_device_chromeos.h',
+ 'bluetooth/bluetooth_socket_chromeos.cc',
+ 'bluetooth/bluetooth_socket_chromeos.h',
+ ]
+ }, { # chromeos==1
+ 'dependencies': [
+ '../build/linux/system.gyp:dbus-glib',
+ '../chromeos/chromeos.gyp:chromeos',
+ '../dbus/dbus.gyp:dbus',
+ ]
+ }],
+ ],
+ },
+ {
+ 'target_name': 'device_bluetooth_mocks',
+ 'type': '<(library)',
+ 'dependencies': [
+ 'device_bluetooth',
+ '../testing/gmock.gyp:gmock',
+ ],
+ 'sources': [
+ 'bluetooth/test/mock_bluetooth_adapter.cc',
+ 'bluetooth/test/mock_bluetooth_adapter.h',
+ 'bluetooth/test/mock_bluetooth_device.cc',
+ 'bluetooth/test/mock_bluetooth_device.h',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ },
+ {
+ 'target_name': 'device_unittests',
+ 'type': '<(gtest_target_type)',
+ 'dependencies': [
+ 'device_bluetooth',
+ 'device_bluetooth_mocks',
+ '../base/base.gyp:test_support_base',
+ '../content/content.gyp:test_support_content',
+ '../testing/gmock.gyp:gmock',
+ '../testing/gtest.gyp:gtest',
+ ],
+ 'sources': [
+ 'bluetooth/bluetooth_adapter_chromeos_unittest.cc',
+ 'bluetooth/bluetooth_adapter_chromeos_devices_unittest.cc',
+ 'bluetooth/bluetooth_service_record_unittest.cc',
+ 'bluetooth/bluetooth_utils_unittest.cc',
+ 'test/device_test_suite.cc',
+ 'test/device_test_suite.h',
+ 'test/run_all_unittests.cc',
+ ],
+ 'conditions': [
+ ['chromeos==0', {
+ 'sources!': [
+ # ChromeOs-only; exclude on other platforms.
+ 'bluetooth/bluetooth_adapter_chromeos_unittest.cc',
+ 'bluetooth/bluetooth_adapter_chromeos_devices_unittest.cc',
+ ]
+ }, { # chromeos==1
+ 'dependencies': [
+ '../build/linux/system.gyp:dbus-glib',
+ '../chromeos/chromeos.gyp:chromeos_test_support',
+ '../dbus/dbus.gyp:dbus',
+ ]
+ }],
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698