summaryrefslogtreecommitdiffstats
path: root/third_party/libusb
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-11 23:06:17 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-11 23:06:17 +0000
commit51f425785d503b53236c3597fd70bdc7d9b5ed27 (patch)
tree91ee53c7e02f0fee2e3ac7071c8e6eba5b5b88bd /third_party/libusb
parent164aa4ea183b18dbad33c2ab19bca9f1936153a2 (diff)
downloadchromium_src-51f425785d503b53236c3597fd70bdc7d9b5ed27.zip
chromium_src-51f425785d503b53236c3597fd70bdc7d9b5ed27.tar.gz
chromium_src-51f425785d503b53236c3597fd70bdc7d9b5ed27.tar.bz2
GN Windows build fixes
This also removes some patterns from the sources assignment filter, and adds scary comments not to make it bigger. The GYP version of this is out of control so I want to set a clear policy of what is included and not. I removed X-related stuff from the filter (there are only about 50 files around the tree) and added manual rules for the affected files. BUG= R=scottmg@chromium.org Review URL: https://codereview.chromium.org/235983002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263394 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/libusb')
-rw-r--r--third_party/libusb/BUILD.gn4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/libusb/BUILD.gn b/third_party/libusb/BUILD.gn
index 837e53c..27761ef 100644
--- a/third_party/libusb/BUILD.gn
+++ b/third_party/libusb/BUILD.gn
@@ -91,6 +91,10 @@ static_library("libusb") {
if (is_win) {
include_dirs += [ "src/msvc" ]
+ sources -= [
+ "src/libusb/os/poll_posix.c",
+ "src/libusb/os/threads_posix.c",
+ ]
} else {
include_dirs += [ "src" ]
sources -= [