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

Side by Side Diff: ios/third_party/gcdwebserver/BUILD.gn

Issue 1806513002: Add config to enable ARC on iOS/OS X to //build/config. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iossim
Patch Set: Remove //build/config/mac:macosx_version_min_10_9 config Created 4 years, 9 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 | « build/config/compiler/BUILD.gn ('k') | ios/third_party/ochamcrest/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("public_config") { 5 config("config") {
6 visibility = [ ":gcdwebserver" ]
6 libs = [ 7 libs = [
7 "CFNetwork.framework", 8 "CFNetwork.framework",
8 "MobileCoreServices.framework", 9 "MobileCoreServices.framework",
9 "z", 10 "z",
10 ] 11 ]
11 12
12 include_dirs = [ 13 include_dirs = [
13 "src/GCDWebServer/Core", 14 "src/GCDWebServer/Core",
14 "src/GCDWebServer/Requests", 15 "src/GCDWebServer/Requests",
15 "src/GCDWebServer/Responses", 16 "src/GCDWebServer/Responses",
16 ] 17 ]
17 } 18 }
18 19
19 config("internal_config") { 20 config("private_config") {
20 visibility = [ ":gcdwebserver" ] 21 visibility = [ ":gcdwebserver" ]
21 22
22 # TODO(crbug.com/569158): Suppresses warnings that are treated as errors 23 # TODO(crbug.com/569158): Suppresses warnings that are treated as errors
23 # when minimum iOS version support is increased to iOS 9 and up. 24 # when minimum iOS version support is increased to iOS 9 and up.
24 # This should be removed once all deprecation violations have been fixed. 25 # This should be removed once all deprecation violations have been fixed.
Nico 2016/03/18 21:52:07 Somewhat drive-by: FWIW, I feel pretty strongly th
sdefresne 2016/03/19 13:34:27 I agree. pkl@ is owning the removal of those tempo
25 cflags = [ "-Wno-deprecated-declarations" ] 26 cflags = [ "-Wno-deprecated-declarations" ]
26 cflags_objc = [ "-fobjc-arc" ]
27 } 27 }
28 28
29 source_set("gcdwebserver") { 29 source_set("gcdwebserver") {
30 testonly = true 30 testonly = true
31 31
32 sources = [ 32 sources = [
33 "src/GCDWebServer/Core/GCDWebServer.h", 33 "src/GCDWebServer/Core/GCDWebServer.h",
34 "src/GCDWebServer/Core/GCDWebServer.m", 34 "src/GCDWebServer/Core/GCDWebServer.m",
35 "src/GCDWebServer/Core/GCDWebServerConnection.h", 35 "src/GCDWebServer/Core/GCDWebServerConnection.h",
36 "src/GCDWebServer/Core/GCDWebServerConnection.m", 36 "src/GCDWebServer/Core/GCDWebServerConnection.m",
(...skipping 16 matching lines...) Expand all
53 "src/GCDWebServer/Responses/GCDWebServerDataResponse.h", 53 "src/GCDWebServer/Responses/GCDWebServerDataResponse.h",
54 "src/GCDWebServer/Responses/GCDWebServerDataResponse.m", 54 "src/GCDWebServer/Responses/GCDWebServerDataResponse.m",
55 "src/GCDWebServer/Responses/GCDWebServerErrorResponse.h", 55 "src/GCDWebServer/Responses/GCDWebServerErrorResponse.h",
56 "src/GCDWebServer/Responses/GCDWebServerErrorResponse.m", 56 "src/GCDWebServer/Responses/GCDWebServerErrorResponse.m",
57 "src/GCDWebServer/Responses/GCDWebServerFileResponse.h", 57 "src/GCDWebServer/Responses/GCDWebServerFileResponse.h",
58 "src/GCDWebServer/Responses/GCDWebServerFileResponse.m", 58 "src/GCDWebServer/Responses/GCDWebServerFileResponse.m",
59 "src/GCDWebServer/Responses/GCDWebServerStreamedResponse.h", 59 "src/GCDWebServer/Responses/GCDWebServerStreamedResponse.h",
60 "src/GCDWebServer/Responses/GCDWebServerStreamedResponse.m", 60 "src/GCDWebServer/Responses/GCDWebServerStreamedResponse.m",
61 ] 61 ]
62 62
63 public_configs = [ ":public_config" ] 63 public_configs = [ ":config" ]
64 configs += [ ":internal_config" ] 64 configs += [
65 ":private_config",
66 "//build/config/compiler:enable_arc",
67 ]
65 } 68 }
OLDNEW
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | ios/third_party/ochamcrest/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698