Chromium Code Reviews

Side by Side Diff: build/common.gypi

Issue 200753002: [Android] Workaround of an android platform bug. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address klobag' Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
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 2028 matching lines...)
2039 # section, and will not have access to the default fallback value of 2039 # section, and will not have access to the default fallback value of
2040 # chromium_code at the top of this file, or to the chromium_code 2040 # chromium_code at the top of this file, or to the chromium_code
2041 # variable placed at the root variables scope of .gyp files, because 2041 # variable placed at the root variables scope of .gyp files, because
2042 # those variables are not set at target scope. As a workaround, 2042 # those variables are not set at target scope. As a workaround,
2043 # if chromium_code is not set at target scope, define it in target scope 2043 # if chromium_code is not set at target scope, define it in target scope
2044 # to contain whatever value it has during early variable expansion. 2044 # to contain whatever value it has during early variable expansion.
2045 # That's enough to make it available during target conditional 2045 # That's enough to make it available during target conditional
2046 # processing. 2046 # processing.
2047 'chromium_code%': '<(chromium_code)', 2047 'chromium_code%': '<(chromium_code)',
2048 2048
2049 'component%': '<(component)',
klobag.chromium 2014/03/19 17:23:46 why need this?
Feng Qian 2014/03/19 17:52:51 gyp target_conditions has its own variable scope.
2050
2049 # See http://msdn.microsoft.com/en-us/library/aa652360(VS.71).aspx 2051 # See http://msdn.microsoft.com/en-us/library/aa652360(VS.71).aspx
2050 'win_release_Optimization%': '2', # 2 = /Os 2052 'win_release_Optimization%': '2', # 2 = /Os
2051 'win_debug_Optimization%': '0', # 0 = /Od 2053 'win_debug_Optimization%': '0', # 0 = /Od
2052 2054
2053 # See http://msdn.microsoft.com/en-us/library/2kxx5t2c(v=vs.80).aspx 2055 # See http://msdn.microsoft.com/en-us/library/2kxx5t2c(v=vs.80).aspx
2054 # Tri-state: blank is default, 1 on, 0 off 2056 # Tri-state: blank is default, 1 on, 0 off
2055 'win_release_OmitFramePointers%': '0', 2057 'win_release_OmitFramePointers%': '0',
2056 # Tri-state: blank is default, 1 on, 0 off 2058 # Tri-state: blank is default, 1 on, 0 off
2057 'win_debug_OmitFramePointers%': '', 2059 'win_debug_OmitFramePointers%': '',
2058 2060
(...skipping 2999 matching lines...)
5058 # settings in target dicts. SYMROOT is a special case, because many other 5060 # settings in target dicts. SYMROOT is a special case, because many other
5059 # Xcode variables depend on it, including variables such as 5061 # Xcode variables depend on it, including variables such as
5060 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5062 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5061 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5063 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5062 # files to appear (when present) in the UI as actual files and not red 5064 # files to appear (when present) in the UI as actual files and not red
5063 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5065 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5064 # and therefore SYMROOT, needs to be set at the project level. 5066 # and therefore SYMROOT, needs to be set at the project level.
5065 'SYMROOT': '<(DEPTH)/xcodebuild', 5067 'SYMROOT': '<(DEPTH)/xcodebuild',
5066 }, 5068 },
5067 } 5069 }
OLDNEW

Powered by Google App Engine