| 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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 # currently only works on Linux. | 363 # currently only works on Linux. |
| 364 'use_third_party_translations%': 0, | 364 'use_third_party_translations%': 0, |
| 365 | 365 |
| 366 # Remoting compilation is enabled by default. Set to 0 to disable. | 366 # Remoting compilation is enabled by default. Set to 0 to disable. |
| 367 'remoting%': 1, | 367 'remoting%': 1, |
| 368 | 368 |
| 369 # Configuration policy is enabled by default. Set to 0 to disable. | 369 # Configuration policy is enabled by default. Set to 0 to disable. |
| 370 'configuration_policy%': 1, | 370 'configuration_policy%': 1, |
| 371 | 371 |
| 372 # Variable safe_browsing is used to control the build time configuration | 372 # Variable safe_browsing is used to control the build time configuration |
| 373 # for safe browsing feature. Safe browsing can be compiled in 3 different | 373 # for safe browsing feature. Safe browsing can be compiled in 4 different |
| 374 # levels: 0 disables it, 1 enables it fully, and 2 enables only UI and | 374 # levels: 0 disables it, 1 enables it fully, and 2 enables only UI and |
| 375 # reporting features without enabling phishing and malware detection. This | 375 # reporting features for use with Data Saver on Mobile, and 3 enables |
| 376 # is useful to integrate a third party phishing/malware detection to | 376 # extended mobile protection via an external API. When 3 is fully |
| 377 # existing safe browsing logic. | 377 # deployed, it will replace 2. |
| 378 'safe_browsing%': 1, | 378 'safe_browsing%': 1, |
| 379 | 379 |
| 380 # Web speech is enabled by default. Set to 0 to disable. | 380 # Web speech is enabled by default. Set to 0 to disable. |
| 381 'enable_web_speech%': 1, | 381 'enable_web_speech%': 1, |
| 382 | 382 |
| 383 # Notifications are compiled in by default. Set to 0 to disable. | 383 # Notifications are compiled in by default. Set to 0 to disable. |
| 384 'notifications%' : 1, | 384 'notifications%' : 1, |
| 385 | 385 |
| 386 # Use dsymutil to generate real .dSYM files on Mac. The default is 0 for | 386 # Use dsymutil to generate real .dSYM files on Mac. The default is 0 for |
| 387 # regular builds and 1 for ASan builds. | 387 # regular builds and 1 for ASan builds. |
| (...skipping 2610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2998 }], | 2998 }], |
| 2999 ['v8_use_external_startup_data==1', { | 2999 ['v8_use_external_startup_data==1', { |
| 3000 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'], | 3000 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'], |
| 3001 }], | 3001 }], |
| 3002 | 3002 |
| 3003 # SAFE_BROWSING_SERVICE - browser manages a safe-browsing service. | 3003 # SAFE_BROWSING_SERVICE - browser manages a safe-browsing service. |
| 3004 # SAFE_BROWSING_DB_LOCAL - service manages a local database. | 3004 # SAFE_BROWSING_DB_LOCAL - service manages a local database. |
| 3005 # SAFE_BROWSING_DB_REMOTE - service talks via API to a database | 3005 # SAFE_BROWSING_DB_REMOTE - service talks via API to a database |
| 3006 # SAFE_BROWSING_CSD - enable client-side phishing detection. | 3006 # SAFE_BROWSING_CSD - enable client-side phishing detection. |
| 3007 ['safe_browsing==1', { | 3007 ['safe_browsing==1', { |
| 3008 # TODO(nparker): Remove existing uses of FULL_SAFE_BROWSING | |
| 3009 'defines': [ | 3008 'defines': [ |
| 3009 # TODO(nparker): Remove existing uses of FULL_SAFE_BROWSING |
| 3010 'FULL_SAFE_BROWSING', | 3010 'FULL_SAFE_BROWSING', |
| 3011 'SAFE_BROWSING_CSD', | 3011 'SAFE_BROWSING_CSD', |
| 3012 'SAFE_BROWSING_DB_LOCAL', | 3012 'SAFE_BROWSING_DB_LOCAL', |
| 3013 'SAFE_BROWSING_SERVICE', | 3013 'SAFE_BROWSING_SERVICE', |
| 3014 ], | 3014 ], |
| 3015 }], | 3015 }], |
| 3016 ['safe_browsing==2', { | 3016 ['safe_browsing==2', { |
| 3017 'defines': [ | 3017 'defines': [ |
| 3018 # TODO(nparker): Remove existing uses of MOBILE_SAFE_BROWSING | 3018 # TODO(nparker): Remove existing uses of MOBILE_SAFE_BROWSING |
| 3019 'MOBILE_SAFE_BROWSING', | 3019 'MOBILE_SAFE_BROWSING', |
| 3020 'SAFE_BROWSING_SERVICE', | 3020 'SAFE_BROWSING_SERVICE', |
| 3021 ], | 3021 ], |
| 3022 }], | 3022 }], |
| 3023 ['safe_browsing==3', { |
| 3024 'defines': [ |
| 3025 # TODO(nparker): Remove existing uses of MOBILE_SAFE_BROWSING |
| 3026 'MOBILE_SAFE_BROWSING', |
| 3027 'SAFE_BROWSING_DB_REMOTE', |
| 3028 'SAFE_BROWSING_SERVICE', |
| 3029 ], |
| 3030 }], |
| 3023 ], # conditions for 'target_defaults' | 3031 ], # conditions for 'target_defaults' |
| 3024 'target_conditions': [ | 3032 'target_conditions': [ |
| 3025 ['<(use_libpci)==1', { | 3033 ['<(use_libpci)==1', { |
| 3026 'defines': ['USE_LIBPCI=1'], | 3034 'defines': ['USE_LIBPCI=1'], |
| 3027 }], | 3035 }], |
| 3028 ['<(use_openssl)==1', { | 3036 ['<(use_openssl)==1', { |
| 3029 'defines': ['USE_OPENSSL=1'], | 3037 'defines': ['USE_OPENSSL=1'], |
| 3030 }], | 3038 }], |
| 3031 ['<(use_openssl_certs)==1', { | 3039 ['<(use_openssl_certs)==1', { |
| 3032 'defines': ['USE_OPENSSL_CERTS=1'], | 3040 'defines': ['USE_OPENSSL_CERTS=1'], |
| (...skipping 3131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6164 # settings in target dicts. SYMROOT is a special case, because many other | 6172 # settings in target dicts. SYMROOT is a special case, because many other |
| 6165 # Xcode variables depend on it, including variables such as | 6173 # Xcode variables depend on it, including variables such as |
| 6166 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6174 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6167 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6175 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6168 # files to appear (when present) in the UI as actual files and not red | 6176 # files to appear (when present) in the UI as actual files and not red |
| 6169 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6177 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6170 # and therefore SYMROOT, needs to be set at the project level. | 6178 # and therefore SYMROOT, needs to be set at the project level. |
| 6171 'SYMROOT': '<(DEPTH)/xcodebuild', | 6179 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6172 }, | 6180 }, |
| 6173 } | 6181 } |
| OLD | NEW |