OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'skia', | 8 'target_name': 'skia', |
9 'type': '<(component)', | 9 'type': '<(component)', |
10 'variables': { | 10 'variables': { |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 }], | 337 }], |
338 [ 'OS != "mac"', { | 338 [ 'OS != "mac"', { |
339 'sources/': [ | 339 'sources/': [ |
340 ['exclude', '_mac\\.(cc|cpp|mm?)$'], | 340 ['exclude', '_mac\\.(cc|cpp|mm?)$'], |
341 ['exclude', '/mac/'] | 341 ['exclude', '/mac/'] |
342 ], | 342 ], |
343 }], | 343 }], |
344 [ 'OS != "win"', { | 344 [ 'OS != "win"', { |
345 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], | 345 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], |
346 }], | 346 }], |
347 [ 'chromeos == 1', { | |
348 'defines': [ | |
349 # Temporarily use SkPaint to keep a scale factor needed for correct | |
350 # font rendering in high DPI mode. | |
351 # See https://codereview.appspot.com/6495089/ | |
352 'SK_SUPPORT_HINTING_SCALE_FACTOR', | |
353 ], | |
354 }], | |
355 [ 'armv7 == 1', { | 347 [ 'armv7 == 1', { |
356 'defines': [ | 348 'defines': [ |
357 '__ARM_ARCH__=7', | 349 '__ARM_ARCH__=7', |
358 ], | 350 ], |
359 }], | 351 }], |
360 [ 'armv7 == 1 and arm_neon == 1', { | 352 [ 'armv7 == 1 and arm_neon == 1', { |
361 'defines': [ | 353 'defines': [ |
362 '__ARM_HAVE_NEON', | 354 '__ARM_HAVE_NEON', |
363 ], | 355 ], |
364 }], | 356 }], |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 'ext', | 575 'ext', |
584 ], | 576 ], |
585 'defines': [ | 577 'defines': [ |
586 'SK_BUILD_NO_IMAGE_ENCODE', | 578 'SK_BUILD_NO_IMAGE_ENCODE', |
587 'SK_DEFERRED_CANVAS_USES_GPIPE=1', | 579 'SK_DEFERRED_CANVAS_USES_GPIPE=1', |
588 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', | 580 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', |
589 'GR_AGGRESSIVE_SHADER_OPTS=1', | 581 'GR_AGGRESSIVE_SHADER_OPTS=1', |
590 'SK_ENABLE_INST_COUNT=0', | 582 'SK_ENABLE_INST_COUNT=0', |
591 ], | 583 ], |
592 'conditions': [ | 584 'conditions': [ |
593 [ 'chromeos == 1', { | |
594 'defines': [ | |
595 'SK_SUPPORT_HINTING_SCALE_FACTOR', | |
596 ], | |
597 }], | |
598 ['OS=="android"', { | 585 ['OS=="android"', { |
599 'dependencies!': [ | 586 'dependencies!': [ |
600 'skia_opts', | 587 'skia_opts', |
601 '../third_party/zlib/zlib.gyp:zlib', | 588 '../third_party/zlib/zlib.gyp:zlib', |
602 ], | 589 ], |
603 'defines': [ | 590 'defines': [ |
604 # Don't use non-NDK available stuff. | 591 # Don't use non-NDK available stuff. |
605 'SK_BUILD_FOR_ANDROID_NDK', | 592 'SK_BUILD_FOR_ANDROID_NDK', |
606 ], | 593 ], |
607 'conditions': [ | 594 'conditions': [ |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
857 'sources': [ | 844 'sources': [ |
858 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', | 845 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', |
859 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', | 846 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', |
860 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', | 847 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', |
861 ], | 848 ], |
862 }, | 849 }, |
863 ], | 850 ], |
864 }], | 851 }], |
865 ], | 852 ], |
866 } | 853 } |
OLD | NEW |