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

Side by Side Diff: build/common.gypi

Issue 7328011: Introduce ui.dll / libui.so for the component build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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/app/chrome_main.cc » ('j') | ui/ui.gyp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 868 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 ], 879 ],
880 'msvs_disabled_warnings': [4800], 880 'msvs_disabled_warnings': [4800],
881 'msvs_settings': { 881 'msvs_settings': {
882 'VCCLCompilerTool': { 882 'VCCLCompilerTool': {
883 'WarningLevel': '3', 883 'WarningLevel': '3',
884 'WarnAsError': 'false', # TODO(maruel): Enable it. 884 'WarnAsError': 'false', # TODO(maruel): Enable it.
885 'Detect64BitPortabilityProblems': 'false', 885 'Detect64BitPortabilityProblems': 'false',
886 }, 886 },
887 }, 887 },
888 }], 888 }],
889 # TODO(darin): Unfortunately, some third_party code depends on base/
890 [ 'OS=="win" and component=="shared_library"', {
891 'msvs_disabled_warnings': [
892 4251, # class 'std::xx' needs to have dll-interface.
893 ],
894 }],
889 [ 'OS=="mac"', { 895 [ 'OS=="mac"', {
890 'xcode_settings': { 896 'xcode_settings': {
891 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', 897 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO',
892 'WARNING_CFLAGS!': ['-Wall', '-Wextra'], 898 'WARNING_CFLAGS!': ['-Wall', '-Wextra'],
893 }, 899 },
894 }], 900 }],
895 ], 901 ],
896 }, { 902 }, {
897 # In Chromium code, we define __STDC_FORMAT_MACROS in order to get the 903 # In Chromium code, we define __STDC_FORMAT_MACROS in order to get the
898 # C99 macros on Mac and Linux. 904 # C99 macros on Mac and Linux.
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after
1861 # settings in target dicts. SYMROOT is a special case, because many other 1867 # settings in target dicts. SYMROOT is a special case, because many other
1862 # Xcode variables depend on it, including variables such as 1868 # Xcode variables depend on it, including variables such as
1863 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 1869 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
1864 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 1870 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
1865 # files to appear (when present) in the UI as actual files and not red 1871 # files to appear (when present) in the UI as actual files and not red
1866 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 1872 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
1867 # and therefore SYMROOT, needs to be set at the project level. 1873 # and therefore SYMROOT, needs to be set at the project level.
1868 'SYMROOT': '<(DEPTH)/xcodebuild', 1874 'SYMROOT': '<(DEPTH)/xcodebuild',
1869 }, 1875 },
1870 } 1876 }
OLDNEW
« no previous file with comments | « no previous file | chrome/app/chrome_main.cc » ('j') | ui/ui.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698