From c71a881e2d13dd165f06b5a594e3a78477615ecd Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Fri, 5 Jul 2013 03:56:47 +0000 Subject: device: Gyp organization part 3 - final. Rename device.gyp to device_tests.gyp now that it only contain test targets. BUG=None R=bryeung@chromium.org, miket@chromium.org Review URL: https://codereview.chromium.org/18266002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210256 0039d316-1c4b-4281-b951-d872f2087c98 --- device/device.gyp | 62 ------------------------------------------------- device/device_tests.gyp | 62 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 62 deletions(-) delete mode 100644 device/device.gyp create mode 100644 device/device_tests.gyp (limited to 'device') diff --git a/device/device.gyp b/device/device.gyp deleted file mode 100644 index bdc387c..0000000 --- a/device/device.gyp +++ /dev/null @@ -1,62 +0,0 @@ -# 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': { - 'chromium_code': 1, - }, - 'targets': [ - { - 'target_name': 'device_unittests', - 'type': '<(gtest_target_type)', - 'dependencies': [ - '../base/base.gyp:test_support_base', - '../testing/gmock.gyp:gmock', - '../testing/gtest.gyp:gtest', - 'bluetooth/bluetooth.gyp:device_bluetooth', - 'bluetooth/bluetooth.gyp:device_bluetooth_mocks', - 'usb/usb.gyp:device_usb', - ], - 'sources': [ - 'bluetooth/bluetooth_adapter_mac_unittest.mm', - 'bluetooth/bluetooth_adapter_win_unittest.cc', - 'bluetooth/bluetooth_device_win_unittest.cc', - 'bluetooth/bluetooth_chromeos_unittest.cc', - 'bluetooth/bluetooth_profile_chromeos_unittest.cc', - 'bluetooth/bluetooth_service_record_mac_unittest.mm', - 'bluetooth/bluetooth_service_record_win_unittest.cc', - 'bluetooth/bluetooth_task_manager_win_unittest.cc', - 'bluetooth/bluetooth_utils_unittest.cc', - 'test/run_all_unittests.cc', - 'usb/usb_ids_unittest.cc', - ], - 'conditions': [ - ['chromeos==1', { - 'dependencies': [ - '../build/linux/system.gyp:dbus', - '../chromeos/chromeos.gyp:chromeos_test_support', - '../chromeos/chromeos.gyp:chromeos_test_support_without_gmock', - '../dbus/dbus.gyp:dbus', - ] - }], - ['OS=="mac"', { - 'link_settings': { - 'libraries': [ - '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework', - ], - }, - }], - ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { - 'conditions': [ - ['linux_use_tcmalloc == 1', { - 'dependencies': [ - '../base/allocator/allocator.gyp:allocator', - ], - }], - ], - }], - ], - }, - ], -} diff --git a/device/device_tests.gyp b/device/device_tests.gyp new file mode 100644 index 0000000..bdc387c --- /dev/null +++ b/device/device_tests.gyp @@ -0,0 +1,62 @@ +# 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': { + 'chromium_code': 1, + }, + 'targets': [ + { + 'target_name': 'device_unittests', + 'type': '<(gtest_target_type)', + 'dependencies': [ + '../base/base.gyp:test_support_base', + '../testing/gmock.gyp:gmock', + '../testing/gtest.gyp:gtest', + 'bluetooth/bluetooth.gyp:device_bluetooth', + 'bluetooth/bluetooth.gyp:device_bluetooth_mocks', + 'usb/usb.gyp:device_usb', + ], + 'sources': [ + 'bluetooth/bluetooth_adapter_mac_unittest.mm', + 'bluetooth/bluetooth_adapter_win_unittest.cc', + 'bluetooth/bluetooth_device_win_unittest.cc', + 'bluetooth/bluetooth_chromeos_unittest.cc', + 'bluetooth/bluetooth_profile_chromeos_unittest.cc', + 'bluetooth/bluetooth_service_record_mac_unittest.mm', + 'bluetooth/bluetooth_service_record_win_unittest.cc', + 'bluetooth/bluetooth_task_manager_win_unittest.cc', + 'bluetooth/bluetooth_utils_unittest.cc', + 'test/run_all_unittests.cc', + 'usb/usb_ids_unittest.cc', + ], + 'conditions': [ + ['chromeos==1', { + 'dependencies': [ + '../build/linux/system.gyp:dbus', + '../chromeos/chromeos.gyp:chromeos_test_support', + '../chromeos/chromeos.gyp:chromeos_test_support_without_gmock', + '../dbus/dbus.gyp:dbus', + ] + }], + ['OS=="mac"', { + 'link_settings': { + 'libraries': [ + '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework', + ], + }, + }], + ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { + 'conditions': [ + ['linux_use_tcmalloc == 1', { + 'dependencies': [ + '../base/allocator/allocator.gyp:allocator', + ], + }], + ], + }], + ], + }, + ], +} -- cgit v1.1