Chromium Code Reviews| Index: ios/third_party/gcdwebserver/BUILD.gn |
| diff --git a/ios/third_party/gcdwebserver/BUILD.gn b/ios/third_party/gcdwebserver/BUILD.gn |
| index 21b993cdd43efefd3b6e83e5255f9e2bfbd5bdbc..5207f75b5d0bb4e530722885cb84442cee25f7fa 100644 |
| --- a/ios/third_party/gcdwebserver/BUILD.gn |
| +++ b/ios/third_party/gcdwebserver/BUILD.gn |
| @@ -2,7 +2,8 @@ |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| -config("public_config") { |
| +config("config") { |
| + visibility = [ ":gcdwebserver" ] |
| libs = [ |
| "CFNetwork.framework", |
| "MobileCoreServices.framework", |
| @@ -16,14 +17,13 @@ config("public_config") { |
| ] |
| } |
| -config("internal_config") { |
| +config("private_config") { |
| visibility = [ ":gcdwebserver" ] |
| # TODO(crbug.com/569158): Suppresses warnings that are treated as errors |
| # when minimum iOS version support is increased to iOS 9 and up. |
| # 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
|
| cflags = [ "-Wno-deprecated-declarations" ] |
| - cflags_objc = [ "-fobjc-arc" ] |
| } |
| source_set("gcdwebserver") { |
| @@ -60,6 +60,9 @@ source_set("gcdwebserver") { |
| "src/GCDWebServer/Responses/GCDWebServerStreamedResponse.m", |
| ] |
| - public_configs = [ ":public_config" ] |
| - configs += [ ":internal_config" ] |
| + public_configs = [ ":config" ] |
| + configs += [ |
| + ":private_config", |
| + "//build/config/compiler:enable_arc", |
| + ] |
| } |