| 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 2918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2929 'USE_OPENSSL=1', | 2929 'USE_OPENSSL=1', |
| 2930 'USE_OPENSSL_CERTS=1', | 2930 'USE_OPENSSL_CERTS=1', |
| 2931 ], | 2931 ], |
| 2932 }], | 2932 }], |
| 2933 ['<(use_nss)==1 and >(nacl_untrusted_build)==0', { | 2933 ['<(use_nss)==1 and >(nacl_untrusted_build)==0', { |
| 2934 'defines': ['USE_NSS=1'], | 2934 'defines': ['USE_NSS=1'], |
| 2935 }], | 2935 }], |
| 2936 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { | 2936 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { |
| 2937 'defines': ['OS_CHROMEOS=1'], | 2937 'defines': ['OS_CHROMEOS=1'], |
| 2938 }], | 2938 }], |
| 2939 ['enable_wexit_time_destructors==1', { | 2939 ['enable_wexit_time_destructors==1 and OS!="win"', { |
| 2940 # TODO: Enable on Windows too, http://crbug.com/404525 |
| 2940 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, | 2941 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, |
| 2941 }], | 2942 }], |
| 2942 ['chromium_code==0', { | 2943 ['chromium_code==0', { |
| 2943 'conditions': [ | 2944 'conditions': [ |
| 2944 [ 'os_posix==1 and OS!="mac" and OS!="ios"', { | 2945 [ 'os_posix==1 and OS!="mac" and OS!="ios"', { |
| 2945 # We don't want to get warnings from third-party code, | 2946 # We don't want to get warnings from third-party code, |
| 2946 # so remove any existing warning-enabling flags like -Wall. | 2947 # so remove any existing warning-enabling flags like -Wall. |
| 2947 'cflags!': [ | 2948 'cflags!': [ |
| 2948 '-Wall', | 2949 '-Wall', |
| 2949 '-Wextra', | 2950 '-Wextra', |
| (...skipping 2449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5399 '-Wno-self-assign', | 5400 '-Wno-self-assign', |
| 5400 '-Wno-sometimes-uninitialized', | 5401 '-Wno-sometimes-uninitialized', |
| 5401 '-Wno-switch', | 5402 '-Wno-switch', |
| 5402 '-Wno-tautological-compare', | 5403 '-Wno-tautological-compare', |
| 5403 '-Wno-unknown-pragmas', | 5404 '-Wno-unknown-pragmas', |
| 5404 '-Wno-unsequenced', | 5405 '-Wno-unsequenced', |
| 5405 '-Wno-unused-function', | 5406 '-Wno-unused-function', |
| 5406 '-Wno-unused-private-field', | 5407 '-Wno-unused-private-field', |
| 5407 '-Wno-unused-value', | 5408 '-Wno-unused-value', |
| 5408 '-Wno-unused-variable', | 5409 '-Wno-unused-variable', |
| 5409 '-Wno-exit-time-destructors', # TODO: http://crbug.com/404525 | |
| 5410 '-ferror-limit=1', | 5410 '-ferror-limit=1', |
| 5411 ], | 5411 ], |
| 5412 }, | 5412 }, |
| 5413 }], | 5413 }], |
| 5414 ['asan==1', { | 5414 ['asan==1', { |
| 5415 # ASan on Windows is a work in progress and very experimental. | 5415 # ASan on Windows is a work in progress and very experimental. |
| 5416 # See crbug.com/345874. | 5416 # See crbug.com/345874. |
| 5417 'VCCLCompilerTool': { | 5417 'VCCLCompilerTool': { |
| 5418 'AdditionalOptions': [ | 5418 'AdditionalOptions': [ |
| 5419 '-fsanitize=address', | 5419 '-fsanitize=address', |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5663 # settings in target dicts. SYMROOT is a special case, because many other | 5663 # settings in target dicts. SYMROOT is a special case, because many other |
| 5664 # Xcode variables depend on it, including variables such as | 5664 # Xcode variables depend on it, including variables such as |
| 5665 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5665 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5666 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5666 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5667 # files to appear (when present) in the UI as actual files and not red | 5667 # files to appear (when present) in the UI as actual files and not red |
| 5668 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5668 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5669 # and therefore SYMROOT, needs to be set at the project level. | 5669 # and therefore SYMROOT, needs to be set at the project level. |
| 5670 'SYMROOT': '<(DEPTH)/xcodebuild', | 5670 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5671 }, | 5671 }, |
| 5672 } | 5672 } |
| OLD | NEW |