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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 "src/msvc/inttypes.h", | 44 "src/msvc/inttypes.h", |
45 "src/msvc/stdint.h", | 45 "src/msvc/stdint.h", |
46 ] | 46 ] |
47 include_dirs = [ | 47 include_dirs = [ |
48 "src/libusb/os", | 48 "src/libusb/os", |
49 ] | 49 ] |
50 | 50 |
51 configs -= [ "//build/config/compiler:chromium_code" ] | 51 configs -= [ "//build/config/compiler:chromium_code" ] |
52 configs += [ "//build/config/compiler:no_chromium_code" ] | 52 configs += [ "//build/config/compiler:no_chromium_code" ] |
53 | 53 |
54 direct_dependent_configs = [ ":libusb_config" ] | 54 public_configs = [ ":libusb_config" ] |
55 | 55 |
56 if (is_posix) { | 56 if (is_posix) { |
57 defines = [ | 57 defines = [ |
58 "DEFAULT_VISIBILITY=", | 58 "DEFAULT_VISIBILITY=", |
59 "HAVE_GETTIMEOFDAY=1", | 59 "HAVE_GETTIMEOFDAY=1", |
60 "HAVE_POLL_H=1", | 60 "HAVE_POLL_H=1", |
61 "HAVE_SYS_TIME_H=1", | 61 "HAVE_SYS_TIME_H=1", |
62 "LIBUSB_DESCRIBE=\"1.0.16\"", | 62 "LIBUSB_DESCRIBE=\"1.0.16\"", |
63 "POLL_NFDS_TYPE=nfds_t", | 63 "POLL_NFDS_TYPE=nfds_t", |
64 "THREADS_POSIX=1", | 64 "THREADS_POSIX=1", |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 "src/libusb/os/threads_windows.h", | 105 "src/libusb/os/threads_windows.h", |
106 "src/libusb/os/windows_common.h", | 106 "src/libusb/os/windows_common.h", |
107 "src/libusb/os/windows_usb.c", | 107 "src/libusb/os/windows_usb.c", |
108 "src/libusb/os/windows_usb.h", | 108 "src/libusb/os/windows_usb.h", |
109 "src/msvc/config.h", | 109 "src/msvc/config.h", |
110 "src/msvc/inttypes.h", | 110 "src/msvc/inttypes.h", |
111 "src/msvc/stdint.h", | 111 "src/msvc/stdint.h", |
112 ] | 112 ] |
113 } | 113 } |
114 } | 114 } |
OLD | NEW |