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 962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
973 ['exclude', '(^|/)(cocoa|mac)/'], | 973 ['exclude', '(^|/)(cocoa|mac)/'], |
974 ['exclude', '\\.mm?$' ] ], | 974 ['exclude', '\\.mm?$' ] ], |
975 }], | 975 }], |
976 ['toolkit_uses_gtk!=1', { | 976 ['toolkit_uses_gtk!=1', { |
977 'sources/': [ | 977 'sources/': [ |
978 ['exclude', '_(chromeos|gtk|x|x11|xdg)(_unittest)?\\.(h|cc)$'], | 978 ['exclude', '_(chromeos|gtk|x|x11|xdg)(_unittest)?\\.(h|cc)$'], |
979 ['exclude', '(^|/)gtk/'], | 979 ['exclude', '(^|/)gtk/'], |
980 ['exclude', '(^|/)(gtk|x11)_[^/]*\\.(h|cc)$'], | 980 ['exclude', '(^|/)(gtk|x11)_[^/]*\\.(h|cc)$'], |
981 ], | 981 ], |
982 }], | 982 }], |
| 983 ['use_wayland!=1', { |
| 984 'sources/': [ |
| 985 ['exclude', '_(wayland)(_unittest)?\\.(h|cc)$'], |
| 986 ['exclude', '(^|/)wayland/'], |
| 987 ['exclude', '(^|/)(wayland)_[^/]*\\.(h|cc)$'], |
| 988 ], |
| 989 }], |
983 ['OS!="linux"', { | 990 ['OS!="linux"', { |
984 'sources/': [ | 991 'sources/': [ |
985 ['exclude', '_linux(_unittest)?\\.(h|cc)$'], | 992 ['exclude', '_linux(_unittest)?\\.(h|cc)$'], |
986 ['exclude', '(^|/)linux/'], | 993 ['exclude', '(^|/)linux/'], |
987 ], | 994 ], |
988 }], | 995 }], |
989 # We use "POSIX" to refer to all non-Windows operating systems. | 996 # We use "POSIX" to refer to all non-Windows operating systems. |
990 ['OS=="win"', { | 997 ['OS=="win"', { |
991 'sources/': [ ['exclude', '_posix\\.(h|cc)$'] ], | 998 'sources/': [ ['exclude', '_posix\\.(h|cc)$'] ], |
992 # turn on warnings for signed/unsigned mismatch on chromium code. | 999 # turn on warnings for signed/unsigned mismatch on chromium code. |
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1934 # settings in target dicts. SYMROOT is a special case, because many other | 1941 # settings in target dicts. SYMROOT is a special case, because many other |
1935 # Xcode variables depend on it, including variables such as | 1942 # Xcode variables depend on it, including variables such as |
1936 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 1943 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
1937 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 1944 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
1938 # files to appear (when present) in the UI as actual files and not red | 1945 # files to appear (when present) in the UI as actual files and not red |
1939 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 1946 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
1940 # and therefore SYMROOT, needs to be set at the project level. | 1947 # and therefore SYMROOT, needs to be set at the project level. |
1941 'SYMROOT': '<(DEPTH)/xcodebuild', | 1948 'SYMROOT': '<(DEPTH)/xcodebuild', |
1942 }, | 1949 }, |
1943 } | 1950 } |
OLD | NEW |