| OLD | NEW | 
|     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 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1223  |  1223  | 
|  1224     # Enable EGLImage support in OpenMAX |  1224     # Enable EGLImage support in OpenMAX | 
|  1225     'enable_eglimage%': 1, |  1225     'enable_eglimage%': 1, | 
|  1226  |  1226  | 
|  1227     # .gyp files or targets should set chromium_code to 1 if they build |  1227     # .gyp files or targets should set chromium_code to 1 if they build | 
|  1228     # Chromium-specific code, as opposed to external code.  This variable is |  1228     # Chromium-specific code, as opposed to external code.  This variable is | 
|  1229     # used to control such things as the set of warnings to enable, and |  1229     # used to control such things as the set of warnings to enable, and | 
|  1230     # whether warnings are treated as errors. |  1230     # whether warnings are treated as errors. | 
|  1231     'chromium_code%': 0, |  1231     'chromium_code%': 0, | 
|  1232  |  1232  | 
 |  1233     # Disable fatal linker warnings, similarly to how we make it possible | 
 |  1234     # to disable -Werror (e.g. for different toolchain versions). | 
 |  1235     'disable_fatal_linker_warnings%': 0, | 
 |  1236  | 
|  1233     'release_valgrind_build%': 0, |  1237     'release_valgrind_build%': 0, | 
|  1234  |  1238  | 
|  1235     # TODO(thakis): Make this a blacklist instead, http://crbug.com/101600 |  1239     # TODO(thakis): Make this a blacklist instead, http://crbug.com/101600 | 
|  1236     'enable_wexit_time_destructors%': 0, |  1240     'enable_wexit_time_destructors%': 0, | 
|  1237  |  1241  | 
|  1238     # Build libpeerconnection as a static library by default. |  1242     # Build libpeerconnection as a static library by default. | 
|  1239     'libpeer_target_type%': 'static_library', |  1243     'libpeer_target_type%': 'static_library', | 
|  1240  |  1244  | 
|  1241     # Set to 1 to compile with the built in pdf viewer. |  1245     # Set to 1 to compile with the built in pdf viewer. | 
|  1242     'internal_pdf%': 0, |  1246     'internal_pdf%': 0, | 
| (...skipping 1819 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  3062             'inherit_from': ['Common_Base', 'x64_Base', 'Debug_Base'], |  3066             'inherit_from': ['Common_Base', 'x64_Base', 'Debug_Base'], | 
|  3063           }, |  3067           }, | 
|  3064           'Release_x64': { |  3068           'Release_x64': { | 
|  3065             'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base'], |  3069             'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base'], | 
|  3066           }, |  3070           }, | 
|  3067         }], |  3071         }], | 
|  3068       ], |  3072       ], | 
|  3069     }, |  3073     }, | 
|  3070   }, |  3074   }, | 
|  3071   'conditions': [ |  3075   'conditions': [ | 
 |  3076     ['os_posix==1', { | 
 |  3077       'target_defaults': { | 
 |  3078         'ldflags': [ | 
 |  3079           '-Wl,-z,now', | 
 |  3080           '-Wl,-z,relro', | 
 |  3081         ], | 
 |  3082       }, | 
 |  3083     }], | 
|  3072     # TODO(jochen): Enable this on chromeos on arm. http://crbug.com/356580 |  3084     # TODO(jochen): Enable this on chromeos on arm. http://crbug.com/356580 | 
|  3073     ['os_posix==1 and (chromeos==0 or target_arch!="arm")', { |  3085     ['os_posix==1 and disable_fatal_linker_warnings==0 and (chromeos==0 or targe
      t_arch!="arm")', { | 
|  3074       'target_defaults': { |  3086       'target_defaults': { | 
|  3075         'ldflags': [ |  3087         'ldflags': [ | 
|  3076           '-Wl,--fatal-warnings', |  3088           '-Wl,--fatal-warnings', | 
|  3077           '-Wl,-z,now', |  | 
|  3078           '-Wl,-z,relro', |  | 
|  3079         ], |  3089         ], | 
|  3080       }, |  3090       }, | 
|  3081     }], |  3091     }], | 
|  3082     ['os_posix==1 and chromeos==0', { |  3092     ['os_posix==1 and chromeos==0', { | 
|  3083       # Chrome OS enables -fstack-protector-strong via its build wrapper, |  3093       # Chrome OS enables -fstack-protector-strong via its build wrapper, | 
|  3084       # and we want to avoid overriding this, so stack-protector is only |  3094       # and we want to avoid overriding this, so stack-protector is only | 
|  3085       # enabled when not building on Chrome OS. |  3095       # enabled when not building on Chrome OS. | 
|  3086       # TODO(phajdan.jr): Use -fstack-protector-strong when our gcc |  3096       # TODO(phajdan.jr): Use -fstack-protector-strong when our gcc | 
|  3087       # supports it. |  3097       # supports it. | 
|  3088       'target_defaults': { |  3098       'target_defaults': { | 
| (...skipping 2128 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  5217     # settings in target dicts.  SYMROOT is a special case, because many other |  5227     # settings in target dicts.  SYMROOT is a special case, because many other | 
|  5218     # Xcode variables depend on it, including variables such as |  5228     # Xcode variables depend on it, including variables such as | 
|  5219     # PROJECT_DERIVED_FILE_DIR.  When a source group corresponding to something |  5229     # PROJECT_DERIVED_FILE_DIR.  When a source group corresponding to something | 
|  5220     # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |  5230     # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 
|  5221     # files to appear (when present) in the UI as actual files and not red |  5231     # files to appear (when present) in the UI as actual files and not red | 
|  5222     # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |  5232     # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 
|  5223     # and therefore SYMROOT, needs to be set at the project level. |  5233     # and therefore SYMROOT, needs to be set at the project level. | 
|  5224     'SYMROOT': '<(DEPTH)/xcodebuild', |  5234     'SYMROOT': '<(DEPTH)/xcodebuild', | 
|  5225   }, |  5235   }, | 
|  5226 } |  5236 } | 
| OLD | NEW |