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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 ], | 245 ], |
246 # Disable c4267 warnings until we fix size_t to int truncations. | 246 # Disable c4267 warnings until we fix size_t to int truncations. |
247 # Disable c4724 warnings which is generated in VS2012 due to improper | 247 # Disable c4724 warnings which is generated in VS2012 due to improper |
248 # compiler optimizations, see crbug.com/237063 | 248 # compiler optimizations, see crbug.com/237063 |
249 'msvs_disabled_warnings': [ 4267, 4334, 4724 ], | 249 'msvs_disabled_warnings': [ 4267, 4334, 4724 ], |
250 'conditions': [ | 250 'conditions': [ |
251 ['OS=="linux" or OS=="android" or OS=="win"', { | 251 ['OS=="linux" or OS=="android" or OS=="win"', { |
252 'sources/': [ | 252 'sources/': [ |
253 # Cherry-pick files excluded by the broader regular expressions above. | 253 # Cherry-pick files excluded by the broader regular expressions above. |
254 ['include', 'fonts/harfbuzz/FontHarfBuzz\\.cpp$'], | 254 ['include', 'fonts/harfbuzz/FontHarfBuzz\\.cpp$'], |
| 255 ['include', 'fonts/harfbuzz/FontPlatformDataHarfBuzz\\.cpp$'], |
255 ['include', 'fonts/harfbuzz/HarfBuzzFace\\.(cpp|h)$'], | 256 ['include', 'fonts/harfbuzz/HarfBuzzFace\\.(cpp|h)$'], |
256 ['include', 'fonts/harfbuzz/HarfBuzzFaceSkia\\.cpp$'], | 257 ['include', 'fonts/harfbuzz/HarfBuzzFaceSkia\\.cpp$'], |
257 ['include', 'fonts/harfbuzz/HarfBuzzShaper\\.(cpp|h)$'], | 258 ['include', 'fonts/harfbuzz/HarfBuzzShaper\\.(cpp|h)$'], |
258 ['include', 'fonts/opentype/OpenTypeTypes\\.h$'], | 259 ['include', 'fonts/opentype/OpenTypeTypes\\.h$'], |
259 ['include', 'fonts/opentype/OpenTypeVerticalData\\.(cpp|h)$'], | 260 ['include', 'fonts/opentype/OpenTypeVerticalData\\.(cpp|h)$'], |
260 ['include', 'fonts/skia/SimpleFontDataSkia\\.cpp$'], | 261 ['include', 'fonts/skia/SimpleFontDataSkia\\.cpp$'], |
261 ], | 262 ], |
262 'dependencies': [ | 263 'dependencies': [ |
263 '<(DEPTH)/third_party/harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng', | 264 '<(DEPTH)/third_party/harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng', |
264 ], | 265 ], |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 'defines': [ | 354 'defines': [ |
354 'WebFontCache=ChromiumWebCoreObjCWebFontCache', | 355 'WebFontCache=ChromiumWebCoreObjCWebFontCache', |
355 ], | 356 ], |
356 }, { # OS!="mac" | 357 }, { # OS!="mac" |
357 'sources/': [ | 358 'sources/': [ |
358 ['exclude', 'mac/'], | 359 ['exclude', 'mac/'], |
359 ['exclude', 'geometry/mac/'], | 360 ['exclude', 'geometry/mac/'], |
360 ['exclude', 'geometry/cg/'], | 361 ['exclude', 'geometry/cg/'], |
361 ['exclude', 'scroll/ScrollbarThemeMac'], | 362 ['exclude', 'scroll/ScrollbarThemeMac'], |
362 | 363 |
| 364 # FIXME: We will eventually compile this too, but for now it's |
| 365 # only used on mac. |
| 366 ['exclude', 'fonts/FontPlatformData\\.cpp$'], |
363 ['exclude', 'fonts/harfbuzz/HarfBuzzFaceCoreText\\.cpp$'], | 367 ['exclude', 'fonts/harfbuzz/HarfBuzzFaceCoreText\\.cpp$'], |
364 ], | 368 ], |
365 }], | 369 }], |
366 ['OS != "linux" and OS != "mac" and OS != "win"', { | 370 ['OS != "linux" and OS != "mac" and OS != "win"', { |
367 'sources/': [ | 371 'sources/': [ |
368 ['exclude', 'VDMX[^/]+\\.(cpp|h)$'], | 372 ['exclude', 'VDMX[^/]+\\.(cpp|h)$'], |
369 ], | 373 ], |
370 }], | 374 }], |
371 ['OS=="win"', { | 375 ['OS=="win"', { |
372 'sources/': [ | 376 'sources/': [ |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 ['OS=="android"', { | 481 ['OS=="android"', { |
478 'cflags!': ['-mthumb'], | 482 'cflags!': ['-mthumb'], |
479 }], | 483 }], |
480 ], | 484 ], |
481 },{ # target_arch!="arm" | 485 },{ # target_arch!="arm" |
482 'type': 'none', | 486 'type': 'none', |
483 }], | 487 }], |
484 ], | 488 ], |
485 }], | 489 }], |
486 } | 490 } |
OLD | NEW |