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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 ['exclude', 'x11/'], | 168 ['exclude', 'x11/'], |
169 ] | 169 ] |
170 }], | 170 }], |
171 ['toolkit_uses_gtk == 1', { | 171 ['toolkit_uses_gtk == 1', { |
172 'dependencies': [ | 172 'dependencies': [ |
173 '<(DEPTH)/build/linux/system.gyp:gtk', | 173 '<(DEPTH)/build/linux/system.gyp:gtk', |
174 ], | 174 ], |
175 'include_dirs': [ | 175 'include_dirs': [ |
176 '../../public/web/gtk', | 176 '../../public/web/gtk', |
177 ], | 177 ], |
178 'sources/': [ | |
179 ['exclude', 'WebInputEventFactory.mm$'], | |
180 ['exclude', 'WebInputEventFactoryAndroid.cpp$'], | |
181 ['exclude', 'WebInputEventFactoryWin.cpp$'], | |
182 ], | |
183 }, { # else: toolkit_uses_gtk != 1 | 178 }, { # else: toolkit_uses_gtk != 1 |
184 'sources/': [ | 179 'sources/': [ |
185 ['exclude', 'gtk/'], | 180 ['exclude', 'gtk/'], |
186 ], | 181 ], |
187 }], | 182 }], |
188 ['OS=="android"', { | 183 ['OS=="android"', { |
189 'include_dirs': [ | 184 'include_dirs': [ |
190 '../../public/web/android', | 185 '../../public/web/android', |
191 '../../public/web/linux', # We need linux/WebFontRenderi
ng.h on Android. | 186 '../../public/web/linux', # We need linux/WebFontRenderi
ng.h on Android. |
192 ], | 187 ], |
193 'sources/': [ | |
194 ['exclude', 'WebInputEventFactory.mm$'], | |
195 ['exclude', 'WebInputEventFactoryGtk.cpp$'], | |
196 ['exclude', 'WebInputEventFactoryWin.cpp$'], | |
197 ], | |
198 }, { # else: OS!="android" | 188 }, { # else: OS!="android" |
199 'sources/': [ | 189 'sources/': [ |
200 ['exclude', 'android/'], | 190 ['exclude', 'android/'], |
201 ], | 191 ], |
202 }], | 192 }], |
203 ['OS=="mac"', { | 193 ['OS=="mac"', { |
204 'include_dirs': [ | 194 'include_dirs': [ |
205 '../../public/web/mac', | 195 '../../public/web/mac', |
206 ], | 196 ], |
207 'sources/': [ | |
208 ['exclude', 'WebInputEventFactoryAndroid.cpp$'], | |
209 ['exclude', 'WebInputEventFactoryGtk.cpp$'], | |
210 ['exclude', 'WebInputEventFactoryWin.cpp$'], | |
211 ], | |
212 'link_settings': { | 197 'link_settings': { |
213 'libraries': [ | 198 'libraries': [ |
214 '$(SDKROOT)/System/Library/Frameworks/Accelerate.fra
mework', | 199 '$(SDKROOT)/System/Library/Frameworks/Accelerate.fra
mework', |
215 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framewo
rk', | 200 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framewo
rk', |
216 ], | 201 ], |
217 }, | 202 }, |
218 }, { # else: OS!="mac" | 203 }, { # else: OS!="mac" |
219 'sources/': [ | 204 'sources/': [ |
220 ['exclude', 'mac/'], | 205 ['exclude', 'mac/'], |
221 ], | 206 ], |
222 }], | 207 }], |
223 ['OS=="win"', { | 208 ['OS=="win"', { |
224 'include_dirs': [ | 209 'include_dirs': [ |
225 '../../public/web/win', | 210 '../../public/web/win', |
226 ], | 211 ], |
227 'sources/': [ | |
228 ['exclude', 'WebInputEventFactory.mm$'], | |
229 ['exclude', 'WebInputEventFactoryAndroid.cpp$'], | |
230 ['exclude', 'WebInputEventFactoryGtk.cpp$'], | |
231 ], | |
232 }, { # else: OS!="win" | 212 }, { # else: OS!="win" |
233 'sources/': [ | 213 'sources/': [ |
234 ['exclude', 'win/'], | 214 ['exclude', 'win/'] |
235 ], | 215 ], |
236 'variables': { | 216 'variables': { |
237 # FIXME: Turn on warnings on Windows. | 217 # FIXME: Turn on warnings on Windows. |
238 'chromium_code': 1, | 218 'chromium_code': 1, |
239 } | 219 } |
240 }], | 220 }], |
241 ['use_default_render_theme==1', { | 221 ['use_default_render_theme==1', { |
242 'include_dirs': [ | 222 'include_dirs': [ |
243 '../../public/web/default', | 223 '../../public/web/default', |
244 ], | 224 ], |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 ['clang==1', { | 376 ['clang==1', { |
397 'target_defaults': { | 377 'target_defaults': { |
398 'cflags': ['-Wglobal-constructors'], | 378 'cflags': ['-Wglobal-constructors'], |
399 'xcode_settings': { | 379 'xcode_settings': { |
400 'WARNING_CFLAGS': ['-Wglobal-constructors'], | 380 'WARNING_CFLAGS': ['-Wglobal-constructors'], |
401 }, | 381 }, |
402 }, | 382 }, |
403 }], | 383 }], |
404 ], # conditions | 384 ], # conditions |
405 } | 385 } |
OLD | NEW |