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

Side by Side Diff: build/config/mac/BUILD.gn

Issue 2183053006: Add mac hermetic support to build/config/mac/sdk_info.py. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wrap ios toolchain in is_ios block Created 4 years, 4 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 | « no previous file | build/config/mac/sdk_info.py » ('j') | build/toolchain/mac/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 import("//build/config/sysroot.gni") 5 import("//build/config/sysroot.gni")
6 import("//build/config/ios/ios_sdk.gni") 6 if (is_ios) {
7 import("//build/config/ios/ios_sdk.gni")
8 }
7 import("//build/config/mac/mac_sdk.gni") 9 import("//build/config/mac/mac_sdk.gni")
8 import("//build/config/mac/symbols.gni") 10 import("//build/config/mac/symbols.gni")
9 11
10 # This is included by reference in the //build/config/compiler config that 12 # This is included by reference in the //build/config/compiler config that
11 # is applied to all targets. It is here to separate out the logic. 13 # is applied to all targets. It is here to separate out the logic.
12 # 14 #
13 # This is applied to BOTH desktop Mac and iOS targets. 15 # This is applied to BOTH desktop Mac and iOS targets.
14 config("compiler") { 16 config("compiler") {
15 # These flags are shared between the C compiler and linker. 17 # These flags are shared between the C compiler and linker.
16 common_mac_flags = [] 18 common_mac_flags = []
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 # after running "lipo" too. 125 # after running "lipo" too.
124 _enable_stripping = false 126 _enable_stripping = false
125 } else { 127 } else {
126 _enable_stripping = enable_stripping 128 _enable_stripping = enable_stripping
127 } 129 }
128 130
129 if (_enable_stripping) { 131 if (_enable_stripping) {
130 ldflags = [ "-Wcrl,strip,-x,-S" ] 132 ldflags = [ "-Wcrl,strip,-x,-S" ]
131 } 133 }
132 } 134 }
OLDNEW
« no previous file with comments | « no previous file | build/config/mac/sdk_info.py » ('j') | build/toolchain/mac/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698