| OLD | NEW |
| 1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 # conditions used in both common.gypi and skia.gyp in chromium | 6 # conditions used in both common.gypi and skia.gyp in chromium |
| 7 # | 7 # |
| 8 { | 8 { |
| 9 'defines': [ | 9 'defines': [ |
| 10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', | 10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', |
| 11 'SK_SUPPORT_GPU=<(skia_gpu)', | 11 'SK_SUPPORT_GPU=<(skia_gpu)', |
| 12 'SK_FORCE_DISTANCE_FIELD_TEXT=<(skia_force_distance_field_text)', | 12 'SK_FORCE_DISTANCE_FIELD_TEXT=<(skia_force_distance_field_text)', |
| 13 | 13 |
| 14 # Indicate that all dependency libraries are present. Clients that | 14 # Indicate that all dependency libraries are present. Clients that |
| 15 # are missing some of the required decoding libraries may choose | 15 # are missing some of the required decoding libraries may choose |
| 16 # not to define these. This will disable some decoder and encoder | 16 # not to define these. This will disable some decoder and encoder |
| 17 # features. | 17 # features. |
| 18 'SK_HAS_GIF_LIBRARY', | 18 'SK_HAS_GIF_LIBRARY', |
| 19 'SK_HAS_JPEG_LIBRARY', | 19 'SK_HAS_JPEG_LIBRARY', |
| 20 'SK_HAS_PNG_LIBRARY', | 20 'SK_HAS_PNG_LIBRARY', |
| 21 'SK_HAS_WEBP_LIBRARY', | 21 'SK_HAS_WEBP_LIBRARY', |
| 22 |
| 23 # Temporarily test against the QCMS library. |
| 24 'SK_TEST_QCMS', |
| 22 ], | 25 ], |
| 23 'conditions' : [ | 26 'conditions' : [ |
| 24 [ 'skia_is_bot', { | 27 [ 'skia_is_bot', { |
| 25 'defines': [ 'SK_IS_BOT' ], | 28 'defines': [ 'SK_IS_BOT' ], |
| 26 }], | 29 }], |
| 27 [ 'skia_codec_decodes_raw', { | 30 [ 'skia_codec_decodes_raw', { |
| 28 'defines': [ | 31 'defines': [ |
| 29 'SK_CODEC_DECODES_RAW', | 32 'SK_CODEC_DECODES_RAW', |
| 30 ], | 33 ], |
| 31 }], | 34 }], |
| (...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], | 697 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], |
| 695 }, | 698 }, |
| 696 }], | 699 }], |
| 697 | 700 |
| 698 ], # end 'conditions' | 701 ], # end 'conditions' |
| 699 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 702 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
| 700 'xcode_settings': { | 703 'xcode_settings': { |
| 701 'SYMROOT': '<(DEPTH)/xcodebuild', | 704 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 702 }, | 705 }, |
| 703 } | 706 } |
| OLD | NEW |