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

Side by Side Diff: build/common.gypi

Issue 12789003: Android WebView: fix linking host binaries on mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 3367 matching lines...) Expand 10 before | Expand all | Expand 10 after
3378 '-Wl,-z,noexecstack', 3378 '-Wl,-z,noexecstack',
3379 '-Wl,--gc-sections', 3379 '-Wl,--gc-sections',
3380 '-Wl,-O1', 3380 '-Wl,-O1',
3381 '-Wl,--as-needed', 3381 '-Wl,--as-needed',
3382 ], 3382 ],
3383 'sources/': [ 3383 'sources/': [
3384 ['exclude', '_android(_unittest)?\\.cc$'], 3384 ['exclude', '_android(_unittest)?\\.cc$'],
3385 ['exclude', '(^|/)android/'] 3385 ['exclude', '(^|/)android/']
3386 ], 3386 ],
3387 }], 3387 }],
3388 # Settings for building host targets on mac.
3389 ['_toolset=="host" and host_os=="mac"', {
3390 'ldflags!': [
3391 '-Wl,-z,now',
3392 '-Wl,-z,relro',
3393 ],
3394 }],
3388 ], 3395 ],
3389 }, 3396 },
3390 }], 3397 }],
3391 ['OS=="solaris"', { 3398 ['OS=="solaris"', {
3392 'cflags!': ['-fvisibility=hidden'], 3399 'cflags!': ['-fvisibility=hidden'],
3393 'cflags_cc!': ['-fvisibility-inlines-hidden'], 3400 'cflags_cc!': ['-fvisibility-inlines-hidden'],
3394 }], 3401 }],
3395 ['OS=="mac" or OS=="ios"', { 3402 ['OS=="mac" or OS=="ios"', {
3396 'target_defaults': { 3403 'target_defaults': {
3397 'mac_bundle': 0, 3404 'mac_bundle': 0,
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
4150 # settings in target dicts. SYMROOT is a special case, because many other 4157 # settings in target dicts. SYMROOT is a special case, because many other
4151 # Xcode variables depend on it, including variables such as 4158 # Xcode variables depend on it, including variables such as
4152 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4159 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4153 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4160 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4154 # files to appear (when present) in the UI as actual files and not red 4161 # files to appear (when present) in the UI as actual files and not red
4155 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4162 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4156 # and therefore SYMROOT, needs to be set at the project level. 4163 # and therefore SYMROOT, needs to be set at the project level.
4157 'SYMROOT': '<(DEPTH)/xcodebuild', 4164 'SYMROOT': '<(DEPTH)/xcodebuild',
4158 }, 4165 },
4159 } 4166 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698