OLD | NEW |
1 # | 1 # |
2 # Copyright (C) 2013 Google Inc. All rights reserved. | 2 # Copyright (C) 2013 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 ['exclude', 'geometry/mac/'], | 296 ['exclude', 'geometry/mac/'], |
297 ['exclude', 'geometry/cg/'], | 297 ['exclude', 'geometry/cg/'], |
298 ['exclude', 'scroll/ScrollbarThemeMac'], | 298 ['exclude', 'scroll/ScrollbarThemeMac'], |
299 | 299 |
300 # FIXME: We will eventually compile this too, but for now it's | 300 # FIXME: We will eventually compile this too, but for now it's |
301 # only used on mac. | 301 # only used on mac. |
302 ['exclude', 'fonts/FontPlatformData\\.cpp$'], | 302 ['exclude', 'fonts/FontPlatformData\\.cpp$'], |
303 ['exclude', 'fonts/harfbuzz/HarfBuzzFaceCoreText\\.cpp$'], | 303 ['exclude', 'fonts/harfbuzz/HarfBuzzFaceCoreText\\.cpp$'], |
304 ], | 304 ], |
305 }], | 305 }], |
306 ['OS != "linux" and OS != "mac" and (OS != "win" or (OS == "win" and "ENAB
LE_GDI_FONTS_ON_WINDOWS=1" in feature_defines))', { | 306 ['OS != "linux" and OS != "mac" and OS != "win"', { |
307 'sources/': [ | 307 'sources/': [ |
308 ['exclude', 'VDMX[^/]+\\.(cpp|h)$'], | 308 ['exclude', 'VDMX[^/]+\\.(cpp|h)$'], |
309 ], | 309 ], |
310 }], | 310 }], |
311 ['OS=="win"', { | 311 ['OS=="win"', { |
312 'sources/': [ | 312 'sources/': [ |
313 # We use LocaleWin.cpp instead of LocaleICU.cpp | 313 # We use LocaleWin.cpp instead of LocaleICU.cpp |
314 ['exclude', 'text/LocaleICU\\.(cpp|h)$'], | 314 ['exclude', 'text/LocaleICU\\.(cpp|h)$'], |
315 ['include', 'text/LocaleWin\\.(cpp|h)$'], | 315 ['include', 'text/LocaleWin\\.(cpp|h)$'], |
316 | 316 |
317 ['include', 'clipboard/ClipboardUtilitiesWin\\.(cpp|h)$'], | 317 ['include', 'clipboard/ClipboardUtilitiesWin\\.(cpp|h)$'], |
318 | 318 |
319 ['include', 'fonts/win/FontFallbackWin\\.(cpp|h)$'], | 319 ['include', 'fonts/win/FontFallbackWin\\.(cpp|h)$'], |
320 ['include', 'fonts/win/FontPlatformDataWin\\.(cpp|h)$'], | 320 ['include', 'fonts/win/FontPlatformDataWin\\.(cpp|h)$'], |
321 ['include', 'fonts/win/FontWin\\.cpp$'], | 321 ['include', 'fonts/win/FontWin\\.cpp$'], |
322 ['include', 'fonts/opentype/'], | 322 ['include', 'fonts/opentype/'], |
323 ['include', 'fonts/skia/SkiaFontWin\\.(cpp|h)$'], | 323 ['include', 'fonts/skia/SkiaFontWin\\.(cpp|h)$'], |
324 ['include', 'fonts/win/UniscribeHelper\\.(cpp|h)$'], | 324 ['include', 'fonts/win/UniscribeHelper\\.(cpp|h)$'], |
325 ['include', 'fonts/win/UniscribeHelperTextRun\\.(cpp|h)$'], | 325 ['include', 'fonts/win/UniscribeHelperTextRun\\.(cpp|h)$'], |
| 326 ['include', 'fonts/skia/SimpleFontDataSkia\\.cpp$'], |
| 327 ['include', 'fonts/skia/GlyphPageTreeNodeSkia\\.cpp$'], |
| 328 ['include', 'fonts/skia/FontCacheSkiaWin\\.cpp$'], |
| 329 ['include', 'fonts/skia/FontCustomPlatformDataSkia\\.cpp$'], |
| 330 ['include', 'fonts/skia/FontCustomPlatformDataSkia\\.cpp$'], |
| 331 |
326 | 332 |
327 # SystemInfo.cpp is useful and we don't want to copy it. | 333 # SystemInfo.cpp is useful and we don't want to copy it. |
328 ['include', 'win/SystemInfo\\.cpp$'], | 334 ['include', 'win/SystemInfo\\.cpp$'], |
329 ], | 335 ], |
330 'conditions': [ | 336 'conditions': [ |
331 ['"ENABLE_GDI_FONTS_ON_WINDOWS=1" in feature_defines', { | |
332 'sources/': [ | |
333 ['include', 'fonts/win/FontCustomPlatformDataWin\\.cpp$'], | |
334 ['exclude', 'fonts/skia/SimpleFontDataSkia\\.cpp$'], | |
335 ['exclude', 'fonts/skia/GlyphPageTreeNodeSkia\\.cpp$'], | |
336 ['exclude', 'fonts/skia/FontCacheSkia\\.cpp$'], | |
337 ['exclude', 'fonts/skia/FontCacheSkiaWin\\.cpp$'], | |
338 ['exclude', 'fonts/skia/FontCustomPlatformDataSkia\\.cpp$'], | |
339 ], | |
340 },{ # ENABLE_GDI_FONTS_ON_WINDOWS!=1 | |
341 'sources/': [ | |
342 ['include', 'fonts/skia/SimpleFontDataSkia\\.cpp$'], | |
343 ['include', 'fonts/skia/GlyphPageTreeNodeSkia\\.cpp$'], | |
344 ['include', 'fonts/skia/FontCacheSkiaWin\\.cpp$'], | |
345 ['include', 'fonts/skia/FontCustomPlatformDataSkia\\.cpp$'], | |
346 ['include', 'fonts/skia/FontCustomPlatformDataSkia\\.cpp$'], | |
347 ['exclude', 'fonts/win/FontCustomPlatformDataWin\\.cpp$'], | |
348 ['exclude', 'fonts/win/SimpleFontDataWin\\.cpp$'], | |
349 ['exclude', 'fonts/GlyphPageTreeNodeWin\\.cpp$'], | |
350 ['exclude', 'fonts/FontCacheWin\\.cpp$'], | |
351 ], | |
352 }], | |
353 ['"ENABLE_HARFBUZZ_ON_WINDOWS=1" in feature_defines', { | 337 ['"ENABLE_HARFBUZZ_ON_WINDOWS=1" in feature_defines', { |
354 'sources/': [ | 338 'sources/': [ |
355 ['include', 'fonts/harfbuzz/FontHarfBuzz\\.cpp$'], | 339 ['include', 'fonts/harfbuzz/FontHarfBuzz\\.cpp$'], |
356 ['include', 'fonts/harfbuzz/HarfBuzzFace\\.(cpp|h)$'], | 340 ['include', 'fonts/harfbuzz/HarfBuzzFace\\.(cpp|h)$'], |
357 ['include', 'fonts/harfbuzz/HarfBuzzFaceSkia\\.cpp$'], | 341 ['include', 'fonts/harfbuzz/HarfBuzzFaceSkia\\.cpp$'], |
358 ['include', 'fonts/harfbuzz/HarfBuzzShaper\\.(cpp|h)$'], | 342 ['include', 'fonts/harfbuzz/HarfBuzzShaper\\.(cpp|h)$'], |
359 ['exclude', 'fonts/win/FontWin\\.cpp$'], | 343 ['exclude', 'fonts/win/FontWin\\.cpp$'], |
360 ['exclude', '/(Uniscribe)[^/]*\\.(cpp|h)$'], | 344 ['exclude', '/(Uniscribe)[^/]*\\.(cpp|h)$'], |
361 ], | 345 ], |
362 'dependencies': [ | 346 'dependencies': [ |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 ['OS=="android"', { | 437 ['OS=="android"', { |
454 'cflags!': ['-mthumb'], | 438 'cflags!': ['-mthumb'], |
455 }], | 439 }], |
456 ], | 440 ], |
457 },{ # target_arch!="arm" | 441 },{ # target_arch!="arm" |
458 'type': 'none', | 442 'type': 'none', |
459 }], | 443 }], |
460 ], | 444 ], |
461 }], | 445 }], |
462 } | 446 } |
OLD | NEW |