OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 config("libusb_config") { | 5 config("libusb_config") { |
6 include_dirs = [ | 6 include_dirs = [ |
7 "src/libusb", | 7 "src/libusb", |
8 ] | 8 ] |
9 } | 9 } |
10 | 10 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
84 } else { | 84 } else { |
85 sources -= [ | 85 sources -= [ |
86 "src/libusb/os/linux_udev.c", | 86 "src/libusb/os/linux_udev.c", |
87 "src/libusb/os/linux_usbfs.c", | 87 "src/libusb/os/linux_usbfs.c", |
88 "src/libusb/os/linux_usbfs.h", | 88 "src/libusb/os/linux_usbfs.h", |
89 ] | 89 ] |
90 } | 90 } |
91 | 91 |
92 if (is_win) { | 92 if (is_win) { |
93 include_dirs += [ "src/msvc" ] | 93 include_dirs += [ "src/msvc" ] |
94 sources -= [ | |
95 "src/libusb/os/poll_posix.c", | |
scottmg
2014/04/11 21:43:26
why aren't these filtered by the set_assignment_fi
brettw
2014/04/11 23:05:00
They're .c files. The filter only has .cc in it no
scottmg
2014/04/11 23:12:31
Ah, missed that. Makes sense I guess, but I feel l
| |
96 "src/libusb/os/threads_posix.c", | |
97 ] | |
94 } else { | 98 } else { |
95 include_dirs += [ "src" ] | 99 include_dirs += [ "src" ] |
96 sources -= [ | 100 sources -= [ |
97 "src/libusb/os/poll_windows.c", | 101 "src/libusb/os/poll_windows.c", |
98 "src/libusb/os/poll_windows.h", | 102 "src/libusb/os/poll_windows.h", |
99 "src/libusb/os/threads_windows.c", | 103 "src/libusb/os/threads_windows.c", |
100 "src/libusb/os/threads_windows.h", | 104 "src/libusb/os/threads_windows.h", |
101 "src/libusb/os/windows_common.h", | 105 "src/libusb/os/windows_common.h", |
102 "src/libusb/os/windows_usb.c", | 106 "src/libusb/os/windows_usb.c", |
103 "src/libusb/os/windows_usb.h", | 107 "src/libusb/os/windows_usb.h", |
104 "src/msvc/config.h", | 108 "src/msvc/config.h", |
105 "src/msvc/inttypes.h", | 109 "src/msvc/inttypes.h", |
106 "src/msvc/stdint.h", | 110 "src/msvc/stdint.h", |
107 ] | 111 ] |
108 } | 112 } |
109 } | 113 } |
OLD | NEW |