| 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 'conditions': [ | 6 'conditions': [ |
| 7 # In component mode (shared_lib), we build all of skia as a single DLL. | 7 # In component mode (shared_lib), we build all of skia as a single DLL. |
| 8 # However, in the static mode, we need to build skia as multiple targets | 8 # However, in the static mode, we need to build skia as multiple targets |
| 9 # in order to support the use case where a platform (e.g. Android) may | 9 # in order to support the use case where a platform (e.g. Android) may |
| 10 # already have a copy of skia as a system library. | 10 # already have a copy of skia as a system library. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 'target_name': 'skia', | 31 'target_name': 'skia', |
| 32 'type': 'none', | 32 'type': 'none', |
| 33 'dependencies': [ | 33 'dependencies': [ |
| 34 'skia_library', | 34 'skia_library', |
| 35 'skia_chrome', | 35 'skia_chrome', |
| 36 ], | 36 ], |
| 37 'export_dependent_settings': [ | 37 'export_dependent_settings': [ |
| 38 'skia_library', | 38 'skia_library', |
| 39 'skia_chrome', | 39 'skia_chrome', |
| 40 ], | 40 ], |
| 41 'direct_dependent_settings': { |
| 42 'conditions': [ |
| 43 [ 'OS == "win"', { |
| 44 'defines': [ |
| 45 'GR_GL_FUNCTION_TYPE=__stdcall', |
| 46 ], |
| 47 }], |
| 48 ], |
| 49 }, |
| 41 }, | 50 }, |
| 42 { | 51 { |
| 43 'target_name': 'skia_chrome', | 52 'target_name': 'skia_chrome', |
| 44 'type': 'static_library', | 53 'type': 'static_library', |
| 45 'includes': [ | 54 'includes': [ |
| 46 'skia_chrome.gypi', | 55 'skia_chrome.gypi', |
| 47 'skia_common.gypi', | 56 'skia_common.gypi', |
| 48 '../build/android/increase_size_for_speed.gypi', | 57 '../build/android/increase_size_for_speed.gypi', |
| 49 ], | 58 ], |
| 50 }, | 59 }, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 63 'skia_chrome.gypi', | 72 'skia_chrome.gypi', |
| 64 'skia_library.gypi', | 73 'skia_library.gypi', |
| 65 '../build/android/increase_size_for_speed.gypi', | 74 '../build/android/increase_size_for_speed.gypi', |
| 66 ], | 75 ], |
| 67 'defines': [ | 76 'defines': [ |
| 68 'SKIA_DLL', | 77 'SKIA_DLL', |
| 69 'SKIA_IMPLEMENTATION=1', | 78 'SKIA_IMPLEMENTATION=1', |
| 70 'GR_GL_IGNORE_ES3_MSAA=0', | 79 'GR_GL_IGNORE_ES3_MSAA=0', |
| 71 ], | 80 ], |
| 72 'direct_dependent_settings': { | 81 'direct_dependent_settings': { |
| 82 'conditions': [ |
| 83 [ 'OS == "win"', { |
| 84 'defines': [ |
| 85 'GR_GL_FUNCTION_TYPE=__stdcall', |
| 86 ], |
| 87 }], |
| 88 ], |
| 73 'defines': [ | 89 'defines': [ |
| 74 'SKIA_DLL', | 90 'SKIA_DLL', |
| 75 'GR_GL_IGNORE_ES3_MSAA=0', | 91 'GR_GL_IGNORE_ES3_MSAA=0', |
| 76 ], | 92 ], |
| 77 }, | 93 }, |
| 78 }, | 94 }, |
| 79 { | 95 { |
| 80 'target_name': 'skia_library', | 96 'target_name': 'skia_library', |
| 81 'type': 'none', | 97 'type': 'none', |
| 82 }, | 98 }, |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 '../third_party/mojo/mojom_bindings_generator.gypi', | 146 '../third_party/mojo/mojom_bindings_generator.gypi', |
| 131 ], | 147 ], |
| 132 'sources': [ | 148 'sources': [ |
| 133 # Note: file list duplicated in GN build. | 149 # Note: file list duplicated in GN build. |
| 134 'public/interfaces/bitmap.mojom', | 150 'public/interfaces/bitmap.mojom', |
| 135 'public/type_converters.cc', | 151 'public/type_converters.cc', |
| 136 ], | 152 ], |
| 137 }, | 153 }, |
| 138 ], | 154 ], |
| 139 } | 155 } |
| OLD | NEW |