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

Side by Side Diff: build/common.gypi

Issue 1110723002: Split to SafeBrowsingDatabaseManager into Local* and Remote*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: extend test db manager to fix browser tests Created 5 years, 7 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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 1778 matching lines...) Expand 10 before | Expand all | Expand 10 after
2166 'variables': { 2166 'variables': {
2167 'conditions': [ 2167 'conditions': [
2168 ['OS=="mac" or OS=="ios"', { 2168 ['OS=="mac" or OS=="ios"', {
2169 'clang_lib_path%': '<!(cd <(DEPTH) && pwd -P)/third_party/ll vm-build/Release+Asserts/lib/libFindBadConstructs.dylib', 2169 'clang_lib_path%': '<!(cd <(DEPTH) && pwd -P)/third_party/ll vm-build/Release+Asserts/lib/libFindBadConstructs.dylib',
2170 }, { # OS != "mac" or OS != "ios" 2170 }, { # OS != "mac" or OS != "ios"
2171 'clang_lib_path%': '<!(cd <(DEPTH) && pwd -P)/third_party/ll vm-build/Release+Asserts/lib/libFindBadConstructs.so', 2171 'clang_lib_path%': '<!(cd <(DEPTH) && pwd -P)/third_party/ll vm-build/Release+Asserts/lib/libFindBadConstructs.so',
2172 }], 2172 }],
2173 ], 2173 ],
2174 }, 2174 },
2175 'clang_dynlib_flags%': '-Xclang -load -Xclang <(clang_lib_path) ', 2175 'clang_dynlib_flags%': '-Xclang -load -Xclang <(clang_lib_path) ',
2176 'clang_plugin_args%': '', 2176 'clang_plugin_args%': '',
mattm 2015/05/06 02:42:45 For future reference, it's best when updating a CL
Nathan Parker 2015/05/06 22:27:35 Yup, sorry, I aim to do that.
2177 }, { # OS == "win" 2177 }, { # OS == "win"
2178 # On Windows, the plugin is built directly into clang, so there's 2178 # On Windows, the plugin is built directly into clang, so there's
2179 # no need to load it dynamically. 2179 # no need to load it dynamically.
2180 'clang_dynlib_flags%': '', 2180 'clang_dynlib_flags%': '',
2181 2181
2182 # Don't error on plugin warnings on Windows until pre-existing war nings 2182 # Don't error on plugin warnings on Windows until pre-existing war nings
2183 # are cleaned up. https://crbug.com/467287 2183 # are cleaned up. https://crbug.com/467287
2184 'clang_plugin_args%': '-Xclang -plugin-arg-find-bad-constructs -Xc lang warn-only', 2184 'clang_plugin_args%': '-Xclang -plugin-arg-find-bad-constructs -Xc lang warn-only',
2185 }] 2185 }]
2186 ], 2186 ],
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
3004 }], 3004 }],
3005 ['v8_use_external_startup_data==1', { 3005 ['v8_use_external_startup_data==1', {
3006 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'], 3006 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'],
3007 }], 3007 }],
3008 3008
3009 # SAFE_BROWSING_SERVICE - browser manages a safe-browsing service. 3009 # SAFE_BROWSING_SERVICE - browser manages a safe-browsing service.
3010 # SAFE_BROWSING_DB_LOCAL - service manages a local database. 3010 # SAFE_BROWSING_DB_LOCAL - service manages a local database.
3011 # SAFE_BROWSING_DB_REMOTE - service talks via API to a database 3011 # SAFE_BROWSING_DB_REMOTE - service talks via API to a database
3012 # SAFE_BROWSING_CSD - enable client-side phishing detection. 3012 # SAFE_BROWSING_CSD - enable client-side phishing detection.
3013 ['safe_browsing==1', { 3013 ['safe_browsing==1', {
3014 # TODO(nparker): Remove existing uses of FULL_SAFE_BROWSING
3015 'defines': [ 3014 'defines': [
3015 # TODO(nparker): Remove existing uses of FULL_SAFE_BROWSING
3016 'FULL_SAFE_BROWSING', 3016 'FULL_SAFE_BROWSING',
3017 'SAFE_BROWSING_CSD', 3017 'SAFE_BROWSING_CSD',
3018 'SAFE_BROWSING_DB_LOCAL', 3018 'SAFE_BROWSING_DB_LOCAL',
3019 'SAFE_BROWSING_SERVICE', 3019 'SAFE_BROWSING_SERVICE',
3020 ], 3020 ],
3021 }], 3021 }],
3022 ['safe_browsing==2', { 3022 ['safe_browsing==2', {
3023 'defines': [ 3023 'defines': [
3024 # TODO(nparker): Remove existing uses of MOBILE_SAFE_BROWSING 3024 # TODO(nparker): Remove existing uses of MOBILE_SAFE_BROWSING
3025 'MOBILE_SAFE_BROWSING', 3025 'MOBILE_SAFE_BROWSING',
3026 'SAFE_BROWSING_SERVICE', 3026 'SAFE_BROWSING_SERVICE',
3027 ], 3027 ],
3028 }], 3028 }],
3029 ['safe_browsing==3', {
3030 'defines': [
3031 # TODO(nparker): Remove existing uses of MOBILE_SAFE_BROWSING
3032 'MOBILE_SAFE_BROWSING',
3033 'SAFE_BROWSING_DB_REMOTE',
3034 'SAFE_BROWSING_SERVICE',
3035 ],
3036 }],
3029 ], # conditions for 'target_defaults' 3037 ], # conditions for 'target_defaults'
3030 'target_conditions': [ 3038 'target_conditions': [
3031 ['<(use_libpci)==1', { 3039 ['<(use_libpci)==1', {
3032 'defines': ['USE_LIBPCI=1'], 3040 'defines': ['USE_LIBPCI=1'],
3033 }], 3041 }],
3034 ['<(use_openssl)==1', { 3042 ['<(use_openssl)==1', {
3035 'defines': ['USE_OPENSSL=1'], 3043 'defines': ['USE_OPENSSL=1'],
3036 }], 3044 }],
3037 ['<(use_openssl_certs)==1', { 3045 ['<(use_openssl_certs)==1', {
3038 'defines': ['USE_OPENSSL_CERTS=1'], 3046 'defines': ['USE_OPENSSL_CERTS=1'],
(...skipping 3138 matching lines...) Expand 10 before | Expand all | Expand 10 after
6177 # settings in target dicts. SYMROOT is a special case, because many other 6185 # settings in target dicts. SYMROOT is a special case, because many other
6178 # Xcode variables depend on it, including variables such as 6186 # Xcode variables depend on it, including variables such as
6179 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6187 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6180 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6188 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6181 # files to appear (when present) in the UI as actual files and not red 6189 # files to appear (when present) in the UI as actual files and not red
6182 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6190 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6183 # and therefore SYMROOT, needs to be set at the project level. 6191 # and therefore SYMROOT, needs to be set at the project level.
6184 'SYMROOT': '<(DEPTH)/xcodebuild', 6192 'SYMROOT': '<(DEPTH)/xcodebuild',
6185 }, 6193 },
6186 } 6194 }
OLDNEW
« no previous file with comments | « no previous file | build/config/BUILD.gn » ('j') | chrome/browser/safe_browsing/remote_database_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698