OLD | NEW |
1 # | 1 # |
2 # Copyright (C) 2011 Google Inc. All rights reserved. | 2 # Copyright (C) 2011 Google Inc. All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 ['exclude', 'x11/'], | 167 ['exclude', 'x11/'], |
168 ] | 168 ] |
169 }], | 169 }], |
170 ['toolkit_uses_gtk == 1', { | 170 ['toolkit_uses_gtk == 1', { |
171 'dependencies': [ | 171 'dependencies': [ |
172 '<(DEPTH)/build/linux/system.gyp:gtk', | 172 '<(DEPTH)/build/linux/system.gyp:gtk', |
173 ], | 173 ], |
174 'include_dirs': [ | 174 'include_dirs': [ |
175 '../../public/web/gtk', | 175 '../../public/web/gtk', |
176 ], | 176 ], |
| 177 'sources/': [ |
| 178 ['exclude', 'WebInputEventFactory.mm$'], |
| 179 ['exclude', 'WebInputEventFactoryAndroid.cpp$'], |
| 180 ['exclude', 'WebInputEventFactoryWin.cpp$'], |
| 181 ], |
177 }, { # else: toolkit_uses_gtk != 1 | 182 }, { # else: toolkit_uses_gtk != 1 |
178 'sources/': [ | 183 'sources/': [ |
179 ['exclude', 'gtk/'], | 184 ['exclude', 'gtk/'], |
180 ], | 185 ], |
181 }], | 186 }], |
182 ['OS=="android"', { | 187 ['OS=="android"', { |
183 'include_dirs': [ | 188 'include_dirs': [ |
184 '../../public/web/android', | 189 '../../public/web/android', |
185 '../../public/web/linux', # We need linux/WebFontRenderi
ng.h on Android. | 190 '../../public/web/linux', # We need linux/WebFontRenderi
ng.h on Android. |
186 ], | 191 ], |
| 192 'sources/': [ |
| 193 ['exclude', 'WebInputEventFactory.mm$'], |
| 194 ['exclude', 'WebInputEventFactoryGtk.cpp$'], |
| 195 ['exclude', 'WebInputEventFactoryWin.cpp$'], |
| 196 ], |
187 }, { # else: OS!="android" | 197 }, { # else: OS!="android" |
188 'sources/': [ | 198 'sources/': [ |
189 ['exclude', 'android/'], | 199 ['exclude', 'android/'], |
190 ], | 200 ], |
191 }], | 201 }], |
192 ['OS=="mac"', { | 202 ['OS=="mac"', { |
193 'include_dirs': [ | 203 'include_dirs': [ |
194 '../../public/web/mac', | 204 '../../public/web/mac', |
195 ], | 205 ], |
| 206 'sources/': [ |
| 207 ['exclude', 'WebInputEventFactoryAndroid.cpp$'], |
| 208 ['exclude', 'WebInputEventFactoryGtk.cpp$'], |
| 209 ['exclude', 'WebInputEventFactoryWin.cpp$'], |
| 210 ], |
196 'link_settings': { | 211 'link_settings': { |
197 'libraries': [ | 212 'libraries': [ |
198 '$(SDKROOT)/System/Library/Frameworks/Accelerate.fra
mework', | 213 '$(SDKROOT)/System/Library/Frameworks/Accelerate.fra
mework', |
199 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framewo
rk', | 214 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framewo
rk', |
200 ], | 215 ], |
201 }, | 216 }, |
202 }, { # else: OS!="mac" | 217 }, { # else: OS!="mac" |
203 'sources/': [ | 218 'sources/': [ |
204 ['exclude', 'mac/'], | 219 ['exclude', 'mac/'], |
205 ], | 220 ], |
206 }], | 221 }], |
207 ['OS=="win"', { | 222 ['OS=="win"', { |
208 'include_dirs': [ | 223 'include_dirs': [ |
209 '../../public/web/win', | 224 '../../public/web/win', |
210 ], | 225 ], |
| 226 'sources/': [ |
| 227 ['exclude', 'WebInputEventFactory.mm$'], |
| 228 ['exclude', 'WebInputEventFactoryAndroid.cpp$'], |
| 229 ['exclude', 'WebInputEventFactoryGtk.cpp$'], |
| 230 ], |
211 }, { # else: OS!="win" | 231 }, { # else: OS!="win" |
212 'sources/': [ | 232 'sources/': [ |
213 ['exclude', 'win/'] | 233 ['exclude', 'win/'], |
214 ], | 234 ], |
215 'variables': { | 235 'variables': { |
216 # FIXME: Turn on warnings on Windows. | 236 # FIXME: Turn on warnings on Windows. |
217 'chromium_code': 1, | 237 'chromium_code': 1, |
218 } | 238 } |
219 }], | 239 }], |
220 ['use_default_render_theme==1', { | 240 ['use_default_render_theme==1', { |
221 'include_dirs': [ | 241 'include_dirs': [ |
222 '../../public/web/default', | 242 '../../public/web/default', |
223 ], | 243 ], |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 ['clang==1', { | 395 ['clang==1', { |
376 'target_defaults': { | 396 'target_defaults': { |
377 'cflags': ['-Wglobal-constructors'], | 397 'cflags': ['-Wglobal-constructors'], |
378 'xcode_settings': { | 398 'xcode_settings': { |
379 'WARNING_CFLAGS': ['-Wglobal-constructors'], | 399 'WARNING_CFLAGS': ['-Wglobal-constructors'], |
380 }, | 400 }, |
381 }, | 401 }, |
382 }], | 402 }], |
383 ], # conditions | 403 ], # conditions |
384 } | 404 } |
OLD | NEW |