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

Side by Side Diff: chrome/chrome_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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # File lists shared with GN build. 7 # File lists shared with GN build.
8 'chrome_common_sources': [ 8 'chrome_common_sources': [
9 'common/all_messages.h', 9 'common/all_messages.h',
10 'common/attrition_experiments.h', 10 'common/attrition_experiments.h',
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 'sources!': [ 518 'sources!': [
519 'common/media/webrtc_logging_messages.h', 519 'common/media/webrtc_logging_messages.h',
520 ] 520 ]
521 }], 521 }],
522 ['configuration_policy==1', { 522 ['configuration_policy==1', {
523 'dependencies': [ 523 'dependencies': [
524 '<(DEPTH)/components/components.gyp:policy', 524 '<(DEPTH)/components/components.gyp:policy',
525 ], 525 ],
526 }], 526 }],
527 ['safe_browsing==1', { 527 ['safe_browsing==1', {
528 'defines': [ 'FULL_SAFE_BROWSING' ],
529 'sources': [ '<@(chrome_common_full_safe_browsing_sources)', ], 528 'sources': [ '<@(chrome_common_full_safe_browsing_sources)', ],
530 }], 529 }],
531 ['safe_browsing==2', {
532 'defines': [ 'MOBILE_SAFE_BROWSING' ],
533 }],
534 ], 530 ],
535 'target_conditions': [ 531 'target_conditions': [
536 ['OS == "ios"', { 532 ['OS == "ios"', {
537 'sources/': [ 533 'sources/': [
538 # Pull in specific Mac files for iOS (which have been filtered out 534 # Pull in specific Mac files for iOS (which have been filtered out
539 # by file name rules). 535 # by file name rules).
540 ['include', '^common/chrome_version_info_mac\\.mm$'], 536 ['include', '^common/chrome_version_info_mac\\.mm$'],
541 ], 537 ],
542 }], 538 }],
543 ], 539 ],
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 'common/safe_browsing/csd.proto' 692 'common/safe_browsing/csd.proto'
697 ], 693 ],
698 'variables': { 694 'variables': {
699 'proto_in_dir': 'common/safe_browsing', 695 'proto_in_dir': 'common/safe_browsing',
700 'proto_out_dir': 'chrome/common/safe_browsing', 696 'proto_out_dir': 'chrome/common/safe_browsing',
701 }, 697 },
702 'includes': [ '../build/protoc.gypi' ], 698 'includes': [ '../build/protoc.gypi' ],
703 }, 699 },
704 ], 700 ],
705 } 701 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698