diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-10 22:00:37 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-10 22:00:37 +0000 |
commit | b9f4c684a708d9d7e2f8076beb77b3382ae75667 (patch) | |
tree | 356760b8dc54a50c46d8af2fbc0414138331164a /components/usb_service | |
parent | 2501ca5dbd5f1a495b306937c7fed7c32698c943 (diff) | |
download | chromium_src-b9f4c684a708d9d7e2f8076beb77b3382ae75667.zip chromium_src-b9f4c684a708d9d7e2f8076beb77b3382ae75667.tar.gz chromium_src-b9f4c684a708d9d7e2f8076beb77b3382ae75667.tar.bz2 |
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
Diffstat (limited to 'components/usb_service')
-rw-r--r-- | components/usb_service/BUILD.gn | 37 |
1 files changed, 37 insertions, 0 deletions
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" ] + } +} |