Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: build/common.gypi

Issue 1081403002: Refactor safe-browsing build-config definitions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename INTERNAL/EXTERNAL to LOCAL/REMOTE Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 2959 matching lines...) Expand 10 before | Expand all | Expand 10 after
2970 }], 2970 }],
2971 ['enable_ipc_fuzzer==1', { 2971 ['enable_ipc_fuzzer==1', {
2972 'defines': ['ENABLE_IPC_FUZZER=1'], 2972 'defines': ['ENABLE_IPC_FUZZER=1'],
2973 }], 2973 }],
2974 ['video_hole==1', { 2974 ['video_hole==1', {
2975 'defines': ['VIDEO_HOLE=1'], 2975 'defines': ['VIDEO_HOLE=1'],
2976 }], 2976 }],
2977 ['v8_use_external_startup_data==1', { 2977 ['v8_use_external_startup_data==1', {
2978 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'], 2978 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'],
2979 }], 2979 }],
2980
2981 # SAFE_BROWSING_SERVICE - browser manages a safe-browsing service.
2982 # SAFE_BROWSING_DB_LOCAL - service manages a local database.
2983 # SAFE_BROWSING_DB_REMOTE - service talks via API to a database
2984 # SAFE_BROWSING_CSD - enable client-side phishing detection.
2985 ['safe_browsing==1', {
2986 'defines': [
2987 'FULL_SAFE_BROWSING',
Lei Zhang (Do not use) 2015/04/17 18:04:48 Are there still uses of these FULL_SAFE_BROWSING a
2988 'SAFE_BROWSING_CSD',
2989 'SAFE_BROWSING_DB_LOCAL',
2990 'SAFE_BROWSING_SERVICE',
2991 ],
2992 }],
2993 ['safe_browsing==2', {
2994 'defines': [
2995 'MOBILE_SAFE_BROWSING',
2996 'SAFE_BROWSING_SERVICE',
2997 ],
2998 }],
2980 ], # conditions for 'target_defaults' 2999 ], # conditions for 'target_defaults'
2981 'target_conditions': [ 3000 'target_conditions': [
2982 ['<(use_libpci)==1', { 3001 ['<(use_libpci)==1', {
2983 'defines': ['USE_LIBPCI=1'], 3002 'defines': ['USE_LIBPCI=1'],
2984 }], 3003 }],
2985 ['<(use_openssl)==1', { 3004 ['<(use_openssl)==1', {
2986 'defines': ['USE_OPENSSL=1'], 3005 'defines': ['USE_OPENSSL=1'],
2987 }], 3006 }],
2988 ['<(use_openssl_certs)==1', { 3007 ['<(use_openssl_certs)==1', {
2989 'defines': ['USE_OPENSSL_CERTS=1'], 3008 'defines': ['USE_OPENSSL_CERTS=1'],
(...skipping 3092 matching lines...) Expand 10 before | Expand all | Expand 10 after
6082 # settings in target dicts. SYMROOT is a special case, because many other 6101 # settings in target dicts. SYMROOT is a special case, because many other
6083 # Xcode variables depend on it, including variables such as 6102 # Xcode variables depend on it, including variables such as
6084 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6103 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6085 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6104 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6086 # files to appear (when present) in the UI as actual files and not red 6105 # files to appear (when present) in the UI as actual files and not red
6087 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6106 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6088 # and therefore SYMROOT, needs to be set at the project level. 6107 # and therefore SYMROOT, needs to be set at the project level.
6089 'SYMROOT': '<(DEPTH)/xcodebuild', 6108 'SYMROOT': '<(DEPTH)/xcodebuild',
6090 }, 6109 },
6091 } 6110 }
OLDNEW
« no previous file with comments | « no previous file | build/config/BUILD.gn » ('j') | chrome/browser/renderer_host/safe_browsing_resource_throttle_factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698