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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 # Enable Chrome browser extensions | 540 # Enable Chrome browser extensions |
541 'enable_extensions%': 1, | 541 'enable_extensions%': 1, |
542 | 542 |
543 # Enable basic printing support and UI. | 543 # Enable basic printing support and UI. |
544 'enable_basic_printing%': 1, | 544 'enable_basic_printing%': 1, |
545 | 545 |
546 # Enable printing with print preview. It does not imply | 546 # Enable printing with print preview. It does not imply |
547 # enable_basic_printing. It's possible to build Chrome with preview only. | 547 # enable_basic_printing. It's possible to build Chrome with preview only. |
548 'enable_print_preview%': 1, | 548 'enable_print_preview%': 1, |
549 | 549 |
550 # Set the version of CLD. | |
551 # 1: (DEPRECATED! See http://crbug.com/528305 for info) Use only CLD1. | |
552 # 2: Use only CLD2. | |
553 'cld_version%': 2, | |
554 | |
555 # For CLD2, the size of the tables that should be included in the build | 550 # For CLD2, the size of the tables that should be included in the build |
556 # Only evaluated if cld_version == 2. | |
557 # See third_party/cld_2/cld_2.gyp for more information. | 551 # See third_party/cld_2/cld_2.gyp for more information. |
558 # 0: Small tables, high accuracy | 552 # 0: Small tables, high accuracy |
559 # 2: Large tables, higher accuracy | 553 # 2: Large tables, higher accuracy |
560 'cld2_table_size%': 2, | 554 'cld2_table_size%': 2, |
561 | 555 |
562 # Enable spell checker. | 556 # Enable spell checker. |
563 'enable_spellcheck%': 1, | 557 'enable_spellcheck%': 1, |
564 | 558 |
565 # Use the operating system spellchecker, e.g. NSSpellChecker on Mac or | 559 # Use the operating system spellchecker, e.g. NSSpellChecker on Mac or |
566 # SpellCheckerSession on Android. | 560 # SpellCheckerSession on Android. |
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1245 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)', | 1239 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)', |
1246 'linux_use_bundled_binutils%': '<(linux_use_bundled_binutils)', | 1240 'linux_use_bundled_binutils%': '<(linux_use_bundled_binutils)', |
1247 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 1241 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
1248 'linux_use_debug_fission%': '<(linux_use_debug_fission)', | 1242 'linux_use_debug_fission%': '<(linux_use_debug_fission)', |
1249 'use_canvas_skia%': '<(use_canvas_skia)', | 1243 'use_canvas_skia%': '<(use_canvas_skia)', |
1250 'test_isolation_mode%': '<(test_isolation_mode)', | 1244 'test_isolation_mode%': '<(test_isolation_mode)', |
1251 'enable_basic_printing%': '<(enable_basic_printing)', | 1245 'enable_basic_printing%': '<(enable_basic_printing)', |
1252 'enable_print_preview%': '<(enable_print_preview)', | 1246 'enable_print_preview%': '<(enable_print_preview)', |
1253 'enable_spellcheck%': '<(enable_spellcheck)', | 1247 'enable_spellcheck%': '<(enable_spellcheck)', |
1254 'use_browser_spellchecker%': '<(use_browser_spellchecker)', | 1248 'use_browser_spellchecker%': '<(use_browser_spellchecker)', |
1255 'cld_version%': '<(cld_version)', | |
1256 'cld2_table_size%': '<(cld2_table_size)', | 1249 'cld2_table_size%': '<(cld2_table_size)', |
1257 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 1250 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
1258 'disable_file_support%': '<(disable_file_support)', | 1251 'disable_file_support%': '<(disable_file_support)', |
1259 'disable_ftp_support%': '<(disable_ftp_support)', | 1252 'disable_ftp_support%': '<(disable_ftp_support)', |
1260 'use_platform_icu_alternatives%': '<(use_platform_icu_alternatives)', | 1253 'use_platform_icu_alternatives%': '<(use_platform_icu_alternatives)', |
1261 'disable_brotli_filter%': '<(disable_brotli_filter)', | 1254 'disable_brotli_filter%': '<(disable_brotli_filter)', |
1262 'enable_task_manager%': '<(enable_task_manager)', | 1255 'enable_task_manager%': '<(enable_task_manager)', |
1263 'sas_dll_path%': '<(sas_dll_path)', | 1256 'sas_dll_path%': '<(sas_dll_path)', |
1264 'wix_path%': '<(wix_path)', | 1257 'wix_path%': '<(wix_path)', |
1265 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 1258 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
(...skipping 1390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2656 '-Wno-inconsistent-missing-override', | 2649 '-Wno-inconsistent-missing-override', |
2657 | 2650 |
2658 # TODO(thakis): Enable this, crbug.com/507717 | 2651 # TODO(thakis): Enable this, crbug.com/507717 |
2659 '-Wno-shift-negative-value', | 2652 '-Wno-shift-negative-value', |
2660 ], | 2653 ], |
2661 }, | 2654 }, |
2662 'includes': [ 'set_clang_warning_flags.gypi', ], | 2655 'includes': [ 'set_clang_warning_flags.gypi', ], |
2663 'defines': [ | 2656 'defines': [ |
2664 # Don't use deprecated V8 APIs anywhere. | 2657 # Don't use deprecated V8 APIs anywhere. |
2665 'V8_DEPRECATION_WARNINGS', | 2658 'V8_DEPRECATION_WARNINGS', |
2666 'CLD_VERSION=<(cld_version)', | |
2667 ], | 2659 ], |
2668 'include_dirs': [ | 2660 'include_dirs': [ |
2669 '<(SHARED_INTERMEDIATE_DIR)', | 2661 '<(SHARED_INTERMEDIATE_DIR)', |
2670 ], | 2662 ], |
2671 'conditions': [ | 2663 'conditions': [ |
2672 ['OS=="mac"', { | 2664 ['OS=="mac"', { |
2673 # When compiling Objective C, warns if a method is used whose | 2665 # When compiling Objective C, warns if a method is used whose |
2674 # availability is newer than the deployment target. | 2666 # availability is newer than the deployment target. |
2675 'xcode_settings': { 'WARNING_CFLAGS': ['-Wpartial-availability']}, | 2667 'xcode_settings': { 'WARNING_CFLAGS': ['-Wpartial-availability']}, |
2676 }], | 2668 }], |
(...skipping 3640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6317 # settings in target dicts. SYMROOT is a special case, because many other | 6309 # settings in target dicts. SYMROOT is a special case, because many other |
6318 # Xcode variables depend on it, including variables such as | 6310 # Xcode variables depend on it, including variables such as |
6319 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6311 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6320 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6312 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6321 # files to appear (when present) in the UI as actual files and not red | 6313 # files to appear (when present) in the UI as actual files and not red |
6322 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6314 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6323 # and therefore SYMROOT, needs to be set at the project level. | 6315 # and therefore SYMROOT, needs to be set at the project level. |
6324 'SYMROOT': '<(DEPTH)/xcodebuild', | 6316 'SYMROOT': '<(DEPTH)/xcodebuild', |
6325 }, | 6317 }, |
6326 } | 6318 } |
OLD | NEW |