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