OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 { | |
5 'targets' : [ | |
6 { | |
7 # GN version: //ios/third_party/gcdwebserver | |
8 'target_name' : 'gcdwebserver', | |
9 'type': 'static_library', | |
10 'include_dirs': [ | |
11 'src/GCDWebServer/Core', | |
12 'src/GCDWebServer/Requests', | |
13 'src/GCDWebServer/Responses', | |
14 ], | |
15 'direct_dependent_settings': { | |
16 'include_dirs': [ | |
17 'src/GCDWebServer/Core', | |
18 'src/GCDWebServer/Requests', | |
19 'src/GCDWebServer/Responses', | |
20 ], | |
21 }, | |
22 'xcode_settings': { | |
23 'CLANG_ENABLE_OBJC_ARC': 'YES', | |
24 # TODO(crbug.com/569158): Suppresses warnings that are treated as errors | |
25 # when minimum iOS version support is increased to iOS 9 and up. | |
26 # This should be removed once all deprecation violations have been fixed
. | |
27 'WARNING_CFLAGS': ['-Wno-deprecated-declarations'], | |
28 }, | |
29 'sources': [ | |
30 'src/GCDWebServer/Core/GCDWebServer.h', | |
31 'src/GCDWebServer/Core/GCDWebServer.m', | |
32 'src/GCDWebServer/Core/GCDWebServerConnection.h', | |
33 'src/GCDWebServer/Core/GCDWebServerConnection.m', | |
34 'src/GCDWebServer/Core/GCDWebServerFunctions.h', | |
35 'src/GCDWebServer/Core/GCDWebServerFunctions.m', | |
36 'src/GCDWebServer/Core/GCDWebServerHTTPStatusCodes.h', | |
37 'src/GCDWebServer/Core/GCDWebServerPrivate.h', | |
38 'src/GCDWebServer/Core/GCDWebServerRequest.h', | |
39 'src/GCDWebServer/Core/GCDWebServerRequest.m', | |
40 'src/GCDWebServer/Core/GCDWebServerResponse.h', | |
41 'src/GCDWebServer/Core/GCDWebServerResponse.m', | |
42 'src/GCDWebServer/Requests/GCDWebServerDataRequest.h', | |
43 'src/GCDWebServer/Requests/GCDWebServerDataRequest.m', | |
44 'src/GCDWebServer/Requests/GCDWebServerFileRequest.h', | |
45 'src/GCDWebServer/Requests/GCDWebServerFileRequest.m', | |
46 'src/GCDWebServer/Requests/GCDWebServerMultiPartFormRequest.h', | |
47 'src/GCDWebServer/Requests/GCDWebServerMultiPartFormRequest.m', | |
48 'src/GCDWebServer/Requests/GCDWebServerURLEncodedFormRequest.h', | |
49 'src/GCDWebServer/Requests/GCDWebServerURLEncodedFormRequest.m', | |
50 'src/GCDWebServer/Responses/GCDWebServerDataResponse.h', | |
51 'src/GCDWebServer/Responses/GCDWebServerDataResponse.m', | |
52 'src/GCDWebServer/Responses/GCDWebServerErrorResponse.h', | |
53 'src/GCDWebServer/Responses/GCDWebServerErrorResponse.m', | |
54 'src/GCDWebServer/Responses/GCDWebServerFileResponse.h', | |
55 'src/GCDWebServer/Responses/GCDWebServerFileResponse.m', | |
56 'src/GCDWebServer/Responses/GCDWebServerStreamedResponse.h', | |
57 'src/GCDWebServer/Responses/GCDWebServerStreamedResponse.m', | |
58 ], | |
59 'link_settings': { | |
60 'libraries': [ | |
61 '$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework', | |
62 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework', | |
63 ], | |
64 'xcode_settings': { | |
65 'OTHER_LDFLAGS': [ | |
66 '-lz', | |
67 ], | |
68 }, | |
69 }, | |
70 }, | |
71 ], | |
72 } | |
OLD | NEW |