| 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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 ], | 360 ], |
| 361 }], | 361 }], |
| 362 ['"WTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1" in feature_defines', { | 362 ['"WTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1" in feature_defines', { |
| 363 'include_dirs': [ | 363 'include_dirs': [ |
| 364 '<(DEPTH)/third_party/openmax_dl', | 364 '<(DEPTH)/third_party/openmax_dl', |
| 365 ], | 365 ], |
| 366 'dependencies': [ | 366 'dependencies': [ |
| 367 '<(DEPTH)/third_party/openmax_dl/dl/dl.gyp:openmax_dl', | 367 '<(DEPTH)/third_party/openmax_dl/dl/dl.gyp:openmax_dl', |
| 368 ], | 368 ], |
| 369 }], | 369 }], |
| 370 ['target_arch=="arm"', { |
| 371 'dependencies': [ |
| 372 'blink_arm_neon', |
| 373 ], |
| 374 }], |
| 370 ], | 375 ], |
| 371 'target_conditions': [ | 376 'target_conditions': [ |
| 372 ['OS=="android"', { | 377 ['OS=="android"', { |
| 373 'sources/': [ | 378 'sources/': [ |
| 374 ['include', 'exported/linux/WebFontRenderStyle\\.cpp$'], | 379 ['include', 'exported/linux/WebFontRenderStyle\\.cpp$'], |
| 375 ], | 380 ], |
| 376 }], | 381 }], |
| 377 ], | 382 ], |
| 383 }, |
| 384 # The *NEON.cpp files fail to compile when -mthumb is passed. Force |
| 385 # them to build in ARM mode. |
| 386 # See https://bugs.webkit.org/show_bug.cgi?id=62916. |
| 387 { |
| 388 'target_name': 'blink_arm_neon', |
| 389 'conditions': [ |
| 390 ['target_arch=="arm"', { |
| 391 'type': 'static_library', |
| 392 'dependencies': [ |
| 393 'blink_common', |
| 394 ], |
| 395 'hard_dependency': 1, |
| 396 'sources': [ |
| 397 '<@(platform_files)', |
| 398 ], |
| 399 'sources/': [ |
| 400 ['exclude', '.*'], |
| 401 ['include', 'graphics/cpu/arm/filters/.*NEON\\.(cpp|h)'], |
| 402 ], |
| 403 'cflags': ['-marm'], |
| 404 'conditions': [ |
| 405 ['OS=="android"', { |
| 406 'cflags!': ['-mthumb'], |
| 407 }], |
| 408 ], |
| 409 },{ # target_arch!="arm" |
| 410 'type': 'none', |
| 411 }], |
| 412 ], |
| 378 }], | 413 }], |
| 379 } | 414 } |
| OLD | NEW |