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

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: 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
« no previous file with comments | « no previous file | chrome/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5535 matching lines...) Expand 10 before | Expand all | Expand 10 after
5546 # make generator doesn't support CC_wrapper without CC 5546 # make generator doesn't support CC_wrapper without CC
5547 # in make_global_settings yet. 5547 # in make_global_settings yet.
5548 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { 5548 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', {
5549 'make_global_settings': [ 5549 'make_global_settings': [
5550 ['CC_wrapper', '<(gomadir)/gomacc'], 5550 ['CC_wrapper', '<(gomadir)/gomacc'],
5551 ['CXX_wrapper', '<(gomadir)/gomacc'], 5551 ['CXX_wrapper', '<(gomadir)/gomacc'],
5552 ['CC.host_wrapper', '<(gomadir)/gomacc'], 5552 ['CC.host_wrapper', '<(gomadir)/gomacc'],
5553 ['CXX.host_wrapper', '<(gomadir)/gomacc'], 5553 ['CXX.host_wrapper', '<(gomadir)/gomacc'],
5554 ], 5554 ],
5555 }], 5555 }],
5556
5557 # SAFE_BROWSING_SERVICE - browser manages a safe-browsing service.
Ryan Sleevi 2014/07/15 23:46:10 You like want to move this to 2456/2853 for consis
Scott Hess - ex-Googler 2014/07/17 23:51:46 Makes sense. Done.
5558 # SAFE_BROWSING_DATABASE - service manages a local database.
5559 # SAFE_BROWSING_CSD - enable client-side phishing detection.
5560 ['safe_browsing==1', {
5561 'target_defaults': {
5562 'defines': [
5563 'FULL_SAFE_BROWSING',
5564 'SAFE_BROWSING_CSD',
5565 'SAFE_BROWSING_DATABASE',
5566 'SAFE_BROWSING_SERVICE',
5567 ],
5568 },
5569 }],
5570 # TODO(shess): This is no longer in use.
5571 ['safe_browsing==2', {
5572 'target_defaults': {
5573 'defines': [
5574 'SAFE_BROWSING_SERVICE',
5575 ],
5576 },
5577 }],
5556 ], 5578 ],
5579
5557 'xcode_settings': { 5580 'xcode_settings': {
5558 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT! 5581 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT!
5559 # This block adds *project-wide* configuration settings to each project 5582 # This block adds *project-wide* configuration settings to each project
5560 # file. It's almost always wrong to put things here. Specify your 5583 # file. It's almost always wrong to put things here. Specify your
5561 # custom xcode_settings in target_defaults to add them to targets instead. 5584 # custom xcode_settings in target_defaults to add them to targets instead.
5562 5585
5563 'conditions': [ 5586 'conditions': [
5564 # In an Xcode Project Info window, the "Base SDK for All Configurations" 5587 # In an Xcode Project Info window, the "Base SDK for All Configurations"
5565 # setting sets the SDK on a project-wide basis. In order to get the 5588 # setting sets the SDK on a project-wide basis. In order to get the
5566 # configured SDK to show properly in the Xcode UI, SDKROOT must be set 5589 # configured SDK to show properly in the Xcode UI, SDKROOT must be set
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
5616 # settings in target dicts. SYMROOT is a special case, because many other 5639 # settings in target dicts. SYMROOT is a special case, because many other
5617 # Xcode variables depend on it, including variables such as 5640 # Xcode variables depend on it, including variables such as
5618 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5641 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5619 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5642 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5620 # files to appear (when present) in the UI as actual files and not red 5643 # files to appear (when present) in the UI as actual files and not red
5621 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5644 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5622 # and therefore SYMROOT, needs to be set at the project level. 5645 # and therefore SYMROOT, needs to be set at the project level.
5623 'SYMROOT': '<(DEPTH)/xcodebuild', 5646 'SYMROOT': '<(DEPTH)/xcodebuild',
5624 }, 5647 },
5625 } 5648 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698