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 930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
941 ['exclude', '(^|/)(cocoa|mac)/'], | 941 ['exclude', '(^|/)(cocoa|mac)/'], |
942 ['exclude', '\\.mm?$' ] ], | 942 ['exclude', '\\.mm?$' ] ], |
943 }], | 943 }], |
944 ['toolkit_uses_gtk!=1', { | 944 ['toolkit_uses_gtk!=1', { |
945 'sources/': [ | 945 'sources/': [ |
946 ['exclude', '_(chromeos|gtk|x|x11|xdg)(_unittest)?\\.(h|cc)$'], | 946 ['exclude', '_(chromeos|gtk|x|x11|xdg)(_unittest)?\\.(h|cc)$'], |
947 ['exclude', '(^|/)gtk/'], | 947 ['exclude', '(^|/)gtk/'], |
948 ['exclude', '(^|/)(gtk|x11)_[^/]*\\.(h|cc)$'], | 948 ['exclude', '(^|/)(gtk|x11)_[^/]*\\.(h|cc)$'], |
949 ], | 949 ], |
950 }], | 950 }], |
| 951 ['use_wayland!=1', { |
| 952 'sources/': [ |
| 953 ['exclude', '_(wayland)(_unittest)?\\.(h|cc)$'], |
| 954 ['exclude', '(^|/)wayland/'], |
| 955 ['exclude', '(^|/)(wayland)_[^/]*\\.(h|cc)$'], |
| 956 ], |
| 957 }], |
951 ['OS!="linux"', { | 958 ['OS!="linux"', { |
952 'sources/': [ | 959 'sources/': [ |
953 ['exclude', '_linux(_unittest)?\\.(h|cc)$'], | 960 ['exclude', '_linux(_unittest)?\\.(h|cc)$'], |
954 ['exclude', '(^|/)linux/'], | 961 ['exclude', '(^|/)linux/'], |
955 ], | 962 ], |
956 }], | 963 }], |
957 # We use "POSIX" to refer to all non-Windows operating systems. | 964 # We use "POSIX" to refer to all non-Windows operating systems. |
958 ['OS=="win"', { | 965 ['OS=="win"', { |
959 'sources/': [ ['exclude', '_posix\\.(h|cc)$'] ], | 966 'sources/': [ ['exclude', '_posix\\.(h|cc)$'] ], |
960 # turn on warnings for signed/unsigned mismatch on chromium code. | 967 # turn on warnings for signed/unsigned mismatch on chromium code. |
(...skipping 936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1897 # settings in target dicts. SYMROOT is a special case, because many other | 1904 # settings in target dicts. SYMROOT is a special case, because many other |
1898 # Xcode variables depend on it, including variables such as | 1905 # Xcode variables depend on it, including variables such as |
1899 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 1906 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
1900 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 1907 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
1901 # files to appear (when present) in the UI as actual files and not red | 1908 # files to appear (when present) in the UI as actual files and not red |
1902 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 1909 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
1903 # and therefore SYMROOT, needs to be set at the project level. | 1910 # and therefore SYMROOT, needs to be set at the project level. |
1904 'SYMROOT': '<(DEPTH)/xcodebuild', | 1911 'SYMROOT': '<(DEPTH)/xcodebuild', |
1905 }, | 1912 }, |
1906 } | 1913 } |
OLD | NEW |