| 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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 'enable_google_now%': 1, | 549 'enable_google_now%': 1, |
| 550 | 550 |
| 551 # Enable basic printing support and UI. | 551 # Enable basic printing support and UI. |
| 552 'enable_basic_printing%': 1, | 552 'enable_basic_printing%': 1, |
| 553 | 553 |
| 554 # Enable printing with print preview. It does not imply | 554 # Enable printing with print preview. It does not imply |
| 555 # enable_basic_printing. It's possible to build Chrome with preview only. | 555 # enable_basic_printing. It's possible to build Chrome with preview only. |
| 556 'enable_print_preview%': 1, | 556 'enable_print_preview%': 1, |
| 557 | 557 |
| 558 # Set the version of CLD. | 558 # Set the version of CLD. |
| 559 # 0: Don't specify the version. This option is for the Finch testing. | |
| 560 # 1: Use only CLD1. | 559 # 1: Use only CLD1. |
| 561 # 2: Use only CLD2. | 560 # 2: Use only CLD2. |
| 562 'cld_version%': 2, | 561 'cld_version%': 2, |
| 563 | 562 |
| 564 # For CLD2, the size of the tables that should be included in the build | 563 # For CLD2, the size of the tables that should be included in the build |
| 565 # Only evaluated if cld_version == 2 or if building the CLD2 dynamic data | 564 # Only evaluated if cld_version == 2 or if building the CLD2 dynamic data |
| 566 # tool explicitly. | 565 # tool explicitly. |
| 567 # See third_party/cld_2/cld_2.gyp for more information. | 566 # See third_party/cld_2/cld_2.gyp for more information. |
| 568 # 0: Small tables, lower accuracy | 567 # 0: Small tables, lower accuracy |
| 569 # 2: Large tables, high accuracy | 568 # 2: Large tables, high accuracy |
| (...skipping 2051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2621 '-Wno-inconsistent-missing-override', | 2620 '-Wno-inconsistent-missing-override', |
| 2622 | 2621 |
| 2623 # TODO(thakis): Enable this, crbug.com/507717 | 2622 # TODO(thakis): Enable this, crbug.com/507717 |
| 2624 '-Wno-shift-negative-value', | 2623 '-Wno-shift-negative-value', |
| 2625 ], | 2624 ], |
| 2626 }, | 2625 }, |
| 2627 'includes': [ 'set_clang_warning_flags.gypi', ], | 2626 'includes': [ 'set_clang_warning_flags.gypi', ], |
| 2628 'defines': [ | 2627 'defines': [ |
| 2629 # Don't use deprecated V8 APIs anywhere. | 2628 # Don't use deprecated V8 APIs anywhere. |
| 2630 'V8_DEPRECATION_WARNINGS', | 2629 'V8_DEPRECATION_WARNINGS', |
| 2630 'CLD_VERSION=<(cld_version)', |
| 2631 ], | 2631 ], |
| 2632 'include_dirs': [ | 2632 'include_dirs': [ |
| 2633 '<(SHARED_INTERMEDIATE_DIR)', | 2633 '<(SHARED_INTERMEDIATE_DIR)', |
| 2634 ], | 2634 ], |
| 2635 'conditions': [ | 2635 'conditions': [ |
| 2636 ['OS=="mac"', { | 2636 ['OS=="mac"', { |
| 2637 # When compiling Objective C, warns if a method is used whose | 2637 # When compiling Objective C, warns if a method is used whose |
| 2638 # availability is newer than the deployment target. | 2638 # availability is newer than the deployment target. |
| 2639 'xcode_settings': { 'WARNING_CFLAGS': ['-Wpartial-availability']}, | 2639 'xcode_settings': { 'WARNING_CFLAGS': ['-Wpartial-availability']}, |
| 2640 }], | 2640 }], |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2987 # In GN, this is set on the autofill tagets only. See | 2987 # In GN, this is set on the autofill tagets only. See |
| 2988 # //components/autofill/core/browser:wallet_service | 2988 # //components/autofill/core/browser:wallet_service |
| 2989 'defines': ['ENABLE_PROD_WALLET_SERVICE=1'], | 2989 'defines': ['ENABLE_PROD_WALLET_SERVICE=1'], |
| 2990 }], | 2990 }], |
| 2991 ['enable_background==1', { | 2991 ['enable_background==1', { |
| 2992 'defines': ['ENABLE_BACKGROUND=1'], | 2992 'defines': ['ENABLE_BACKGROUND=1'], |
| 2993 }], | 2993 }], |
| 2994 ['enable_google_now==1', { | 2994 ['enable_google_now==1', { |
| 2995 'defines': ['ENABLE_GOOGLE_NOW=1'], | 2995 'defines': ['ENABLE_GOOGLE_NOW=1'], |
| 2996 }], | 2996 }], |
| 2997 ['cld_version!=0', { | |
| 2998 'defines': ['CLD_VERSION=<(cld_version)'], | |
| 2999 }], | |
| 3000 ['enable_basic_printing==1 or enable_print_preview==1', { | 2997 ['enable_basic_printing==1 or enable_print_preview==1', { |
| 3001 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. | 2998 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. |
| 3002 'defines': ['ENABLE_PRINTING=1'], | 2999 'defines': ['ENABLE_PRINTING=1'], |
| 3003 }], | 3000 }], |
| 3004 ['enable_basic_printing==1', { | 3001 ['enable_basic_printing==1', { |
| 3005 # Enable basic printing support and UI. | 3002 # Enable basic printing support and UI. |
| 3006 'defines': ['ENABLE_BASIC_PRINTING=1'], | 3003 'defines': ['ENABLE_BASIC_PRINTING=1'], |
| 3007 }], | 3004 }], |
| 3008 ['enable_print_preview==1', { | 3005 ['enable_print_preview==1', { |
| 3009 # Enable printing with print preview. | 3006 # Enable printing with print preview. |
| (...skipping 3284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6294 # settings in target dicts. SYMROOT is a special case, because many other | 6291 # settings in target dicts. SYMROOT is a special case, because many other |
| 6295 # Xcode variables depend on it, including variables such as | 6292 # Xcode variables depend on it, including variables such as |
| 6296 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6293 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6297 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6294 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6298 # files to appear (when present) in the UI as actual files and not red | 6295 # files to appear (when present) in the UI as actual files and not red |
| 6299 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6296 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6300 # and therefore SYMROOT, needs to be set at the project level. | 6297 # and therefore SYMROOT, needs to be set at the project level. |
| 6301 'SYMROOT': '<(DEPTH)/xcodebuild', | 6298 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6302 }, | 6299 }, |
| 6303 } | 6300 } |
| OLD | NEW |