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

Side by Side Diff: build/common.gypi

Issue 3287003: Reland r57812 (Add the new Mac manifest to the application bundle) and remove dummy translations (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: one more rebase Created 10 years, 3 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 | chrome/app/policy/mac/app-Manifest.plist » ('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 (c) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 'variables': { 9 'variables': {
10 # .gyp files or targets should set chromium_code to 1 if they build 10 # .gyp files or targets should set chromium_code to 1 if they build
(...skipping 1137 matching lines...) Expand 10 before | Expand all | Expand 10 after
1148 ], 1148 ],
1149 }, 1149 },
1150 }], 1150 }],
1151 ['OS=="solaris"', { 1151 ['OS=="solaris"', {
1152 'cflags!': ['-fvisibility=hidden'], 1152 'cflags!': ['-fvisibility=hidden'],
1153 'cflags_cc!': ['-fvisibility-inlines-hidden'], 1153 'cflags_cc!': ['-fvisibility-inlines-hidden'],
1154 }], 1154 }],
1155 ['OS=="mac"', { 1155 ['OS=="mac"', {
1156 'target_defaults': { 1156 'target_defaults': {
1157 'variables': { 1157 'variables': {
1158 # This should be 'mac_real_dsym%', but there seems to be a bug 1158 # These should be 'mac_real_dsym%' and 'mac_strip%', but there
1159 # with % in variables that are intended to be set to different 1159 # seems to be a bug with % in variables that are intended to be
1160 # values in different targets, like this one. 1160 # set to different values in different targets, like these two.
1161 'mac_strip': 1, # Strip debugging symbols from the target.
1161 'mac_real_dsym': 0, # Fake .dSYMs are fine in most cases. 1162 'mac_real_dsym': 0, # Fake .dSYMs are fine in most cases.
1162 }, 1163 },
1163 'mac_bundle': 0, 1164 'mac_bundle': 0,
1164 'xcode_settings': { 1165 'xcode_settings': {
1165 'ALWAYS_SEARCH_USER_PATHS': 'NO', 1166 'ALWAYS_SEARCH_USER_PATHS': 'NO',
1166 'GCC_C_LANGUAGE_STANDARD': 'c99', # -std=c99 1167 'GCC_C_LANGUAGE_STANDARD': 'c99', # -std=c99
1167 'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks 1168 'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks
1168 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic 1169 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic
1169 # (Equivalent to -fPIC) 1170 # (Equivalent to -fPIC)
1170 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions 1171 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions
(...skipping 27 matching lines...) Expand all
1198 ], 1199 ],
1199 ], 1200 ],
1200 }, 1201 },
1201 'target_conditions': [ 1202 'target_conditions': [
1202 ['_type!="static_library"', { 1203 ['_type!="static_library"', {
1203 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, 1204 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
1204 }], 1205 }],
1205 ['_mac_bundle', { 1206 ['_mac_bundle', {
1206 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, 1207 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
1207 }], 1208 }],
1208 ['_type=="executable" or _type=="shared_library" or _type=="loadable_m odule"', { 1209 ['(_type=="executable" or _type=="shared_library" or \
1210 _type=="loadable_module") and mac_strip!=0', {
1209 'target_conditions': [ 1211 'target_conditions': [
1210 ['mac_real_dsym == 1', { 1212 ['mac_real_dsym == 1', {
1211 # To get a real .dSYM bundle produced by dsymutil, set the 1213 # To get a real .dSYM bundle produced by dsymutil, set the
1212 # debug information format to dwarf-with-dsym. Since 1214 # debug information format to dwarf-with-dsym. Since
1213 # strip_from_xcode will not be used, set Xcode to do the 1215 # strip_from_xcode will not be used, set Xcode to do the
1214 # stripping as well. 1216 # stripping as well.
1215 'configurations': { 1217 'configurations': {
1216 'Release_Base': { 1218 'Release_Base': {
1217 'xcode_settings': { 1219 'xcode_settings': {
1218 'DEBUG_INFORMATION_FORMAT': 'dwarf-with-dsym', 1220 'DEBUG_INFORMATION_FORMAT': 'dwarf-with-dsym',
(...skipping 23 matching lines...) Expand all
1242 # so that gyp understands it's a path and performs proper 1244 # so that gyp understands it's a path and performs proper
1243 # relativization during dict merging. 1245 # relativization during dict merging.
1244 'strip_from_xcode_path': 'mac/strip_from_xcode', 1246 'strip_from_xcode_path': 'mac/strip_from_xcode',
1245 }, 1247 },
1246 'postbuild_name': 'Strip If Needed', 1248 'postbuild_name': 'Strip If Needed',
1247 'action': ['<(strip_from_xcode_path)'], 1249 'action': ['<(strip_from_xcode_path)'],
1248 }, 1250 },
1249 ], # postbuilds 1251 ], # postbuilds
1250 }], # mac_real_dsym 1252 }], # mac_real_dsym
1251 ], # target_conditions 1253 ], # target_conditions
1252 }], # _type=="executable" or _type=="shared_library" or _type=="loada ble_module" 1254 }], # (_type=="executable" or _type=="shared_library" or
1255 # _type=="loadable_module") and mac_strip!=0
1253 ], # target_conditions 1256 ], # target_conditions
1254 }, # target_defaults 1257 }, # target_defaults
1255 }], # OS=="mac" 1258 }], # OS=="mac"
1256 ['OS=="win"', { 1259 ['OS=="win"', {
1257 'target_defaults': { 1260 'target_defaults': {
1258 'defines': [ 1261 'defines': [
1259 '_WIN32_WINNT=0x0600', 1262 '_WIN32_WINNT=0x0600',
1260 'WINVER=0x0600', 1263 'WINVER=0x0600',
1261 'WIN32', 1264 'WIN32',
1262 '_WINDOWS', 1265 '_WINDOWS',
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
1439 # and therefore SYMROOT, needs to be set at the project level. 1442 # and therefore SYMROOT, needs to be set at the project level.
1440 'SYMROOT': '<(DEPTH)/xcodebuild', 1443 'SYMROOT': '<(DEPTH)/xcodebuild',
1441 }, 1444 },
1442 } 1445 }
1443 1446
1444 # Local Variables: 1447 # Local Variables:
1445 # tab-width:2 1448 # tab-width:2
1446 # indent-tabs-mode:nil 1449 # indent-tabs-mode:nil
1447 # End: 1450 # End:
1448 # vim: set expandtab tabstop=2 shiftwidth=2: 1451 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | chrome/app/policy/mac/app-Manifest.plist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698