Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: Source/platform/blink_platform.gyp

Issue 175253002: Switch to HarfBuzz on Mac and remove CoreText shaper (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fighting trunk TestExpectation changes Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/platform/BUILD.gn ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 294
295 # The Mac uses mac/KillRingMac.mm instead of the dummy 295 # The Mac uses mac/KillRingMac.mm instead of the dummy
296 # implementation. 296 # implementation.
297 ['exclude', 'KillRingNone\\.cpp$'], 297 ['exclude', 'KillRingNone\\.cpp$'],
298 298
299 # The Mac build is USE(CF). 299 # The Mac build is USE(CF).
300 ['include', 'CF\\.cpp$'], 300 ['include', 'CF\\.cpp$'],
301 301
302 # Use native Mac font code from core. 302 # Use native Mac font code from core.
303 ['include', '(fonts/)?mac/[^/]*Font[^/]*\\.(cpp|mm?)$'], 303 ['include', '(fonts/)?mac/[^/]*Font[^/]*\\.(cpp|mm?)$'],
304 ['include', 'fonts/mac/ComplexText[^/]*\\.(cpp|h)$'], 304
305 # TODO(dro): Merge the opentype vertical data files inclusion across a ll platforms.
306 ['include', 'fonts/opentype/OpenTypeTypes\\.h$'],
307 ['include', 'fonts/opentype/OpenTypeVerticalData\\.(cpp|h)$'],
305 308
306 # Cherry-pick some files that can't be included by broader regexps. 309 # Cherry-pick some files that can't be included by broader regexps.
307 # Some of these are used instead of Chromium platform files, see 310 # Some of these are used instead of Chromium platform files, see
308 # the specific exclusions in the "exclude" list below. 311 # the specific exclusions in the "exclude" list below.
309 ['include', 'audio/mac/FFTFrameMac\\.cpp$'], 312 ['include', 'audio/mac/FFTFrameMac\\.cpp$'],
310 ['include', 'fonts/mac/ComplexTextControllerCoreText\\.mm$'], 313 ['include', 'fonts/mac/GlyphPageTreeNodeMac\\.cpp$'],
311 ['include', 'mac/ColorMac\\.mm$'], 314 ['include', 'mac/ColorMac\\.mm$'],
312 ['include', 'mac/BlockExceptions\\.mm$'], 315 ['include', 'mac/BlockExceptions\\.mm$'],
313 ['include', 'mac/KillRingMac\\.mm$'], 316 ['include', 'mac/KillRingMac\\.mm$'],
314 ['include', 'mac/LocalCurrentGraphicsContext\\.mm$'], 317 ['include', 'mac/LocalCurrentGraphicsContext\\.mm$'],
315 ['include', 'mac/NSScrollerImpDetails\\.mm$'], 318 ['include', 'mac/NSScrollerImpDetails\\.mm$'],
316 ['include', 'mac/ScrollAnimatorMac\\.mm$'], 319 ['include', 'mac/ScrollAnimatorMac\\.mm$'],
317 ['include', 'mac/ScrollElasticityController\\.mm$'], 320 ['include', 'mac/ScrollElasticityController\\.mm$'],
318 ['include', 'mac/ThemeMac\\.h$'], 321 ['include', 'mac/ThemeMac\\.h$'],
319 ['include', 'mac/ThemeMac\\.mm$'], 322 ['include', 'mac/ThemeMac\\.mm$'],
320 ['include', 'mac/WebCoreNSCellExtras\\.h$'], 323 ['include', 'mac/WebCoreNSCellExtras\\.h$'],
321 ['include', 'mac/WebCoreNSCellExtras\\.mm$'], 324 ['include', 'mac/WebCoreNSCellExtras\\.mm$'],
322 325
323 # Mac uses only ScrollAnimatorMac. 326 # Mac uses only ScrollAnimatorMac.
324 ['exclude', 'scroll/ScrollbarThemeNonMacCommon\\.(cpp|h)$'], 327 ['exclude', 'scroll/ScrollbarThemeNonMacCommon\\.(cpp|h)$'],
325 ['exclude', 'scroll/ScrollAnimatorNone\\.cpp$'], 328 ['exclude', 'scroll/ScrollAnimatorNone\\.cpp$'],
326 ['exclude', 'scroll/ScrollAnimatorNone\\.h$'], 329 ['exclude', 'scroll/ScrollAnimatorNone\\.h$'],
327 330
328 # The Mac currently uses FontCustomPlatformDataMac.cpp, 331 # The Mac currently uses FontCustomPlatformDataMac.cpp,
329 # included by regex above, instead. 332 # included by regex above, instead.
330 ['exclude', 'fonts/skia/FontCustomPlatformDataSkia\\.cpp$'], 333 ['exclude', 'fonts/skia/FontCustomPlatformDataSkia\\.cpp$'],
331 334
332 ['exclude', 'fonts/skia/FontCacheSkia\\.cpp$'], 335 ['exclude', 'fonts/skia/FontCacheSkia\\.cpp$'],
333 ['exclude', 'fonts/skia/SimpleFontDataSkia\\.cpp$'], 336
337 ['include', 'fonts/skia/SimpleFontDataSkia\\.cpp$'],
334 338
335 # Mac uses Harfbuzz. 339 # Mac uses Harfbuzz.
336 ['include', 'fonts/harfbuzz/HarfBuzzFaceCoreText\\.cpp$'], 340 ['include', 'fonts/harfbuzz/FontHarfBuzz\\.cpp$'],
341 ['include', 'fonts/harfbuzz/HarfBuzzFaceCoreText\\.mm$'],
337 ['include', 'fonts/harfbuzz/HarfBuzzFace\\.(cpp|h)$'], 342 ['include', 'fonts/harfbuzz/HarfBuzzFace\\.(cpp|h)$'],
338 ['include', 'fonts/harfbuzz/HarfBuzzShaper\\.(cpp|h)$'], 343 ['include', 'fonts/harfbuzz/HarfBuzzShaper\\.(cpp|h)$'],
339 344
340 ['include', 'geometry/mac/FloatPointMac\\.mm$'], 345 ['include', 'geometry/mac/FloatPointMac\\.mm$'],
341 ['include', 'geometry/mac/FloatRectMac\\.mm$'], 346 ['include', 'geometry/mac/FloatRectMac\\.mm$'],
342 ['include', 'geometry/mac/FloatSizeMac\\.mm$'], 347 ['include', 'geometry/mac/FloatSizeMac\\.mm$'],
343 ['include', 'geometry/mac/IntPointMac\\.mm$'], 348 ['include', 'geometry/mac/IntPointMac\\.mm$'],
344 ['include', 'geometry/mac/IntRectMac\\.mm$'], 349 ['include', 'geometry/mac/IntRectMac\\.mm$'],
345 350
346 ['include', 'geometry/cg/FloatPointCG\\.cpp$'], 351 ['include', 'geometry/cg/FloatPointCG\\.cpp$'],
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 ['OS=="android"', { 482 ['OS=="android"', {
478 'cflags!': ['-mthumb'], 483 'cflags!': ['-mthumb'],
479 }], 484 }],
480 ], 485 ],
481 },{ # target_arch!="arm" 486 },{ # target_arch!="arm"
482 'type': 'none', 487 'type': 'none',
483 }], 488 }],
484 ], 489 ],
485 }], 490 }],
486 } 491 }
OLDNEW
« no previous file with comments | « Source/platform/BUILD.gn ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698