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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 104 |
105 # This is set when building the Android WebView inside the Android | 105 # This is set when building the Android WebView inside the Android |
106 # build system, using the 'android' gyp backend. The WebView code is | 106 # build system, using the 'android' gyp backend. The WebView code is |
107 # still built when this is unset, but builds using the normal chromium | 107 # still built when this is unset, but builds using the normal chromium |
108 # build system. | 108 # build system. |
109 'android_webview_build%': 0, | 109 'android_webview_build%': 0, |
110 | 110 |
111 # Sets whether chrome is built for google tv device. | 111 # Sets whether chrome is built for google tv device. |
112 'google_tv%': 0, | 112 'google_tv%': 0, |
113 | 113 |
114 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they | |
115 # are built under a chromium full build (1) or a webkit.org chromium | |
116 # build (0). | |
117 'inside_chromium_build%': 1, | |
118 | |
119 'conditions': [ | 114 'conditions': [ |
120 # Set default value of toolkit_views based on OS. | 115 # Set default value of toolkit_views based on OS. |
121 ['OS=="win" or chromeos==1 or use_aura==1', { | 116 ['OS=="win" or chromeos==1 or use_aura==1', { |
122 'toolkit_views%': 1, | 117 'toolkit_views%': 1, |
123 }, { | 118 }, { |
124 'toolkit_views%': 0, | 119 'toolkit_views%': 0, |
125 }], | 120 }], |
126 | 121 |
127 # Set toolkit_uses_gtk for the Chromium browser on Linux. | 122 # Set toolkit_uses_gtk for the Chromium browser on Linux. |
128 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and
use_aura==0', { | 123 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and
use_aura==0', { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 'toolkit_views%': '<(toolkit_views)', | 165 'toolkit_views%': '<(toolkit_views)', |
171 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 166 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
172 'use_aura%': '<(use_aura)', | 167 'use_aura%': '<(use_aura)', |
173 'use_ash%': '<(use_ash)', | 168 'use_ash%': '<(use_ash)', |
174 'use_openssl%': '<(use_openssl)', | 169 'use_openssl%': '<(use_openssl)', |
175 'enable_viewport%': '<(enable_viewport)', | 170 'enable_viewport%': '<(enable_viewport)', |
176 'enable_hidpi%': '<(enable_hidpi)', | 171 'enable_hidpi%': '<(enable_hidpi)', |
177 'enable_touch_ui%': '<(enable_touch_ui)', | 172 'enable_touch_ui%': '<(enable_touch_ui)', |
178 'android_webview_build%': '<(android_webview_build)', | 173 'android_webview_build%': '<(android_webview_build)', |
179 'google_tv%': '<(google_tv)', | 174 'google_tv%': '<(google_tv)', |
180 'inside_chromium_build%': '<(inside_chromium_build)', | |
181 'enable_app_list%': '<(enable_app_list)', | 175 'enable_app_list%': '<(enable_app_list)', |
182 'enable_message_center%': '<(enable_message_center)', | 176 'enable_message_center%': '<(enable_message_center)', |
183 'use_default_render_theme%': '<(use_default_render_theme)', | 177 'use_default_render_theme%': '<(use_default_render_theme)', |
184 'buildtype%': '<(buildtype)', | 178 'buildtype%': '<(buildtype)', |
185 | 179 |
186 # Override branding to select the desired branding flavor. | 180 # Override branding to select the desired branding flavor. |
187 'branding%': 'Chromium', | 181 'branding%': 'Chromium', |
188 | 182 |
| 183 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are |
| 184 # are built under a chromium full build (1) or a webkit.org chromium |
| 185 # build (0). |
| 186 'inside_chromium_build%': 1, |
| 187 |
189 # Set to 1 to enable fast builds. It disables debug info for fastest | 188 # Set to 1 to enable fast builds. It disables debug info for fastest |
190 # compilation. | 189 # compilation. |
191 'fastbuild%': 0, | 190 'fastbuild%': 0, |
192 | 191 |
193 # Set to 1 to enable dcheck in release without having to use the flag. | 192 # Set to 1 to enable dcheck in release without having to use the flag. |
194 'dcheck_always_on%': 0, | 193 'dcheck_always_on%': 0, |
195 | 194 |
196 # Disable file manager component extension by default. | 195 # Disable file manager component extension by default. |
197 'file_manager_extension%': 0, | 196 'file_manager_extension%': 0, |
198 | 197 |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 # specific implementations of gfx::Canvas. Affects text drawing in the | 377 # specific implementations of gfx::Canvas. Affects text drawing in the |
379 # Chrome UI. | 378 # Chrome UI. |
380 # TODO(asvitkine): Enable this on all platforms and delete this flag. | 379 # TODO(asvitkine): Enable this on all platforms and delete this flag. |
381 # http://crbug.com/105550 | 380 # http://crbug.com/105550 |
382 'use_canvas_skia%': 0, | 381 'use_canvas_skia%': 0, |
383 | 382 |
384 # Set to "tsan", "memcheck", or "drmemory" to configure the build to work | 383 # Set to "tsan", "memcheck", or "drmemory" to configure the build to work |
385 # with one of those tools. | 384 # with one of those tools. |
386 'build_for_tool%': '', | 385 'build_for_tool%': '', |
387 | 386 |
| 387 # Whether tests targets should be run, archived or just have the |
| 388 # dependencies verified. All the tests targets have the '_run' suffix, |
| 389 # e.g. base_unittests_run runs the target base_unittests. The test target |
| 390 # always calls tools/swarm_client/isolate.py. See the script's --help for |
| 391 # more information and the valid --mode values. Meant to be overriden with |
| 392 # GYP_DEFINES. |
| 393 # TODO(maruel): Converted the default from 'check' to 'noop' so work can |
| 394 # be done while the builders are being reconfigured to check out test data |
| 395 # files. |
| 396 'test_isolation_mode%': 'noop', |
388 # If no directory is specified then a temporary directory will be used. | 397 # If no directory is specified then a temporary directory will be used. |
389 'test_isolation_outdir%': '', | 398 'test_isolation_outdir%': '', |
390 # True if isolate should fail if the isolate files refer to files | |
391 # that are missing. | |
392 'test_isolation_fail_on_missing': 0, | |
393 | 399 |
394 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x86', | 400 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x86', |
395 'wix_path%': '<(DEPTH)/third_party/wix', | 401 'wix_path%': '<(DEPTH)/third_party/wix', |
396 | 402 |
397 # Managed users are enabled by default. | 403 # Managed users are enabled by default. |
398 'enable_managed_users%': 1, | 404 'enable_managed_users%': 1, |
399 | 405 |
400 'spdy_proxy_auth_origin%' : '', | 406 'spdy_proxy_auth_origin%' : '', |
401 'spdy_proxy_auth_property%' : '', | 407 'spdy_proxy_auth_property%' : '', |
402 | 408 |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
600 'linux_use_tcmalloc%': 0, | 606 'linux_use_tcmalloc%': 0, |
601 # sysroot needs to be an absolute path otherwise it generates | 607 # sysroot needs to be an absolute path otherwise it generates |
602 # incorrect results when passed to pkg-config | 608 # incorrect results when passed to pkg-config |
603 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', | 609 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', |
604 }], # OS=="linux" and target_arch=="arm" and chromeos==0 | 610 }], # OS=="linux" and target_arch=="arm" and chromeos==0 |
605 | 611 |
606 ['target_arch=="mipsel"', { | 612 ['target_arch=="mipsel"', { |
607 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot', | 613 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot', |
608 'CXX%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/bin/mipsel-linux-gnu
-gcc', | 614 'CXX%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/bin/mipsel-linux-gnu
-gcc', |
609 }], | 615 }], |
610 | |
611 # Whether tests targets should be run, archived or just have the | |
612 # dependencies verified. All the tests targets have the '_run' suffix, | |
613 # e.g. base_unittests_run runs the target base_unittests. The test | |
614 # target always calls tools/swarm_client/isolate.py. See the script's | |
615 # --help for more information and the valid --mode values. Meant to be | |
616 # overriden with GYP_DEFINES. | |
617 ['inside_chromium_build==1 and OS != "ios"', { | |
618 'test_isolation_mode%': 'check', | |
619 }, { | |
620 'test_isolation_mode%': 'noop', | |
621 }], | |
622 ], | 616 ], |
623 | 617 |
624 # Set this to 1 to use the Google-internal file containing | 618 # Set this to 1 to use the Google-internal file containing |
625 # official API keys for Google Chrome even in a developer build. | 619 # official API keys for Google Chrome even in a developer build. |
626 # Setting this variable explicitly to 1 will cause your build to | 620 # Setting this variable explicitly to 1 will cause your build to |
627 # fail if the internal file is missing. | 621 # fail if the internal file is missing. |
628 # | 622 # |
629 # Set this to 0 to not use the internal file, even when it | 623 # Set this to 0 to not use the internal file, even when it |
630 # exists in your checkout. | 624 # exists in your checkout. |
631 # | 625 # |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
716 'enable_themes%': '<(enable_themes)', | 710 'enable_themes%': '<(enable_themes)', |
717 'enable_autofill_dialog%': '<(enable_autofill_dialog)', | 711 'enable_autofill_dialog%': '<(enable_autofill_dialog)', |
718 'use_oem_wallpaper%': '<(use_oem_wallpaper)', | 712 'use_oem_wallpaper%': '<(use_oem_wallpaper)', |
719 'enable_background%': '<(enable_background)', | 713 'enable_background%': '<(enable_background)', |
720 'linux_use_gold_binary%': '<(linux_use_gold_binary)', | 714 'linux_use_gold_binary%': '<(linux_use_gold_binary)', |
721 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 715 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
722 'linux_use_libgps%': '<(linux_use_libgps)', | 716 'linux_use_libgps%': '<(linux_use_libgps)', |
723 'use_canvas_skia%': '<(use_canvas_skia)', | 717 'use_canvas_skia%': '<(use_canvas_skia)', |
724 'test_isolation_mode%': '<(test_isolation_mode)', | 718 'test_isolation_mode%': '<(test_isolation_mode)', |
725 'test_isolation_outdir%': '<(test_isolation_outdir)', | 719 'test_isolation_outdir%': '<(test_isolation_outdir)', |
726 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', | |
727 'enable_automation%': '<(enable_automation)', | 720 'enable_automation%': '<(enable_automation)', |
728 'enable_printing%': '<(enable_printing)', | 721 'enable_printing%': '<(enable_printing)', |
729 'enable_google_now%': '<(enable_google_now)', | 722 'enable_google_now%': '<(enable_google_now)', |
730 'enable_language_detection%': '<(enable_language_detection)', | 723 'enable_language_detection%': '<(enable_language_detection)', |
731 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 724 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
732 'disable_ftp_support%': '<(disable_ftp_support)', | 725 'disable_ftp_support%': '<(disable_ftp_support)', |
733 'enable_task_manager%': '<(enable_task_manager)', | 726 'enable_task_manager%': '<(enable_task_manager)', |
734 'sas_dll_path%': '<(sas_dll_path)', | 727 'sas_dll_path%': '<(sas_dll_path)', |
735 'wix_path%': '<(wix_path)', | 728 'wix_path%': '<(wix_path)', |
736 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 729 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
(...skipping 3411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4148 # settings in target dicts. SYMROOT is a special case, because many other | 4141 # settings in target dicts. SYMROOT is a special case, because many other |
4149 # Xcode variables depend on it, including variables such as | 4142 # Xcode variables depend on it, including variables such as |
4150 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4143 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4151 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4144 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4152 # files to appear (when present) in the UI as actual files and not red | 4145 # files to appear (when present) in the UI as actual files and not red |
4153 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4146 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4154 # and therefore SYMROOT, needs to be set at the project level. | 4147 # and therefore SYMROOT, needs to be set at the project level. |
4155 'SYMROOT': '<(DEPTH)/xcodebuild', | 4148 'SYMROOT': '<(DEPTH)/xcodebuild', |
4156 }, | 4149 }, |
4157 } | 4150 } |
OLD | NEW |