| 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 # Views is the Skia windowing toolkit. | 5 # Views is the Skia windowing toolkit. |
| 6 # It provides: | 6 # It provides: |
| 7 # * A portable means of creating native windows. | 7 # * A portable means of creating native windows. |
| 8 # * Events. | 8 # * Events. |
| 9 # * Basic widgets and controls. | 9 # * Basic widgets and controls. |
| 10 | 10 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 # Windows | 79 # Windows |
| 80 '../src/views/win/SkOSWindow_win.cpp', | 80 '../src/views/win/SkOSWindow_win.cpp', |
| 81 '../src/views/win/skia_win.cpp', | 81 '../src/views/win/skia_win.cpp', |
| 82 ], | 82 ], |
| 83 'conditions': [ | 83 'conditions': [ |
| 84 [ 'skia_gpu == 1', { | 84 [ 'skia_gpu == 1', { |
| 85 'include_dirs' : [ | 85 'include_dirs' : [ |
| 86 '../src/gpu', | 86 '../src/gpu', |
| 87 ], | 87 ], |
| 88 }], | 88 }], |
| 89 [ 'skia_os == "mac"', { | 89 [ 'skia_os == "mac" and skia_use_sdl == 0', { |
| 90 'link_settings': { | 90 'link_settings': { |
| 91 'libraries': [ | 91 'libraries': [ |
| 92 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | 92 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', |
| 93 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 93 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 94 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', | 94 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
| 95 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 95 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 96 ], | 96 ], |
| 97 }, | 97 }, |
| 98 },{ | 98 },{ |
| 99 'sources!': [ | 99 'sources!': [ |
| 100 '../src/views/mac/SkEventNotifier.h', | 100 '../src/views/mac/SkEventNotifier.h', |
| 101 '../src/views/mac/SkEventNotifier.mm', | 101 '../src/views/mac/SkEventNotifier.mm', |
| 102 '../src/views/mac/SkTextFieldCell.h', | 102 '../src/views/mac/SkTextFieldCell.h', |
| 103 '../src/views/mac/SkTextFieldCell.m', | 103 '../src/views/mac/SkTextFieldCell.m', |
| 104 '../src/views/mac/SkNSView.h', | 104 '../src/views/mac/SkNSView.h', |
| 105 '../src/views/mac/SkNSView.mm', | 105 '../src/views/mac/SkNSView.mm', |
| 106 '../src/views/mac/SkOSWindow_Mac.mm', | 106 '../src/views/mac/SkOSWindow_Mac.mm', |
| 107 '../src/views/mac/skia_mac.mm', | 107 '../src/views/mac/skia_mac.mm', |
| 108 ], | 108 ], |
| 109 }], | 109 }], |
| 110 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { | 110 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"] and
skia_use_sdl == 0', { |
| 111 'link_settings': { | 111 'link_settings': { |
| 112 'libraries': [ | 112 'libraries': [ |
| 113 '-lGL', | 113 '-lGL', |
| 114 '-lGLU', | 114 '-lGLU', |
| 115 '-lX11', | 115 '-lX11', |
| 116 ], | 116 ], |
| 117 }, | 117 }, |
| 118 },{ | 118 },{ |
| 119 'sources!': [ | 119 'sources!': [ |
| 120 '../src/views/unix/SkOSWindow_Unix.cpp', | 120 '../src/views/unix/SkOSWindow_Unix.cpp', |
| (...skipping 14 matching lines...) Expand all Loading... |
| 135 ], | 135 ], |
| 136 }], | 136 }], |
| 137 [ 'skia_use_sdl == 1', { | 137 [ 'skia_use_sdl == 1', { |
| 138 'defines': [ | 138 'defines': [ |
| 139 'SK_USE_SDL', | 139 'SK_USE_SDL', |
| 140 ], | 140 ], |
| 141 'dependencies': [ | 141 'dependencies': [ |
| 142 'sdl.gyp:sdl', | 142 'sdl.gyp:sdl', |
| 143 ], | 143 ], |
| 144 'sources!': [ | 144 'sources!': [ |
| 145 '../src/views/unix/SkOSWindow_Unix.cpp', | 145 # linux sources |
| 146 '../src/views/unix/keysym2ucs.c', | 146 '../src/views/unix/SkOSWindow_Unix.cpp', |
| 147 '../src/views/unix/skia_unix.cpp', | 147 '../src/views/unix/keysym2ucs.c', |
| 148 '../src/views/unix/skia_unix.cpp', |
| 149 |
| 150 # mac sources |
| 151 '../src/views/mac/SkEventNotifier.h', |
| 152 '../src/views/mac/SkEventNotifier.mm', |
| 153 '../src/views/mac/SkTextFieldCell.h', |
| 154 '../src/views/mac/SkTextFieldCell.m', |
| 155 '../src/views/mac/SkNSView.h', |
| 156 '../src/views/mac/SkNSView.mm', |
| 157 '../src/views/mac/SkOSWindow_Mac.mm', |
| 158 '../src/views/mac/skia_mac.mm', |
| 148 ], | 159 ], |
| 149 'sources': [ | 160 'sources': [ |
| 150 '../src/views/sdl/SkOSWindow_SDL.cpp', | 161 '../src/views/sdl/SkOSWindow_SDL.cpp', |
| 151 ], | 162 ], |
| 152 'export_dependent_settings': [ | 163 'export_dependent_settings': [ |
| 153 'sdl.gyp:sdl', | 164 'sdl.gyp:sdl', |
| 154 ], | 165 ], |
| 166 'conditions': [ |
| 167 [ 'skia_os == "mac"', { |
| 168 'include_dirs': [ |
| 169 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework/Headers
', |
| 170 ], |
| 171 'link_settings': { |
| 172 'libraries': [ |
| 173 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 174 ], |
| 175 } |
| 176 }], |
| 177 ], |
| 155 }], | 178 }], |
| 156 ], | 179 ], |
| 157 'direct_dependent_settings': { | 180 'direct_dependent_settings': { |
| 158 'include_dirs': [ | 181 'include_dirs': [ |
| 159 '../include/views', | 182 '../include/views', |
| 160 ], | 183 ], |
| 161 }, | 184 }, |
| 162 'export_dependent_settings': [ | 185 'export_dependent_settings': [ |
| 163 'xml.gyp:xml', | 186 'xml.gyp:xml', |
| 164 ], | 187 ], |
| 165 }, | 188 }, |
| 166 ], | 189 ], |
| 167 } | 190 } |
| OLD | NEW |