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

Side by Side Diff: third_party/google_toolbox_for_mac/BUILD.gn

Issue 1698963004: Get iOS GN build working again (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert mb change, formatting Created 4 years, 10 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
« ios/web/BUILD.gn ('K') | « ios/web/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 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("google_toolbox_for_mac_config") { 5 config("google_toolbox_for_mac_config") {
6 include_dirs = [ 6 include_dirs = [
7 ".", 7 ".",
8 "src", 8 "src",
9 "src/AppKit", 9 "src/AppKit",
10 "src/DebugUtils", 10 "src/DebugUtils",
11 "src/Foundation", 11 "src/Foundation",
12 ] 12 ]
13
14 # TODO(crbug.com/569158): Suppresses warnings that are treated as errors
15 # when minimum iOS version support is increased to iOS 9 and up.
16 # This should be removed once all deprecation violations have been fixed.
17 cflags = [ "-Wno-deprecated-declarations" ]
Nico 2016/06/22 22:53:33 so this config is a public_config below and this h
13 } 18 }
14 19
15 component("google_toolbox_for_mac") { 20 component("google_toolbox_for_mac") {
16 sources = [ 21 sources = [
17 "src/DebugUtils/GTMMethodCheck.h", 22 "src/DebugUtils/GTMMethodCheck.h",
18 "src/DebugUtils/GTMMethodCheck.m", 23 "src/DebugUtils/GTMMethodCheck.m",
19 "src/Foundation/GTMLightweightProxy.h", 24 "src/Foundation/GTMLightweightProxy.h",
20 "src/Foundation/GTMLightweightProxy.m", 25 "src/Foundation/GTMLightweightProxy.m",
21 "src/Foundation/GTMNSDictionary+URLArguments.h", 26 "src/Foundation/GTMNSDictionary+URLArguments.h",
22 "src/Foundation/GTMNSDictionary+URLArguments.m", 27 "src/Foundation/GTMNSDictionary+URLArguments.m",
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 if (is_component_build) { 199 if (is_component_build) {
195 # GTM is third-party code, so we don't want to add _EXPORT 200 # GTM is third-party code, so we don't want to add _EXPORT
196 # annotations to it, so build it without -fvisibility=hidden 201 # annotations to it, so build it without -fvisibility=hidden
197 # (else the interface class symbols will be hidden in a 64bit 202 # (else the interface class symbols will be hidden in a 64bit
198 # build). Only do this in a component build, so that the shipping 203 # build). Only do this in a component build, so that the shipping
199 # chrome binary doesn't end up with unnecessarily exported 204 # chrome binary doesn't end up with unnecessarily exported
200 # symbols. 205 # symbols.
201 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] 206 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
202 } 207 }
203 } 208 }
OLDNEW
« ios/web/BUILD.gn ('K') | « ios/web/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698