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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
504 }], | 504 }], |
505 | 505 |
506 # Enable Skia UI text drawing incrementally on different platforms. | 506 # Enable Skia UI text drawing incrementally on different platforms. |
507 # http://crbug.com/105550 | 507 # http://crbug.com/105550 |
508 # | 508 # |
509 # On Aura, this allows per-tile painting to be used in the browser | 509 # On Aura, this allows per-tile painting to be used in the browser |
510 # compositor. | 510 # compositor. |
511 ['OS!="mac" and OS!="android"', { | 511 ['OS!="mac" and OS!="android"', { |
512 'use_canvas_skia%': 1, | 512 'use_canvas_skia%': 1, |
513 }], | 513 }], |
514 ['asan==1 or tsan==1', { | |
Craig
2012/07/16 15:33:07
There's other stuff around line 1140 that sets cla
Alexander Potapenko
2012/07/16 15:39:29
I'm trying to do so, but undefined variables appea
| |
515 'clang%': 1, | |
516 }], | |
514 ], | 517 ], |
515 }, | 518 }, |
516 | 519 |
517 # Copy conditionally-set variables out one scope. | 520 # Copy conditionally-set variables out one scope. |
518 'branding%': '<(branding)', | 521 'branding%': '<(branding)', |
519 'buildtype%': '<(buildtype)', | 522 'buildtype%': '<(buildtype)', |
520 'target_arch%': '<(target_arch)', | 523 'target_arch%': '<(target_arch)', |
521 'host_arch%': '<(host_arch)', | 524 'host_arch%': '<(host_arch)', |
522 'library%': 'static_library', | 525 'library%': 'static_library', |
523 'toolkit_views%': '<(toolkit_views)', | 526 'toolkit_views%': '<(toolkit_views)', |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
836 'windows_sdk_path%': '<(windows_sdk_default_path)', | 839 'windows_sdk_path%': '<(windows_sdk_default_path)', |
837 }, { | 840 }, { |
838 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', | 841 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', |
839 }], | 842 }], |
840 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa ult_path))"=="True"', { | 843 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa ult_path))"=="True"', { |
841 'directx_sdk_path%': '<(directx_sdk_default_path)', | 844 'directx_sdk_path%': '<(directx_sdk_default_path)', |
842 }, { | 845 }, { |
843 'directx_sdk_path%': '$(DXSDK_DIR)', | 846 'directx_sdk_path%': '$(DXSDK_DIR)', |
844 }], | 847 }], |
845 ['os_posix==1 and OS!="mac" and OS!="ios"', { | 848 ['os_posix==1 and OS!="mac" and OS!="ios"', { |
846 # This will set gcc_version to XY if you are running gcc X.Y.*. | |
847 # This is used to tweak build flags for gcc 4.4. | |
848 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', | |
849 # Figure out the python architecture to decide if we build pyauto. | 849 # Figure out the python architecture to decide if we build pyauto. |
850 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/< (system_libdir)/libpython<(python_ver).so.1.0)', | 850 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/< (system_libdir)/libpython<(python_ver).so.1.0)', |
851 'conditions': [ | 851 'conditions': [ |
852 ['clang==0', { | |
853 # This will set gcc_version to XY if you are running gcc X.Y.*. | |
854 # This is used to tweak build flags for gcc 4.4. | |
Craig
2012/07/16 15:33:07
This appears only to be used in one spot for gcc 4
| |
855 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', | |
856 }, { | |
857 'gcc_version%': 0, | |
858 }], | |
852 ['branding=="Chrome"', { | 859 ['branding=="Chrome"', { |
853 'linux_breakpad%': 1, | 860 'linux_breakpad%': 1, |
854 }], | 861 }], |
855 # All Chrome builds have breakpad symbols, but only process the | 862 # All Chrome builds have breakpad symbols, but only process the |
856 # symbols from official builds. | 863 # symbols from official builds. |
857 ['(branding=="Chrome" and buildtype=="Official")', { | 864 ['(branding=="Chrome" and buildtype=="Official")', { |
858 'linux_dump_symbols%': 1, | 865 'linux_dump_symbols%': 1, |
859 }], | 866 }], |
860 ], | 867 ], |
861 }], # os_posix==1 and OS!="mac" and OS!="ios" | 868 }], # os_posix==1 and OS!="mac" and OS!="ios" |
(...skipping 2428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3290 # settings in target dicts. SYMROOT is a special case, because many other | 3297 # settings in target dicts. SYMROOT is a special case, because many other |
3291 # Xcode variables depend on it, including variables such as | 3298 # Xcode variables depend on it, including variables such as |
3292 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3299 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3293 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3300 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3294 # files to appear (when present) in the UI as actual files and not red | 3301 # files to appear (when present) in the UI as actual files and not red |
3295 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3302 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3296 # and therefore SYMROOT, needs to be set at the project level. | 3303 # and therefore SYMROOT, needs to be set at the project level. |
3297 'SYMROOT': '<(DEPTH)/xcodebuild', | 3304 'SYMROOT': '<(DEPTH)/xcodebuild', |
3298 }, | 3305 }, |
3299 } | 3306 } |
OLD | NEW |