xref: /aosp_15_r20/external/libusb/Xcode/debug.xcconfig (revision 86b64dcb59b3a0b37502ecd56e119234366a6f7e)
1*86b64dcbSAndroid Build Coastguard Worker//
2*86b64dcbSAndroid Build Coastguard Worker// libusb Xcode configuration file
3*86b64dcbSAndroid Build Coastguard Worker// Copyright © 2012 Pete Batard <[email protected]>
4*86b64dcbSAndroid Build Coastguard Worker// For more information, please visit: <https://libusb.info>
5*86b64dcbSAndroid Build Coastguard Worker//
6*86b64dcbSAndroid Build Coastguard Worker// This library is free software; you can redistribute it and/or
7*86b64dcbSAndroid Build Coastguard Worker// modify it under the terms of the GNU Lesser General Public
8*86b64dcbSAndroid Build Coastguard Worker// License as published by the Free Software Foundation; either
9*86b64dcbSAndroid Build Coastguard Worker// version 2.1 of the License, or (at your option) any later version.
10*86b64dcbSAndroid Build Coastguard Worker//
11*86b64dcbSAndroid Build Coastguard Worker// This library is distributed in the hope that it will be useful,
12*86b64dcbSAndroid Build Coastguard Worker// but WITHOUT ANY WARRANTY; without even the implied warranty of
13*86b64dcbSAndroid Build Coastguard Worker// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14*86b64dcbSAndroid Build Coastguard Worker// Lesser General Public License for more details.
15*86b64dcbSAndroid Build Coastguard Worker//
16*86b64dcbSAndroid Build Coastguard Worker// You should have received a copy of the GNU Lesser General Public
17*86b64dcbSAndroid Build Coastguard Worker// License along with this library; if not, write to the Free Software
18*86b64dcbSAndroid Build Coastguard Worker// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19*86b64dcbSAndroid Build Coastguard Worker
20*86b64dcbSAndroid Build Coastguard Worker#include "common.xcconfig"
21*86b64dcbSAndroid Build Coastguard Worker
22*86b64dcbSAndroid Build Coastguard Worker// Embed debug symbols in binary itself.
23*86b64dcbSAndroid Build Coastguard WorkerDEBUG_INFORMATION_FORMAT = dwarf
24*86b64dcbSAndroid Build Coastguard Worker
25*86b64dcbSAndroid Build Coastguard Worker// No optimizations in debug.
26*86b64dcbSAndroid Build Coastguard WorkerGCC_OPTIMIZATION_LEVEL = 0
27*86b64dcbSAndroid Build Coastguard Worker
28*86b64dcbSAndroid Build Coastguard Worker//
29*86b64dcbSAndroid Build Coastguard WorkerGCC_PREPROCESSOR_DEFINITIONS = $(inherited) DEBUG=1
30*86b64dcbSAndroid Build Coastguard Worker
31*86b64dcbSAndroid Build Coastguard Worker// No need for Universal Binaries in debug.
32*86b64dcbSAndroid Build Coastguard WorkerONLY_ACTIVE_ARCH = YES
33