From b9f4c684a708d9d7e2f8076beb77b3382ae75667 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Thu, 10 Jul 2014 22:00:37 +0000 Subject: Add components and CLD to GN build. New components: - rappor - data_reduction_proxy - captive_portal - translate - usb_service - web_modal Removes the _IMPLEMENTATION define for web_modal. It is unused (it is a static library, not a component). Adds third_party/cld and third_party/cld_2 BUILD files. Separates out the include dir setting of "//" and the root gen directory so. cld_2 needed to not have this due to base file name conflicts. R=jamesr@chromium.org Review URL: https://codereview.chromium.org/382663002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282438 0039d316-1c4b-4281-b951-d872f2087c98 --- components/usb_service/BUILD.gn | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 components/usb_service/BUILD.gn (limited to 'components/usb_service') diff --git a/components/usb_service/BUILD.gn b/components/usb_service/BUILD.gn new file mode 100644 index 0000000..6439d05 --- /dev/null +++ b/components/usb_service/BUILD.gn @@ -0,0 +1,37 @@ +# Copyright 2014 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. + +component("usb_service") { + sources = [ + "usb_context.cc", + "usb_context.h", + "usb_device_impl.cc", + "usb_device_impl.h", + "usb_device.h", + "usb_device_handle_impl.cc", + "usb_device_handle_impl.h", + "usb_device_handle.h", + "usb_error.cc", + "usb_error.h", + "usb_interface.h", + "usb_interface_impl.cc", + "usb_interface_impl.h", + "usb_service.h", + "usb_service_impl.cc", + ] + + defines = [ "USB_SERVICE_IMPLEMENTATION" ] + + deps = [ + "//base", + "//base/third_party/dynamic_annotations", + "//content/public/browser", + "//net", + "//third_party/libusb", + ] + + if (is_linux) { + configs += [ "//build/config/linux:udev" ] + } +} -- cgit v1.1