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

Side by Side Diff: build/common.gypi

Issue 1992005: Update dynamic annotations and move them to base/third_party (Closed)
Patch Set: rebased Created 10 years, 7 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) 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': { 9 'variables': {
10 # .gyp files or targets should set chromium_code to 1 if they build 10 # .gyp files or targets should set chromium_code to 1 if they build
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 ['<(DEPTH)/third_party/platformsdk_win7/files/Lib/x64'], 615 ['<(DEPTH)/third_party/platformsdk_win7/files/Lib/x64'],
616 }, 616 },
617 }, 617 },
618 'defines': [ 618 'defines': [
619 # Not sure if tcmalloc works on 64-bit Windows. 619 # Not sure if tcmalloc works on 64-bit Windows.
620 'NO_TCMALLOC', 620 'NO_TCMALLOC',
621 ], 621 ],
622 }, 622 },
623 'Debug_Base': { 623 'Debug_Base': {
624 'abstract': 1, 624 'abstract': 1,
625 'defines': ['DYNAMIC_ANNOTATIONS_ENABLED=1'],
625 'xcode_settings': { 626 'xcode_settings': {
626 'COPY_PHASE_STRIP': 'NO', 627 'COPY_PHASE_STRIP': 'NO',
627 'GCC_OPTIMIZATION_LEVEL': '<(mac_debug_optimization)', 628 'GCC_OPTIMIZATION_LEVEL': '<(mac_debug_optimization)',
628 'OTHER_CFLAGS': [ '<@(debug_extra_cflags)', ], 629 'OTHER_CFLAGS': [ '<@(debug_extra_cflags)', ],
629 }, 630 },
630 'msvs_settings': { 631 'msvs_settings': {
631 'VCCLCompilerTool': { 632 'VCCLCompilerTool': {
632 'Optimization': '<(win_debug_Optimization)', 633 'Optimization': '<(win_debug_Optimization)',
633 'PreprocessorDefinitions': ['_DEBUG'], 634 'PreprocessorDefinitions': ['_DEBUG'],
634 'BasicRuntimeChecks': '<(win_debug_RuntimeChecks)', 635 'BasicRuntimeChecks': '<(win_debug_RuntimeChecks)',
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 '<(win_release_InlineFunctionExpansion)', 688 '<(win_release_InlineFunctionExpansion)',
688 }], 689 }],
689 ], 690 ],
690 }, 691 },
691 'VCLinkerTool': { 692 'VCLinkerTool': {
692 'LinkIncremental': '1', 693 'LinkIncremental': '1',
693 }, 694 },
694 }, 695 },
695 'conditions': [ 696 'conditions': [
696 ['release_valgrind_build==0', { 697 ['release_valgrind_build==0', {
697 'defines': ['NVALGRIND'], 698 'defines': ['NVALGRIND', 'DYNAMIC_ANNOTATIONS_ENABLED=0'],
699 }, {
700 'defines': ['DYNAMIC_ANNOTATIONS_ENABLED=1'],
698 }], 701 }],
699 ['win_use_allocator_shim==0', { 702 ['win_use_allocator_shim==0', {
700 'defines': ['NO_TCMALLOC'], 703 'defines': ['NO_TCMALLOC'],
701 }], 704 }],
702 ['win_release_RuntimeLibrary==2', { 705 ['win_release_RuntimeLibrary==2', {
703 # Visual C++ 2008 barfs when building anything with /MD (msvcrt): 706 # Visual C++ 2008 barfs when building anything with /MD (msvcrt):
704 # VC\include\typeinfo(139) : warning C4275: non dll-interface 707 # VC\include\typeinfo(139) : warning C4275: non dll-interface
705 # class 'stdext::exception' used as base for dll-interface 708 # class 'stdext::exception' used as base for dll-interface
706 # class 'std::bad_cast' 709 # class 'std::bad_cast'
707 'msvs_disabled_warnings': [4275], 710 'msvs_disabled_warnings': [4275],
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after
1350 # and therefore SYMROOT, needs to be set at the project level. 1353 # and therefore SYMROOT, needs to be set at the project level.
1351 'SYMROOT': '<(DEPTH)/xcodebuild', 1354 'SYMROOT': '<(DEPTH)/xcodebuild',
1352 }, 1355 },
1353 } 1356 }
1354 1357
1355 # Local Variables: 1358 # Local Variables:
1356 # tab-width:2 1359 # tab-width:2
1357 # indent-tabs-mode:nil 1360 # indent-tabs-mode:nil
1358 # End: 1361 # End:
1359 # vim: set expandtab tabstop=2 shiftwidth=2: 1362 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « base/tools_sanity_unittest.cc ('k') | chrome/browser/geolocation/wifi_data_provider_common_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698