OLD | NEW |
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 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1271 ['exclude', '\\.mm?$' ] ], | 1271 ['exclude', '\\.mm?$' ] ], |
1272 }], | 1272 }], |
1273 ['use_x11!=1', { | 1273 ['use_x11!=1', { |
1274 'sources/': [ | 1274 'sources/': [ |
1275 ['exclude', '_(chromeos|x|x11)(_unittest)?\\.(h|cc)$'], | 1275 ['exclude', '_(chromeos|x|x11)(_unittest)?\\.(h|cc)$'], |
1276 ['exclude', '(^|/)x11_[^/]*\\.(h|cc)$'], | 1276 ['exclude', '(^|/)x11_[^/]*\\.(h|cc)$'], |
1277 ], | 1277 ], |
1278 }], | 1278 }], |
1279 ['toolkit_uses_gtk!=1', { | 1279 ['toolkit_uses_gtk!=1', { |
1280 'sources/': [ | 1280 'sources/': [ |
1281 ['exclude', '_(gtk|xdg)(_unittest)?\\.(h|cc)$'], | 1281 ['exclude', '_gtk(_unittest)?\\.(h|cc)$'], |
1282 ['exclude', '(^|/)gtk/'], | 1282 ['exclude', '(^|/)gtk/'], |
1283 ['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'], | 1283 ['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'], |
1284 ], | 1284 ], |
1285 }], | 1285 }], |
| 1286 ['OS!="linux"', { |
| 1287 'sources/': [ |
| 1288 ['exclude', '_xdg(_unittest)?\\.(h|cc)$'], |
| 1289 ], |
| 1290 }], |
1286 ['use_wayland!=1', { | 1291 ['use_wayland!=1', { |
1287 'sources/': [ | 1292 'sources/': [ |
1288 ['exclude', '_(wayland)(_unittest)?\\.(h|cc)$'], | 1293 ['exclude', '_(wayland)(_unittest)?\\.(h|cc)$'], |
1289 ['exclude', '(^|/)wayland/'], | 1294 ['exclude', '(^|/)wayland/'], |
1290 ['exclude', '(^|/)(wayland)_[^/]*\\.(h|cc)$'], | 1295 ['exclude', '(^|/)(wayland)_[^/]*\\.(h|cc)$'], |
1291 ], | 1296 ], |
1292 }], | 1297 }], |
1293 # Do not exclude the linux files on OpenBSD since most of them can be | 1298 # Do not exclude the linux files on OpenBSD since most of them can be |
1294 # shared at this point. | 1299 # shared at this point. |
1295 # In case a file is not needed, it is going to be excluded later on. | 1300 # In case a file is not needed, it is going to be excluded later on. |
(...skipping 1328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2624 # settings in target dicts. SYMROOT is a special case, because many other | 2629 # settings in target dicts. SYMROOT is a special case, because many other |
2625 # Xcode variables depend on it, including variables such as | 2630 # Xcode variables depend on it, including variables such as |
2626 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2631 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2627 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2632 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2628 # files to appear (when present) in the UI as actual files and not red | 2633 # files to appear (when present) in the UI as actual files and not red |
2629 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2634 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2630 # and therefore SYMROOT, needs to be set at the project level. | 2635 # and therefore SYMROOT, needs to be set at the project level. |
2631 'SYMROOT': '<(DEPTH)/xcodebuild', | 2636 'SYMROOT': '<(DEPTH)/xcodebuild', |
2632 }, | 2637 }, |
2633 } | 2638 } |
OLD | NEW |