Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Side by Side Diff: third_party/libusb/BUILD.gn

Issue 595073002: Replace forward_dependent_configs with public_deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libpng/BUILD.gn ('k') | third_party/libwebp/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « third_party/libpng/BUILD.gn ('k') | third_party/libwebp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698