| 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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/opentype/OpenTypeTypes\\.h$'], | 254 ['include', 'fonts/opentype/OpenTypeTypes\\.h$'], |
| 255 ['include', 'fonts/opentype/OpenTypeVerticalData\\.(cpp|h)$'], | 255 ['include', 'fonts/opentype/OpenTypeVerticalData\\.(cpp|h)$'], |
| 256 ['include', 'fonts/skia/SimpleFontDataSkia\\.cpp$'], | |
| 257 ], | 256 ], |
| 258 'dependencies': [ | 257 'dependencies': [ |
| 259 '<(DEPTH)/third_party/harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng', | 258 '<(DEPTH)/third_party/harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng', |
| 260 ], | 259 ], |
| 261 }, | 260 }, |
| 262 ], | 261 ], |
| 263 ['OS=="linux" or OS=="android"', { | 262 ['OS=="linux" or OS=="android"', { |
| 264 'sources/': [ | 263 'sources/': [ |
| 265 ['include', 'fonts/linux/FontPlatformDataLinux\\.cpp$'], | 264 ['include', 'fonts/linux/FontPlatformDataLinux\\.cpp$'], |
| 266 ] | 265 ] |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 ['exclude', 'scroll/ScrollbarThemeNonMacCommon\\.(cpp|h)$'], | 319 ['exclude', 'scroll/ScrollbarThemeNonMacCommon\\.(cpp|h)$'], |
| 321 ['exclude', 'scroll/ScrollAnimatorNone\\.cpp$'], | 320 ['exclude', 'scroll/ScrollAnimatorNone\\.cpp$'], |
| 322 ['exclude', 'scroll/ScrollAnimatorNone\\.h$'], | 321 ['exclude', 'scroll/ScrollAnimatorNone\\.h$'], |
| 323 | 322 |
| 324 # The Mac currently uses FontCustomPlatformDataMac.cpp, | 323 # The Mac currently uses FontCustomPlatformDataMac.cpp, |
| 325 # included by regex above, instead. | 324 # included by regex above, instead. |
| 326 ['exclude', 'fonts/skia/FontCustomPlatformDataSkia\\.cpp$'], | 325 ['exclude', 'fonts/skia/FontCustomPlatformDataSkia\\.cpp$'], |
| 327 | 326 |
| 328 ['exclude', 'fonts/skia/FontCacheSkia\\.cpp$'], | 327 ['exclude', 'fonts/skia/FontCacheSkia\\.cpp$'], |
| 329 | 328 |
| 330 ['include', 'fonts/skia/SimpleFontDataSkia\\.cpp$'], | |
| 331 | |
| 332 ['include', 'geometry/mac/FloatPointMac\\.mm$'], | 329 ['include', 'geometry/mac/FloatPointMac\\.mm$'], |
| 333 ['include', 'geometry/mac/FloatRectMac\\.mm$'], | 330 ['include', 'geometry/mac/FloatRectMac\\.mm$'], |
| 334 ['include', 'geometry/mac/FloatSizeMac\\.mm$'], | 331 ['include', 'geometry/mac/FloatSizeMac\\.mm$'], |
| 335 ['include', 'geometry/mac/IntPointMac\\.mm$'], | 332 ['include', 'geometry/mac/IntPointMac\\.mm$'], |
| 336 ['include', 'geometry/mac/IntRectMac\\.mm$'], | 333 ['include', 'geometry/mac/IntRectMac\\.mm$'], |
| 337 | 334 |
| 338 ['include', 'geometry/cg/FloatPointCG\\.cpp$'], | 335 ['include', 'geometry/cg/FloatPointCG\\.cpp$'], |
| 339 ['include', 'geometry/cg/FloatRectCG\\.cpp$'], | 336 ['include', 'geometry/cg/FloatRectCG\\.cpp$'], |
| 340 ['include', 'geometry/cg/FloatSizeCG\\.cpp$'], | 337 ['include', 'geometry/cg/FloatSizeCG\\.cpp$'], |
| 341 ['include', 'geometry/cg/IntPointCG\\.cpp$'], | 338 ['include', 'geometry/cg/IntPointCG\\.cpp$'], |
| (...skipping 20 matching lines...) Expand all Loading... |
| 362 'sources/': [ | 359 'sources/': [ |
| 363 # We use LocaleWin.cpp instead of LocaleICU.cpp | 360 # We use LocaleWin.cpp instead of LocaleICU.cpp |
| 364 ['exclude', 'text/LocaleICU\\.(cpp|h)$'], | 361 ['exclude', 'text/LocaleICU\\.(cpp|h)$'], |
| 365 ['include', 'text/LocaleWin\\.(cpp|h)$'], | 362 ['include', 'text/LocaleWin\\.(cpp|h)$'], |
| 366 | 363 |
| 367 ['include', 'clipboard/ClipboardUtilitiesWin\\.(cpp|h)$'], | 364 ['include', 'clipboard/ClipboardUtilitiesWin\\.(cpp|h)$'], |
| 368 | 365 |
| 369 ['include', 'fonts/opentype/'], | 366 ['include', 'fonts/opentype/'], |
| 370 ['include', 'fonts/skia/FontCustomPlatformDataSkia\\.cpp$'], | 367 ['include', 'fonts/skia/FontCustomPlatformDataSkia\\.cpp$'], |
| 371 ['include', 'fonts/skia/FontCustomPlatformDataSkia\\.cpp$'], | 368 ['include', 'fonts/skia/FontCustomPlatformDataSkia\\.cpp$'], |
| 372 ['include', 'fonts/skia/SimpleFontDataSkia\\.cpp$'], | |
| 373 ['include', 'fonts/win/FontCacheSkiaWin\\.cpp$'], | 369 ['include', 'fonts/win/FontCacheSkiaWin\\.cpp$'], |
| 374 ['include', 'fonts/win/FontFallbackWin\\.(cpp|h)$'], | 370 ['include', 'fonts/win/FontFallbackWin\\.(cpp|h)$'], |
| 375 ['include', 'fonts/win/FontPlatformDataWin\\.cpp$'], | 371 ['include', 'fonts/win/FontPlatformDataWin\\.cpp$'], |
| 376 | 372 |
| 377 # SystemInfo.cpp is useful and we don't want to copy it. | 373 # SystemInfo.cpp is useful and we don't want to copy it. |
| 378 ['include', 'win/SystemInfo\\.cpp$'], | 374 ['include', 'win/SystemInfo\\.cpp$'], |
| 379 ], | 375 ], |
| 380 }, { # OS!="win" | 376 }, { # OS!="win" |
| 381 'sources/': [ | 377 'sources/': [ |
| 382 ['exclude', 'win/'], | 378 ['exclude', 'win/'], |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 ['OS=="android"', { | 463 ['OS=="android"', { |
| 468 'cflags!': ['-mthumb'], | 464 'cflags!': ['-mthumb'], |
| 469 }], | 465 }], |
| 470 ], | 466 ], |
| 471 },{ # target_arch!="arm" | 467 },{ # target_arch!="arm" |
| 472 'type': 'none', | 468 'type': 'none', |
| 473 }], | 469 }], |
| 474 ], | 470 ], |
| 475 }], | 471 }], |
| 476 } | 472 } |
| OLD | NEW |