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

Side by Side Diff: build/common.gypi

Issue 8382001: OpenBSD patches for base and build, part 2 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: remove newline from string Created 9 years, 2 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
« no previous file with comments | « base/sys_info_openbsd.cc ('k') | no next file » | 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) 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 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after
1146 ['chromium_code==0', { 1146 ['chromium_code==0', {
1147 'conditions': [ 1147 'conditions': [
1148 [ 'os_posix==1 and OS!="mac"', { 1148 [ 'os_posix==1 and OS!="mac"', {
1149 # We don't want to get warnings from third-party code, 1149 # We don't want to get warnings from third-party code,
1150 # so remove any existing warning-enabling flags like -Wall. 1150 # so remove any existing warning-enabling flags like -Wall.
1151 'cflags!': [ 1151 'cflags!': [
1152 '-Wall', 1152 '-Wall',
1153 '-Wextra', 1153 '-Wextra',
1154 '-Werror', 1154 '-Werror',
1155 ], 1155 ],
1156 'cflags': [ 1156 'cflags_cc': [
1157 # Don't warn about hash_map in third-party code. 1157 # Don't warn about hash_map in third-party code.
1158 '-Wno-deprecated', 1158 '-Wno-deprecated',
1159 ],
1160 'cflags': [
1159 # Don't warn about printf format problems. 1161 # Don't warn about printf format problems.
1160 # This is off by default in gcc but on in Ubuntu's gcc(!). 1162 # This is off by default in gcc but on in Ubuntu's gcc(!).
1161 '-Wno-format', 1163 '-Wno-format',
1162 ], 1164 ],
1163 'cflags_cc!': [ 1165 'cflags_cc!': [
1164 # TODO(fischman): remove this. 1166 # TODO(fischman): remove this.
1165 # http://code.google.com/p/chromium/issues/detail?id=90453 1167 # http://code.google.com/p/chromium/issues/detail?id=90453
1166 '-Wsign-compare', 1168 '-Wsign-compare',
1167 ] 1169 ]
1168 }], 1170 }],
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
1239 ['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'], 1241 ['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'],
1240 ], 1242 ],
1241 }], 1243 }],
1242 ['use_wayland!=1', { 1244 ['use_wayland!=1', {
1243 'sources/': [ 1245 'sources/': [
1244 ['exclude', '_(wayland)(_unittest)?\\.(h|cc)$'], 1246 ['exclude', '_(wayland)(_unittest)?\\.(h|cc)$'],
1245 ['exclude', '(^|/)wayland/'], 1247 ['exclude', '(^|/)wayland/'],
1246 ['exclude', '(^|/)(wayland)_[^/]*\\.(h|cc)$'], 1248 ['exclude', '(^|/)(wayland)_[^/]*\\.(h|cc)$'],
1247 ], 1249 ],
1248 }], 1250 }],
1249 ['OS!="linux"', { 1251 # Do not exclude the linux files on OpenBSD since most of them can be
1252 # shared at this point.
1253 # In case a file is not needed, it is going to be excluded later on.
1254 ['OS!="linux" and OS!="openbsd"', {
1250 'sources/': [ 1255 'sources/': [
1251 ['exclude', '_linux(_unittest)?\\.(h|cc)$'], 1256 ['exclude', '_linux(_unittest)?\\.(h|cc)$'],
1252 ['exclude', '(^|/)linux/'], 1257 ['exclude', '(^|/)linux/'],
1253 ], 1258 ],
1254 }], 1259 }],
1255 ['OS!="android"', { 1260 ['OS!="android"', {
1256 'sources/': [ 1261 'sources/': [
1257 ['exclude', '_android(_unittest)?\\.cc$'], 1262 ['exclude', '_android(_unittest)?\\.cc$'],
1258 ['exclude', '(^|/)android/'], 1263 ['exclude', '(^|/)android/'],
1259 ], 1264 ],
(...skipping 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after
2575 # settings in target dicts. SYMROOT is a special case, because many other 2580 # settings in target dicts. SYMROOT is a special case, because many other
2576 # Xcode variables depend on it, including variables such as 2581 # Xcode variables depend on it, including variables such as
2577 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2582 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2578 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2583 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2579 # files to appear (when present) in the UI as actual files and not red 2584 # files to appear (when present) in the UI as actual files and not red
2580 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2585 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2581 # and therefore SYMROOT, needs to be set at the project level. 2586 # and therefore SYMROOT, needs to be set at the project level.
2582 'SYMROOT': '<(DEPTH)/xcodebuild', 2587 'SYMROOT': '<(DEPTH)/xcodebuild',
2583 }, 2588 },
2584 } 2589 }
OLDNEW
« no previous file with comments | « base/sys_info_openbsd.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698