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

Side by Side Diff: build/common.gypi

Issue 397853002: Refactor safe-browsing build-config definitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup gn files Created 6 years, 5 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 | Annotate | Revision Log
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 2840 matching lines...) Expand 10 before | Expand all | Expand 10 after
2851 }], 2851 }],
2852 ['enable_hangout_services_extension==1', { 2852 ['enable_hangout_services_extension==1', {
2853 'defines': ['ENABLE_HANGOUT_SERVICES_EXTENSION=1'], 2853 'defines': ['ENABLE_HANGOUT_SERVICES_EXTENSION=1'],
2854 }], 2854 }],
2855 ['enable_ipc_fuzzer==1', { 2855 ['enable_ipc_fuzzer==1', {
2856 'defines': ['ENABLE_IPC_FUZZER=1'], 2856 'defines': ['ENABLE_IPC_FUZZER=1'],
2857 }], 2857 }],
2858 ['video_hole==1', { 2858 ['video_hole==1', {
2859 'defines': ['VIDEO_HOLE=1'], 2859 'defines': ['VIDEO_HOLE=1'],
2860 }], 2860 }],
2861
2862 # SAFE_BROWSING_SERVICE - browser manages a safe-browsing service.
2863 # SAFE_BROWSING_DATABASE - service manages a local database.
2864 # SAFE_BROWSING_CSD - enable client-side phishing detection.
2865 ['safe_browsing==1', {
2866 'defines': [
2867 'FULL_SAFE_BROWSING',
2868 'SAFE_BROWSING_CSD',
2869 'SAFE_BROWSING_DATABASE',
2870 'SAFE_BROWSING_SERVICE',
2871 ],
2872 }],
2873 # TODO(shess): I believe this case is no longer in use.
2874 ['safe_browsing==2', {
2875 'defines': [
2876 'MOBILE_SAFE_BROWSING',
2877 'SAFE_BROWSING_SERVICE',
2878 ],
2879 }],
2861 ], # conditions for 'target_defaults' 2880 ], # conditions for 'target_defaults'
2862 'target_conditions': [ 2881 'target_conditions': [
2863 ['<(use_openssl)==1', { 2882 ['<(use_openssl)==1', {
2864 'defines': ['USE_OPENSSL=1'], 2883 'defines': ['USE_OPENSSL=1'],
2865 }], 2884 }],
2866 ['<(use_openssl_certs)==1', { 2885 ['<(use_openssl_certs)==1', {
2867 'defines': ['USE_OPENSSL_CERTS=1'], 2886 'defines': ['USE_OPENSSL_CERTS=1'],
2868 }], 2887 }],
2869 ['>(nacl_untrusted_build)==1', { 2888 ['>(nacl_untrusted_build)==1', {
2870 'defines': [ 2889 'defines': [
(...skipping 2751 matching lines...) Expand 10 before | Expand all | Expand 10 after
5622 # settings in target dicts. SYMROOT is a special case, because many other 5641 # settings in target dicts. SYMROOT is a special case, because many other
5623 # Xcode variables depend on it, including variables such as 5642 # Xcode variables depend on it, including variables such as
5624 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5643 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5625 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5644 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5626 # files to appear (when present) in the UI as actual files and not red 5645 # files to appear (when present) in the UI as actual files and not red
5627 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5646 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5628 # and therefore SYMROOT, needs to be set at the project level. 5647 # and therefore SYMROOT, needs to be set at the project level.
5629 'SYMROOT': '<(DEPTH)/xcodebuild', 5648 'SYMROOT': '<(DEPTH)/xcodebuild',
5630 }, 5649 },
5631 } 5650 }
OLDNEW
« no previous file with comments | « no previous file | build/config/BUILD.gn » ('j') | chrome/browser/renderer_host/safe_browsing_resource_throttle_factory.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698