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

Side by Side Diff: chrome/chrome_browser.gypi

Issue 397853002: Refactor safe-browsing build-config definitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to pick up safe_browsing_resource_throttle_factory change. Created 6 years, 4 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 2012 The Chromium Authors. All rights reserved. 1 # Copyright 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 # All .cc, .h, .m, and .mm files under browser except for: 7 # All .cc, .h, .m, and .mm files under browser except for:
8 # * tests and mocks. 8 # * tests and mocks.
9 # * code below browser/chromeos 9 # * code below browser/chromeos
10 # * code below browser/extensions 10 # * code below browser/extensions
(...skipping 3114 matching lines...) Expand 10 before | Expand all | Expand 10 after
3125 }], 3125 }],
3126 ['safe_browsing != 0', { 3126 ['safe_browsing != 0', {
3127 'sources': [ '<@(chrome_browser_basic_safe_browsing_sources)' ], 3127 'sources': [ '<@(chrome_browser_basic_safe_browsing_sources)' ],
3128 'dependencies': [ 3128 'dependencies': [
3129 'safe_browsing_chunk_proto', 3129 'safe_browsing_chunk_proto',
3130 'safe_browsing_report_proto', 3130 'safe_browsing_report_proto',
3131 ], 3131 ],
3132 'conditions': [ 3132 'conditions': [
3133 ['safe_browsing == 1', { 3133 ['safe_browsing == 1', {
3134 'sources': [ '<@(chrome_browser_full_safe_browsing_sources)' ], 3134 'sources': [ '<@(chrome_browser_full_safe_browsing_sources)' ],
3135 'defines': [
3136 'FULL_SAFE_BROWSING',
3137 ],
3138 'dependencies': [ 3135 'dependencies': [
3139 'safe_browsing_proto', 3136 'safe_browsing_proto',
3140 ], 3137 ],
3141 }], 3138 }],
3142 ['safe_browsing == 2', {
3143 'defines': [
3144 'MOBILE_SAFE_BROWSING',
3145 ],
3146 }],
3147 ], 3139 ],
3148 }], 3140 }],
3149 ['OS=="linux"', { 3141 ['OS=="linux"', {
3150 'dependencies': [ 3142 'dependencies': [
3151 '../build/linux/system.gyp:udev', 3143 '../build/linux/system.gyp:udev',
3152 '../device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_f ile_entry_proto', 3144 '../device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_f ile_entry_proto',
3153 '../device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_s torage_info_proto', 3145 '../device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_s torage_info_proto',
3154 '../device/media_transfer_protocol/media_transfer_protocol.gyp:devic e_media_transfer_protocol', 3146 '../device/media_transfer_protocol/media_transfer_protocol.gyp:devic e_media_transfer_protocol',
3155 ], 3147 ],
3156 }], 3148 }],
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
3610 'package_name': 'org/chromium/chrome/browser', 3602 'package_name': 'org/chromium/chrome/browser',
3611 'template_deps': ['browser/android/tab_load_status.h'], 3603 'template_deps': ['browser/android/tab_load_status.h'],
3612 }, 3604 },
3613 'includes': [ '../build/android/java_cpp_template.gypi' ], 3605 'includes': [ '../build/android/java_cpp_template.gypi' ],
3614 }, 3606 },
3615 ], 3607 ],
3616 }, 3608 },
3617 ], 3609 ],
3618 ], 3610 ],
3619 } 3611 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698