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

Side by Side Diff: chrome/chrome_renderer.gypi

Issue 1081403002: Refactor safe-browsing build-config definitions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN includes for renderer/ 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 { 5 {
6 'variables': { 6 'variables': {
7 'chrome_renderer_sources': [ 7 'chrome_renderer_sources': [
8 'renderer/benchmarking_extension.cc', 8 'renderer/benchmarking_extension.cc',
9 'renderer/benchmarking_extension.h', 9 'renderer/benchmarking_extension.h',
10 'renderer/chrome_content_renderer_client.cc', 10 'renderer/chrome_content_renderer_client.cc',
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 }], 302 }],
303 ['safe_browsing==1 or safe_browsing==2', { 303 ['safe_browsing==1 or safe_browsing==2', {
304 'sources': [ 304 'sources': [
305 '<@(chrome_renderer_basic_safe_browsing_sources)', 305 '<@(chrome_renderer_basic_safe_browsing_sources)',
306 ], 306 ],
307 }], 307 }],
308 ['safe_browsing==1', { 308 ['safe_browsing==1', {
309 'sources': [ 309 'sources': [
310 '<@(chrome_renderer_safe_browsing_sources)', 310 '<@(chrome_renderer_safe_browsing_sources)',
311 ], 311 ],
312 'defines': [
313 'FULL_SAFE_BROWSING',
314 ],
315 'dependencies': [ 312 'dependencies': [
316 'safe_browsing_proto', 313 'safe_browsing_proto',
317 '../third_party/smhasher/smhasher.gyp:murmurhash3', 314 '../third_party/smhasher/smhasher.gyp:murmurhash3',
318 ], 315 ],
319 }], 316 }],
320 ['safe_browsing==2', {
321 'defines': [
322 'MOBILE_SAFE_BROWSING',
323 ],
324 }],
325 ['enable_extensions==1', { 317 ['enable_extensions==1', {
326 'dependencies': [ 318 'dependencies': [
327 '../extensions/extensions.gyp:extensions_renderer', 319 '../extensions/extensions.gyp:extensions_renderer',
328 '../extensions/extensions_resources.gyp:extensions_resources', 320 '../extensions/extensions_resources.gyp:extensions_resources',
329 '../media/cast/cast.gyp:cast_logging_proto', 321 '../media/cast/cast.gyp:cast_logging_proto',
330 '../media/cast/cast.gyp:cast_net', 322 '../media/cast/cast.gyp:cast_net',
331 '../media/cast/cast.gyp:cast_receiver', 323 '../media/cast/cast.gyp:cast_receiver',
332 '../media/cast/cast.gyp:cast_sender', 324 '../media/cast/cast.gyp:cast_sender',
333 # TODO(hclam): See crbug.com/298380 for details. 325 # TODO(hclam): See crbug.com/298380 for details.
334 # We should isolate the APIs needed by the renderer. 326 # We should isolate the APIs needed by the renderer.
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 'export_dependent_settings': [ 388 'export_dependent_settings': [
397 '<(allocator_target)', 389 '<(allocator_target)',
398 ], 390 ],
399 }], 391 }],
400 ], 392 ],
401 }], 393 }],
402 ], 394 ],
403 }, 395 },
404 ], 396 ],
405 } 397 }
OLDNEW
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/chrome_tests.gypi » ('j') | chrome/chrome_tests.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698