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 2977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2988 }], | 2988 }], |
2989 ['enable_ipc_fuzzer==1', { | 2989 ['enable_ipc_fuzzer==1', { |
2990 'defines': ['ENABLE_IPC_FUZZER=1'], | 2990 'defines': ['ENABLE_IPC_FUZZER=1'], |
2991 }], | 2991 }], |
2992 ['video_hole==1', { | 2992 ['video_hole==1', { |
2993 'defines': ['VIDEO_HOLE=1'], | 2993 'defines': ['VIDEO_HOLE=1'], |
2994 }], | 2994 }], |
2995 ['v8_use_external_startup_data==1', { | 2995 ['v8_use_external_startup_data==1', { |
2996 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'], | 2996 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'], |
2997 }], | 2997 }], |
| 2998 |
| 2999 # SAFE_BROWSING_SERVICE - browser manages a safe-browsing service. |
| 3000 # SAFE_BROWSING_DB_LOCAL - service manages a local database. |
| 3001 # SAFE_BROWSING_DB_REMOTE - service talks via API to a database |
| 3002 # SAFE_BROWSING_CSD - enable client-side phishing detection. |
| 3003 ['safe_browsing==1', { |
| 3004 # TODO(nparker): Remove existing uses of FULL_SAFE_BROWSING |
| 3005 'defines': [ |
| 3006 'FULL_SAFE_BROWSING', |
| 3007 'SAFE_BROWSING_CSD', |
| 3008 'SAFE_BROWSING_DB_LOCAL', |
| 3009 'SAFE_BROWSING_SERVICE', |
| 3010 ], |
| 3011 }], |
| 3012 ['safe_browsing==2', { |
| 3013 'defines': [ |
| 3014 # TODO(nparker): Remove existing uses of MOBILE_SAFE_BROWSING |
| 3015 'MOBILE_SAFE_BROWSING', |
| 3016 'SAFE_BROWSING_SERVICE', |
| 3017 ], |
| 3018 }], |
2998 ], # conditions for 'target_defaults' | 3019 ], # conditions for 'target_defaults' |
2999 'target_conditions': [ | 3020 'target_conditions': [ |
3000 ['<(use_libpci)==1', { | 3021 ['<(use_libpci)==1', { |
3001 'defines': ['USE_LIBPCI=1'], | 3022 'defines': ['USE_LIBPCI=1'], |
3002 }], | 3023 }], |
3003 ['<(use_openssl)==1', { | 3024 ['<(use_openssl)==1', { |
3004 'defines': ['USE_OPENSSL=1'], | 3025 'defines': ['USE_OPENSSL=1'], |
3005 }], | 3026 }], |
3006 ['<(use_openssl_certs)==1', { | 3027 ['<(use_openssl_certs)==1', { |
3007 'defines': ['USE_OPENSSL_CERTS=1'], | 3028 'defines': ['USE_OPENSSL_CERTS=1'], |
(...skipping 3110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6118 # settings in target dicts. SYMROOT is a special case, because many other | 6139 # settings in target dicts. SYMROOT is a special case, because many other |
6119 # Xcode variables depend on it, including variables such as | 6140 # Xcode variables depend on it, including variables such as |
6120 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6141 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6121 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6142 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6122 # files to appear (when present) in the UI as actual files and not red | 6143 # files to appear (when present) in the UI as actual files and not red |
6123 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6144 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6124 # and therefore SYMROOT, needs to be set at the project level. | 6145 # and therefore SYMROOT, needs to be set at the project level. |
6125 'SYMROOT': '<(DEPTH)/xcodebuild', | 6146 'SYMROOT': '<(DEPTH)/xcodebuild', |
6126 }, | 6147 }, |
6127 } | 6148 } |
OLD | NEW |