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

Side by Side Diff: build/common.gypi

Issue 296273002: Really fix building android webview on mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 5217 matching lines...) Expand 10 before | Expand all | Expand 10 after
5228 '-Wno-unused-local-typedefs', 5228 '-Wno-unused-local-typedefs',
5229 ], 5229 ],
5230 }, 5230 },
5231 }], 5231 }],
5232 # We need a special case to handle the android webview build on mac because 5232 # We need a special case to handle the android webview build on mac because
5233 # the host gcc there doesn't accept this flag, but the target gcc may 5233 # the host gcc there doesn't accept this flag, but the target gcc may
5234 # require it. 5234 # require it.
5235 ['gcc_version>=48 and android_webview_build==1 and host_os=="mac"', { 5235 ['gcc_version>=48 and android_webview_build==1 and host_os=="mac"', {
5236 'target_defaults': { 5236 'target_defaults': {
5237 'target_conditions': [ 5237 'target_conditions': [
5238 ['_toolset=="target"', { 5238 ['_toolset=="host"', {
5239 'cflags!': [ 5239 'cflags!': [
5240 '-Wno-unused-local-typedefs', 5240 '-Wno-unused-local-typedefs',
5241 ], 5241 ],
5242 }], 5242 }],
5243 ], 5243 ],
5244 }, 5244 },
5245 }], 5245 }],
5246 ['clang==1 and ((OS!="mac" and OS!="ios") or clang_xcode==0) ' 5246 ['clang==1 and ((OS!="mac" and OS!="ios") or clang_xcode==0) '
5247 'and OS!="win"', { 5247 'and OS!="win"', {
5248 'make_global_settings': [ 5248 'make_global_settings': [
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
5351 # settings in target dicts. SYMROOT is a special case, because many other 5351 # settings in target dicts. SYMROOT is a special case, because many other
5352 # Xcode variables depend on it, including variables such as 5352 # Xcode variables depend on it, including variables such as
5353 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5353 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5354 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5354 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5355 # files to appear (when present) in the UI as actual files and not red 5355 # files to appear (when present) in the UI as actual files and not red
5356 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5356 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5357 # and therefore SYMROOT, needs to be set at the project level. 5357 # and therefore SYMROOT, needs to be set at the project level.
5358 'SYMROOT': '<(DEPTH)/xcodebuild', 5358 'SYMROOT': '<(DEPTH)/xcodebuild',
5359 }, 5359 },
5360 } 5360 }
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