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 2383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2394 ], | 2394 ], |
2395 }], | 2395 }], |
2396 ['syzyasan==1', { | 2396 ['syzyasan==1', { |
2397 # SyzyAsan needs /PROFILE turned on to produce appropriate pdbs. | 2397 # SyzyAsan needs /PROFILE turned on to produce appropriate pdbs. |
2398 'msvs_settings': { | 2398 'msvs_settings': { |
2399 'VCLinkerTool': { | 2399 'VCLinkerTool': { |
2400 'Profile': 'true', | 2400 'Profile': 'true', |
2401 }, | 2401 }, |
2402 }, | 2402 }, |
2403 'defines': [ | 2403 'defines': [ |
2404 'ADDRESS_SANITIZER', | 2404 'SYZYASAN', |
2405 'MEMORY_TOOL_REPLACES_ALLOCATOR', | 2405 'MEMORY_TOOL_REPLACES_ALLOCATOR', |
2406 ], | 2406 ], |
2407 }], | 2407 }], |
2408 ['OS=="win"', { | 2408 ['OS=="win"', { |
2409 'defines': [ | 2409 'defines': [ |
2410 '__STD_C', | 2410 '__STD_C', |
2411 '_CRT_SECURE_NO_DEPRECATE', | 2411 '_CRT_SECURE_NO_DEPRECATE', |
2412 '_SCL_SECURE_NO_DEPRECATE', | 2412 '_SCL_SECURE_NO_DEPRECATE', |
2413 # This define is required to pull in the new Win8 interfaces from | 2413 # This define is required to pull in the new Win8 interfaces from |
2414 # system headers like ShObjIdl.h. | 2414 # system headers like ShObjIdl.h. |
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2992 'inherit_from': ['Common_Base', 'x64_Base', 'Debug_Base'], | 2992 'inherit_from': ['Common_Base', 'x64_Base', 'Debug_Base'], |
2993 }, | 2993 }, |
2994 'Release_x64': { | 2994 'Release_x64': { |
2995 'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base'], | 2995 'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base'], |
2996 }, | 2996 }, |
2997 }], | 2997 }], |
2998 ], | 2998 ], |
2999 }, | 2999 }, |
3000 }, | 3000 }, |
3001 'conditions': [ | 3001 'conditions': [ |
3002 # TODO(jochen): Enable this on chromeos. http://crbug.com/353127 | 3002 # TODO(jochen): Enable this on chromeos. http://crbug.com/353127 |
3003 ['os_posix==1 and chromeos==0', { | 3003 ['os_posix==1 and chromeos==0', { |
3004 'target_defaults': { | 3004 'target_defaults': { |
3005 'ldflags': [ | 3005 'ldflags': [ |
3006 '-Wl,--fatal-warnings', | 3006 '-Wl,--fatal-warnings', |
3007 '-Wl,-z,now', | 3007 '-Wl,-z,now', |
3008 '-Wl,-z,relro', | 3008 '-Wl,-z,relro', |
3009 ], | 3009 ], |
3010 }, | 3010 }, |
3011 }], | 3011 }], |
3012 ['os_posix==1 and chromeos==0', { | 3012 ['os_posix==1 and chromeos==0', { |
(...skipping 2098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5111 # settings in target dicts. SYMROOT is a special case, because many other | 5111 # settings in target dicts. SYMROOT is a special case, because many other |
5112 # Xcode variables depend on it, including variables such as | 5112 # Xcode variables depend on it, including variables such as |
5113 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5113 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5114 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5114 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5115 # files to appear (when present) in the UI as actual files and not red | 5115 # files to appear (when present) in the UI as actual files and not red |
5116 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5116 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5117 # and therefore SYMROOT, needs to be set at the project level. | 5117 # and therefore SYMROOT, needs to be set at the project level. |
5118 'SYMROOT': '<(DEPTH)/xcodebuild', | 5118 'SYMROOT': '<(DEPTH)/xcodebuild', |
5119 }, | 5119 }, |
5120 } | 5120 } |
OLD | NEW |