| Index: third_party/libusb/BUILD.gn
|
| diff --git a/third_party/libusb/BUILD.gn b/third_party/libusb/BUILD.gn
|
| index a415925f9ba4c4fd7c50d10b0361e0db17e2f522..dcb514c61db288a169631bc6f055ef1b53474bc3 100644
|
| --- a/third_party/libusb/BUILD.gn
|
| +++ b/third_party/libusb/BUILD.gn
|
| @@ -80,7 +80,12 @@ static_library("libusb") {
|
| }
|
|
|
| if (is_mac) {
|
| - defines += [ "OS_DARWIN=1" ]
|
| + defines += [
|
| + "OS_DARWIN=1",
|
| +
|
| + # Needed on OSX 10.12 to silence a deprecation warning.
|
| + "OBJC_SILENCE_GC_DEPRECATIONS=1",
|
| + ]
|
| } else {
|
| sources -= [
|
| "src/libusb/os/darwin_usb.c",
|
|
|