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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared | 413 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared |
414 # libraries on linux x86-64 and arm, plus ASLR. | 414 # libraries on linux x86-64 and arm, plus ASLR. |
415 'linux_fpic%': 1, | 415 'linux_fpic%': 1, |
416 | 416 |
417 # Whether one-click signin is enabled or not. | 417 # Whether one-click signin is enabled or not. |
418 'enable_one_click_signin%': 0, | 418 'enable_one_click_signin%': 0, |
419 | 419 |
420 # Enable Chrome browser extensions | 420 # Enable Chrome browser extensions |
421 'enable_extensions%': 1, | 421 'enable_extensions%': 1, |
422 | 422 |
423 # Enable browser automation. | |
424 'enable_automation%': 1, | |
425 | |
426 # Enable Google Now. | 423 # Enable Google Now. |
427 'enable_google_now%': 1, | 424 'enable_google_now%': 1, |
428 | 425 |
429 # Enable printing support and UI. This variable is used to configure | 426 # Enable printing support and UI. This variable is used to configure |
430 # which parts of printing will be built. 0 disables printing completely, | 427 # which parts of printing will be built. 0 disables printing completely, |
431 # 1 enables it fully, and 2 enables only the codepath to generate a | 428 # 1 enables it fully, and 2 enables only the codepath to generate a |
432 # Metafile (e.g. usually a PDF or EMF) and disables print preview, cloud | 429 # Metafile (e.g. usually a PDF or EMF) and disables print preview, cloud |
433 # print, UI, etc. | 430 # print, UI, etc. |
434 'enable_printing%': 1, | 431 'enable_printing%': 1, |
435 | 432 |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 'image_loader_extension%': 1, | 645 'image_loader_extension%': 1, |
649 }, { | 646 }, { |
650 'image_loader_extension%': 0, | 647 'image_loader_extension%': 0, |
651 }], | 648 }], |
652 | 649 |
653 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { | 650 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { |
654 'enable_one_click_signin%': 1, | 651 'enable_one_click_signin%': 1, |
655 }], | 652 }], |
656 | 653 |
657 ['OS=="android"', { | 654 ['OS=="android"', { |
658 'enable_automation%': 0, | |
659 'enable_extensions%': 0, | 655 'enable_extensions%': 0, |
660 'enable_google_now%': 0, | 656 'enable_google_now%': 0, |
661 'cld_version%': 1, | 657 'cld_version%': 1, |
662 'cld2_dynamic%': 0, | 658 'cld2_dynamic%': 0, |
663 'enable_spellcheck%': 0, | 659 'enable_spellcheck%': 0, |
664 'enable_themes%': 0, | 660 'enable_themes%': 0, |
665 'remoting%': 0, | 661 'remoting%': 0, |
666 'arm_neon%': 0, | 662 'arm_neon%': 0, |
667 'arm_neon_optional%': 1, | 663 'arm_neon_optional%': 1, |
668 'native_discardable_memory%': 1, | 664 'native_discardable_memory%': 1, |
(...skipping 23 matching lines...) Expand all Loading... |
692 ['toolkit_views==1 or (OS=="android" and android_webview_build==0) or OS
=="mac"', { | 688 ['toolkit_views==1 or (OS=="android" and android_webview_build==0) or OS
=="mac"', { |
693 'enable_autofill_dialog%': 1 | 689 'enable_autofill_dialog%': 1 |
694 }], | 690 }], |
695 | 691 |
696 ['OS=="android"', { | 692 ['OS=="android"', { |
697 'enable_webrtc%': 1, | 693 'enable_webrtc%': 1, |
698 }], | 694 }], |
699 | 695 |
700 ['OS=="ios"', { | 696 ['OS=="ios"', { |
701 'disable_ftp_support%': 1, | 697 'disable_ftp_support%': 1, |
702 'enable_automation%': 0, | |
703 'enable_extensions%': 0, | 698 'enable_extensions%': 0, |
704 'enable_google_now%': 0, | 699 'enable_google_now%': 0, |
705 'cld_version%': 1, | 700 'cld_version%': 1, |
706 'cld2_dynamic%': 0, | 701 'cld2_dynamic%': 0, |
707 'enable_printing%': 0, | 702 'enable_printing%': 0, |
708 'enable_session_service%': 0, | 703 'enable_session_service%': 0, |
709 'enable_themes%': 0, | 704 'enable_themes%': 0, |
710 'enable_webrtc%': 0, | 705 'enable_webrtc%': 0, |
711 'notifications%': 0, | 706 'notifications%': 0, |
712 'remoting%': 0, | 707 'remoting%': 0, |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1008 'enable_session_service%': '<(enable_session_service)', | 1003 'enable_session_service%': '<(enable_session_service)', |
1009 'enable_themes%': '<(enable_themes)', | 1004 'enable_themes%': '<(enable_themes)', |
1010 'enable_autofill_dialog%': '<(enable_autofill_dialog)', | 1005 'enable_autofill_dialog%': '<(enable_autofill_dialog)', |
1011 'enable_background%': '<(enable_background)', | 1006 'enable_background%': '<(enable_background)', |
1012 'linux_use_gold_binary%': '<(linux_use_gold_binary)', | 1007 'linux_use_gold_binary%': '<(linux_use_gold_binary)', |
1013 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 1008 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
1014 'use_canvas_skia%': '<(use_canvas_skia)', | 1009 'use_canvas_skia%': '<(use_canvas_skia)', |
1015 'test_isolation_mode%': '<(test_isolation_mode)', | 1010 'test_isolation_mode%': '<(test_isolation_mode)', |
1016 'test_isolation_outdir%': '<(test_isolation_outdir)', | 1011 'test_isolation_outdir%': '<(test_isolation_outdir)', |
1017 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', | 1012 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', |
1018 'enable_automation%': '<(enable_automation)', | |
1019 'enable_printing%': '<(enable_printing)', | 1013 'enable_printing%': '<(enable_printing)', |
1020 'enable_spellcheck%': '<(enable_spellcheck)', | 1014 'enable_spellcheck%': '<(enable_spellcheck)', |
1021 'enable_google_now%': '<(enable_google_now)', | 1015 'enable_google_now%': '<(enable_google_now)', |
1022 'cld_version%': '<(cld_version)', | 1016 'cld_version%': '<(cld_version)', |
1023 'cld2_table_size%': '<(cld2_table_size)', | 1017 'cld2_table_size%': '<(cld2_table_size)', |
1024 'cld2_dynamic%': '<(cld2_dynamic)', | 1018 'cld2_dynamic%': '<(cld2_dynamic)', |
1025 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 1019 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
1026 'disable_ftp_support%': '<(disable_ftp_support)', | 1020 'disable_ftp_support%': '<(disable_ftp_support)', |
1027 'enable_task_manager%': '<(enable_task_manager)', | 1021 'enable_task_manager%': '<(enable_task_manager)', |
1028 'sas_dll_path%': '<(sas_dll_path)', | 1022 'sas_dll_path%': '<(sas_dll_path)', |
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1567 # developer builds, to avoid spurious re-linking of native files. | 1561 # developer builds, to avoid spurious re-linking of native files. |
1568 'optimize_jni_generation%': 0, | 1562 'optimize_jni_generation%': 0, |
1569 | 1563 |
1570 # Always uses openssl. | 1564 # Always uses openssl. |
1571 'use_openssl%': 1, | 1565 'use_openssl%': 1, |
1572 'use_openssl_certs%': 1, | 1566 'use_openssl_certs%': 1, |
1573 | 1567 |
1574 'proprietary_codecs%': '<(proprietary_codecs)', | 1568 'proprietary_codecs%': '<(proprietary_codecs)', |
1575 'safe_browsing%': 2, | 1569 'safe_browsing%': 2, |
1576 'input_speech%': 0, | 1570 'input_speech%': 0, |
1577 'enable_automation%': 0, | |
1578 'java_bridge%': 1, | 1571 'java_bridge%': 1, |
1579 'build_ffmpegsumo%': 0, | 1572 'build_ffmpegsumo%': 0, |
1580 # TODO(dmikurube): Change the default of use_allocator to "none". | 1573 # TODO(dmikurube): Change the default of use_allocator to "none". |
1581 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 | 1574 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 |
1582 'linux_use_tcmalloc%': 0, | 1575 'linux_use_tcmalloc%': 0, |
1583 'use_allocator%': 'see_use_tcmalloc', | 1576 'use_allocator%': 'see_use_tcmalloc', |
1584 | 1577 |
1585 # Disable Native Client. | 1578 # Disable Native Client. |
1586 'disable_nacl%': 1, | 1579 'disable_nacl%': 1, |
1587 | 1580 |
(...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2516 }], | 2509 }], |
2517 ['enable_themes==1', { | 2510 ['enable_themes==1', { |
2518 'defines': ['ENABLE_THEMES=1'], | 2511 'defines': ['ENABLE_THEMES=1'], |
2519 }], | 2512 }], |
2520 ['enable_autofill_dialog==1', { | 2513 ['enable_autofill_dialog==1', { |
2521 'defines': ['ENABLE_AUTOFILL_DIALOG=1'], | 2514 'defines': ['ENABLE_AUTOFILL_DIALOG=1'], |
2522 }], | 2515 }], |
2523 ['enable_background==1', { | 2516 ['enable_background==1', { |
2524 'defines': ['ENABLE_BACKGROUND=1'], | 2517 'defines': ['ENABLE_BACKGROUND=1'], |
2525 }], | 2518 }], |
2526 ['enable_automation==1', { | |
2527 'defines': ['ENABLE_AUTOMATION=1'], | |
2528 }], | |
2529 ['enable_google_now==1', { | 2519 ['enable_google_now==1', { |
2530 'defines': ['ENABLE_GOOGLE_NOW=1'], | 2520 'defines': ['ENABLE_GOOGLE_NOW=1'], |
2531 }], | 2521 }], |
2532 ['cld_version!=0', { | 2522 ['cld_version!=0', { |
2533 'defines': ['CLD_VERSION=<(cld_version)'], | 2523 'defines': ['CLD_VERSION=<(cld_version)'], |
2534 }], | 2524 }], |
2535 ['cld2_dynamic!=0', { | 2525 ['cld2_dynamic!=0', { |
2536 'defines': ['CLD2_DYNAMIC_MODE=1'], | 2526 'defines': ['CLD2_DYNAMIC_MODE=1'], |
2537 }], | 2527 }], |
2538 ['enable_printing==1', { | 2528 ['enable_printing==1', { |
(...skipping 2677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5216 # settings in target dicts. SYMROOT is a special case, because many other | 5206 # settings in target dicts. SYMROOT is a special case, because many other |
5217 # Xcode variables depend on it, including variables such as | 5207 # Xcode variables depend on it, including variables such as |
5218 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5208 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5219 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5209 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5220 # files to appear (when present) in the UI as actual files and not red | 5210 # files to appear (when present) in the UI as actual files and not red |
5221 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5211 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5222 # and therefore SYMROOT, needs to be set at the project level. | 5212 # and therefore SYMROOT, needs to be set at the project level. |
5223 'SYMROOT': '<(DEPTH)/xcodebuild', | 5213 'SYMROOT': '<(DEPTH)/xcodebuild', |
5224 }, | 5214 }, |
5225 } | 5215 } |
OLD | NEW |