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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 }, { # else: toolkit_uses_gtk != 1 | 177 }, { # else: toolkit_uses_gtk != 1 |
178 'sources/': [ | 178 'sources/': [ |
179 ['exclude', 'gtk/'], | 179 ['exclude', 'WebInputEventFactoryGtk.cpp$'], |
180 ], | 180 ], |
181 }], | 181 }], |
182 ['OS=="android"', { | 182 ['OS=="android"', { |
183 'include_dirs': [ | 183 'include_dirs': [ |
184 '../../public/web/android', | 184 '../../public/web/android', |
185 '../../public/web/linux', # We need linux/WebFontRenderi
ng.h on Android. | 185 '../../public/web/linux', # We need linux/WebFontRenderi
ng.h on Android. |
186 ], | 186 ], |
187 }, { # else: OS!="android" | 187 }, { # else: OS!="android" |
188 'sources/': [ | 188 'sources/': [ |
189 ['exclude', 'android/'], | 189 ['exclude', 'WebInputEventFactoryAndroid.cpp$'], |
190 ], | 190 ], |
191 }], | 191 }], |
192 ['OS=="mac"', { | 192 ['OS=="mac"', { |
193 'include_dirs': [ | 193 'include_dirs': [ |
194 '../../public/web/mac', | 194 '../../public/web/mac', |
195 ], | 195 ], |
196 'link_settings': { | 196 'link_settings': { |
197 'libraries': [ | 197 'libraries': [ |
198 '$(SDKROOT)/System/Library/Frameworks/Accelerate.fra
mework', | 198 '$(SDKROOT)/System/Library/Frameworks/Accelerate.fra
mework', |
199 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framewo
rk', | 199 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framewo
rk', |
200 ], | 200 ], |
201 }, | 201 }, |
202 }, { # else: OS!="mac" | 202 }, { # else: OS!="mac" |
203 'sources/': [ | 203 'sources/': [ |
204 ['exclude', 'mac/'], | 204 ['exclude', 'WebInputEventFactoryMac.mm$'], |
205 ], | 205 ], |
206 }], | 206 }], |
207 ['OS=="win"', { | 207 ['OS=="win"', { |
208 'include_dirs': [ | 208 'include_dirs': [ |
209 '../../public/web/win', | 209 '../../public/web/win', |
210 ], | 210 ], |
211 }, { # else: OS!="win" | 211 }, { # else: OS!="win" |
212 'sources/': [ | 212 'sources/': [ |
213 ['exclude', 'win/'] | 213 ['exclude', 'WebInputEventFactoryWin.cpp$'], |
214 ], | 214 ], |
215 'variables': { | 215 'variables': { |
216 # FIXME: Turn on warnings on Windows. | 216 # FIXME: Turn on warnings on Windows. |
217 'chromium_code': 1, | 217 'chromium_code': 1, |
218 } | 218 } |
219 }], | 219 }], |
220 ['use_default_render_theme==1', { | 220 ['use_default_render_theme==1', { |
221 'include_dirs': [ | 221 'include_dirs': [ |
222 '../../public/web/default', | 222 '../../public/web/default', |
223 ], | 223 ], |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 ['clang==1', { | 375 ['clang==1', { |
376 'target_defaults': { | 376 'target_defaults': { |
377 'cflags': ['-Wglobal-constructors'], | 377 'cflags': ['-Wglobal-constructors'], |
378 'xcode_settings': { | 378 'xcode_settings': { |
379 'WARNING_CFLAGS': ['-Wglobal-constructors'], | 379 'WARNING_CFLAGS': ['-Wglobal-constructors'], |
380 }, | 380 }, |
381 }, | 381 }, |
382 }], | 382 }], |
383 ], # conditions | 383 ], # conditions |
384 } | 384 } |
OLD | NEW |