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

Side by Side Diff: build/common.gypi

Issue 6705030: Standardize grit invokes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 (c) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 'libjpeg_gyp_path': '../third_party/libjpeg/libjpeg.gyp', 481 'libjpeg_gyp_path': '../third_party/libjpeg/libjpeg.gyp',
482 }], # use_libjpeg_turbo==1 482 }], # use_libjpeg_turbo==1
483 483
484 # Use GConf, the GNOME configuration system. 484 # Use GConf, the GNOME configuration system.
485 ['chromeos==1', { 485 ['chromeos==1', {
486 'use_gconf%': 0, 486 'use_gconf%': 0,
487 }, { 487 }, {
488 'use_gconf%': 1, 488 'use_gconf%': 1,
489 }], 489 }],
490 490
491 # Setup -D flags passed into grit. 491 # Setup -D and -E flags passed into grit.
Mark Mentovai 2011/03/25 20:16:53 Set up as a verb is two words.
492 ['branding=="Chrome"', { 492 ['branding=="Chrome"', {
493 # TODO(mmoss) The .grd files look for _google_chrome, but for 493 # TODO(mmoss) The .grd files look for _google_chrome, but for
494 # consistency they should look for google_chrome_build like C++. 494 # consistency they should look for google_chrome_build like C++.
495 'grit_defines': ['-D', '_google_chrome'], 495 'grit_defines': ['-D', '_google_chrome',
496 '-E', 'CHROMIUM_BUILD=google_chrome'],
496 }, { 497 }, {
497 'grit_defines': ['-D', '_chromium'], 498 'grit_defines': ['-D', '_chromium',
499 '-E', 'CHROMIUM_BUILD=chromium'],
498 }], 500 }],
499 ['chromeos==1', { 501 ['chromeos==1', {
500 'grit_defines': ['-D', 'chromeos'], 502 'grit_defines': ['-D', 'chromeos'],
501 }], 503 }],
502 ['toolkit_views==1', { 504 ['toolkit_views==1', {
503 'grit_defines': ['-D', 'toolkit_views'], 505 'grit_defines': ['-D', 'toolkit_views'],
504 }], 506 }],
505 ['touchui==1', { 507 ['touchui==1', {
506 'grit_defines': ['-D', 'touchui'], 508 'grit_defines': ['-D', 'touchui'],
507 }], 509 }],
(...skipping 1008 matching lines...) Expand 10 before | Expand all | Expand 10 after
1516 'AdditionalDependencies': [ 1518 'AdditionalDependencies': [
1517 'wininet.lib', 1519 'wininet.lib',
1518 'dnsapi.lib', 1520 'dnsapi.lib',
1519 'version.lib', 1521 'version.lib',
1520 'msimg32.lib', 1522 'msimg32.lib',
1521 'ws2_32.lib', 1523 'ws2_32.lib',
1522 'usp10.lib', 1524 'usp10.lib',
1523 'psapi.lib', 1525 'psapi.lib',
1524 'dbghelp.lib', 1526 'dbghelp.lib',
1525 ], 1527 ],
1526 'conditions': [ 1528 'conditions': [
1527 ['msvs_express', { 1529 ['msvs_express', {
1528 # Explicitly required when using the ATL with express 1530 # Explicitly required when using the ATL with express
1529 'AdditionalDependencies': [ 1531 'AdditionalDependencies': [
1530 'atlthunk.lib', 1532 'atlthunk.lib',
1531 ], 1533 ],
1532 }], 1534 }],
1533 ['MSVS_VERSION=="2005e"', { 1535 ['MSVS_VERSION=="2005e"', {
1534 # Non-express versions link automatically to these 1536 # Non-express versions link automatically to these
1535 'AdditionalDependencies': [ 1537 'AdditionalDependencies': [
1536 'advapi32.lib', 1538 'advapi32.lib',
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
1658 # and therefore SYMROOT, needs to be set at the project level. 1660 # and therefore SYMROOT, needs to be set at the project level.
1659 'SYMROOT': '<(DEPTH)/xcodebuild', 1661 'SYMROOT': '<(DEPTH)/xcodebuild',
1660 }, 1662 },
1661 } 1663 }
1662 1664
1663 # Local Variables: 1665 # Local Variables:
1664 # tab-width:2 1666 # tab-width:2
1665 # indent-tabs-mode:nil 1667 # indent-tabs-mode:nil
1666 # End: 1668 # End:
1667 # vim: set expandtab tabstop=2 shiftwidth=2: 1669 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « app/app.gyp ('k') | build/grit_action.gypi » ('j') | build/grit_action.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698