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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 # Enable Google Now. | 334 # Enable Google Now. |
335 'enable_google_now%': 1, | 335 'enable_google_now%': 1, |
336 | 336 |
337 # Enable printing support and UI. This variable is used to configure | 337 # Enable printing support and UI. This variable is used to configure |
338 # which parts of printing will be built. 0 disables printing completely, | 338 # which parts of printing will be built. 0 disables printing completely, |
339 # 1 enables it fully, and 2 enables only the codepath to generate a | 339 # 1 enables it fully, and 2 enables only the codepath to generate a |
340 # Metafile (e.g. usually a PDF or EMF) and disables print preview, cloud | 340 # Metafile (e.g. usually a PDF or EMF) and disables print preview, cloud |
341 # print, UI, etc. | 341 # print, UI, etc. |
342 'enable_printing%': 1, | 342 'enable_printing%': 1, |
343 | 343 |
| 344 # Set the version of CLD. |
| 345 # 0: Don't specify the version. This option is for the Finch testing. |
| 346 # 1: Use only CLD1. |
| 347 # 2: Use only CLD2. |
| 348 'cld_version%': 0, |
| 349 |
344 # Enable spell checker. | 350 # Enable spell checker. |
345 'enable_spellcheck%': 1, | 351 'enable_spellcheck%': 1, |
346 | 352 |
347 # Webrtc compilation is enabled by default. Set to 0 to disable. | 353 # Webrtc compilation is enabled by default. Set to 0 to disable. |
348 'enable_webrtc%': 1, | 354 'enable_webrtc%': 1, |
349 | 355 |
350 # Enables use of the session service, which is enabled by default. | 356 # Enables use of the session service, which is enabled by default. |
351 # Support for disabling depends on the platform. | 357 # Support for disabling depends on the platform. |
352 'enable_session_service%': 1, | 358 'enable_session_service%': 1, |
353 | 359 |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 'image_loader_extension%': 1, | 509 'image_loader_extension%': 1, |
504 }, { | 510 }, { |
505 'file_manager_extension%': 0, | 511 'file_manager_extension%': 0, |
506 'image_loader_extension%': 0, | 512 'image_loader_extension%': 0, |
507 }], | 513 }], |
508 | 514 |
509 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { | 515 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { |
510 'enable_one_click_signin%': 1, | 516 'enable_one_click_signin%': 1, |
511 }], | 517 }], |
512 | 518 |
| 519 ['OS=="win"', { |
| 520 'cld_version%': 1, |
| 521 }], |
| 522 |
513 ['OS=="android"', { | 523 ['OS=="android"', { |
514 'enable_automation%': 0, | 524 'enable_automation%': 0, |
515 'enable_extensions%': 0, | 525 'enable_extensions%': 0, |
516 'enable_google_now%': 0, | 526 'enable_google_now%': 0, |
| 527 'cld_version%': 1, |
517 'enable_spellcheck%': 0, | 528 'enable_spellcheck%': 0, |
518 'enable_themes%': 0, | 529 'enable_themes%': 0, |
519 'remoting%': 0, | 530 'remoting%': 0, |
520 'arm_neon%': 0, | 531 'arm_neon%': 0, |
521 'arm_neon_optional%': 1, | 532 'arm_neon_optional%': 1, |
522 'native_discardable_memory%': 1, | 533 'native_discardable_memory%': 1, |
523 'native_memory_pressure_signals%': 1, | 534 'native_memory_pressure_signals%': 1, |
524 }], | 535 }], |
525 | 536 |
526 # Enable basic printing for Chrome for Android but disable printing | 537 # Enable basic printing for Chrome for Android but disable printing |
(...skipping 29 matching lines...) Expand all Loading... |
556 ['OS=="android" and android_webview_build==1', { | 567 ['OS=="android" and android_webview_build==1', { |
557 'enable_webrtc%': 0, | 568 'enable_webrtc%': 0, |
558 }], | 569 }], |
559 | 570 |
560 ['OS=="ios"', { | 571 ['OS=="ios"', { |
561 'configuration_policy%': 0, | 572 'configuration_policy%': 0, |
562 'disable_ftp_support%': 1, | 573 'disable_ftp_support%': 1, |
563 'enable_automation%': 0, | 574 'enable_automation%': 0, |
564 'enable_extensions%': 0, | 575 'enable_extensions%': 0, |
565 'enable_google_now%': 0, | 576 'enable_google_now%': 0, |
| 577 'cld_version%': 1, |
566 'enable_printing%': 0, | 578 'enable_printing%': 0, |
567 'enable_session_service%': 0, | 579 'enable_session_service%': 0, |
568 'enable_themes%': 0, | 580 'enable_themes%': 0, |
569 'enable_webrtc%': 0, | 581 'enable_webrtc%': 0, |
570 'notifications%': 0, | 582 'notifications%': 0, |
571 'remoting%': 0, | 583 'remoting%': 0, |
572 'safe_browsing%': 0, | 584 'safe_browsing%': 0, |
573 'enable_managed_users%': 0, | 585 'enable_managed_users%': 0, |
574 }], | 586 }], |
575 | 587 |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 856 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
845 'linux_use_libgps%': '<(linux_use_libgps)', | 857 'linux_use_libgps%': '<(linux_use_libgps)', |
846 'use_canvas_skia%': '<(use_canvas_skia)', | 858 'use_canvas_skia%': '<(use_canvas_skia)', |
847 'test_isolation_mode%': '<(test_isolation_mode)', | 859 'test_isolation_mode%': '<(test_isolation_mode)', |
848 'test_isolation_outdir%': '<(test_isolation_outdir)', | 860 'test_isolation_outdir%': '<(test_isolation_outdir)', |
849 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', | 861 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', |
850 'enable_automation%': '<(enable_automation)', | 862 'enable_automation%': '<(enable_automation)', |
851 'enable_printing%': '<(enable_printing)', | 863 'enable_printing%': '<(enable_printing)', |
852 'enable_spellcheck%': '<(enable_spellcheck)', | 864 'enable_spellcheck%': '<(enable_spellcheck)', |
853 'enable_google_now%': '<(enable_google_now)', | 865 'enable_google_now%': '<(enable_google_now)', |
| 866 'cld_version%': '<(cld_version)', |
854 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 867 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
855 'disable_ftp_support%': '<(disable_ftp_support)', | 868 'disable_ftp_support%': '<(disable_ftp_support)', |
856 'enable_task_manager%': '<(enable_task_manager)', | 869 'enable_task_manager%': '<(enable_task_manager)', |
857 'sas_dll_path%': '<(sas_dll_path)', | 870 'sas_dll_path%': '<(sas_dll_path)', |
858 'wix_path%': '<(wix_path)', | 871 'wix_path%': '<(wix_path)', |
859 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 872 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
860 'use_system_libjpeg%': '<(use_system_libjpeg)', | 873 'use_system_libjpeg%': '<(use_system_libjpeg)', |
861 'android_webview_build%': '<(android_webview_build)', | 874 'android_webview_build%': '<(android_webview_build)', |
862 'gyp_managed_install%': 0, | 875 'gyp_managed_install%': 0, |
863 'create_standalone_apk%': 1, | 876 'create_standalone_apk%': 1, |
(...skipping 1402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2266 }], | 2279 }], |
2267 ['enable_background==1', { | 2280 ['enable_background==1', { |
2268 'defines': ['ENABLE_BACKGROUND=1'], | 2281 'defines': ['ENABLE_BACKGROUND=1'], |
2269 }], | 2282 }], |
2270 ['enable_automation==1', { | 2283 ['enable_automation==1', { |
2271 'defines': ['ENABLE_AUTOMATION=1'], | 2284 'defines': ['ENABLE_AUTOMATION=1'], |
2272 }], | 2285 }], |
2273 ['enable_google_now==1', { | 2286 ['enable_google_now==1', { |
2274 'defines': ['ENABLE_GOOGLE_NOW=1'], | 2287 'defines': ['ENABLE_GOOGLE_NOW=1'], |
2275 }], | 2288 }], |
| 2289 ['cld_version!=0', { |
| 2290 'defines': ['CLD_VERSION=<(cld_version)'], |
| 2291 }], |
2276 ['enable_printing==1', { | 2292 ['enable_printing==1', { |
2277 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'], | 2293 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'], |
2278 }], | 2294 }], |
2279 ['enable_printing==2', { | 2295 ['enable_printing==2', { |
2280 'defines': ['ENABLE_PRINTING=1'], | 2296 'defines': ['ENABLE_PRINTING=1'], |
2281 }], | 2297 }], |
2282 ['enable_spellcheck==1', { | 2298 ['enable_spellcheck==1', { |
2283 'defines': ['ENABLE_SPELLCHECK=1'], | 2299 'defines': ['ENABLE_SPELLCHECK=1'], |
2284 }], | 2300 }], |
2285 ['enable_captive_portal_detection==1', { | 2301 ['enable_captive_portal_detection==1', { |
(...skipping 2421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4707 # settings in target dicts. SYMROOT is a special case, because many other | 4723 # settings in target dicts. SYMROOT is a special case, because many other |
4708 # Xcode variables depend on it, including variables such as | 4724 # Xcode variables depend on it, including variables such as |
4709 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4725 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4710 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4726 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4711 # files to appear (when present) in the UI as actual files and not red | 4727 # files to appear (when present) in the UI as actual files and not red |
4712 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4728 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4713 # and therefore SYMROOT, needs to be set at the project level. | 4729 # and therefore SYMROOT, needs to be set at the project level. |
4714 'SYMROOT': '<(DEPTH)/xcodebuild', | 4730 'SYMROOT': '<(DEPTH)/xcodebuild', |
4715 }, | 4731 }, |
4716 } | 4732 } |
OLD | NEW |