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 # Gyp for utils. | 5 # Gyp for utils. |
6 { | 6 { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'utils', | 9 'target_name': 'utils', |
10 'product_name': 'skia_utils', | 10 'product_name': 'skia_utils', |
(...skipping 17 matching lines...) Expand all Loading... |
28 '../include/utils/unix', | 28 '../include/utils/unix', |
29 '../include/utils/win', | 29 '../include/utils/win', |
30 '../src/core', | 30 '../src/core', |
31 '../src/image', | 31 '../src/image', |
32 '../src/opts', | 32 '../src/opts', |
33 '../src/utils', | 33 '../src/utils', |
34 ], | 34 ], |
35 'sources': [ | 35 'sources': [ |
36 'utils.gypi', # Makes the gypi appear in IDEs (but does not modify the b
uild). | 36 'utils.gypi', # Makes the gypi appear in IDEs (but does not modify the b
uild). |
37 ], | 37 ], |
38 'sources!': [ | |
39 '../src/utils/SDL/SkOSWindow_SDL.cpp', | |
40 ], | |
41 'conditions': [ | 38 'conditions': [ |
42 [ 'skia_os == "mac"', { | 39 [ 'skia_os == "mac"', { |
43 'link_settings': { | 40 'link_settings': { |
44 'libraries': [ | 41 'libraries': [ |
45 '$(SDKROOT)/System/Library/Frameworks/AGL.framework', | 42 '$(SDKROOT)/System/Library/Frameworks/AGL.framework', |
46 ], | 43 ], |
47 }, | 44 }, |
48 }], | 45 }], |
49 [ 'skia_os in ["mac", "ios"]', { | 46 [ 'skia_os in ["mac", "ios"]', { |
50 'direct_dependent_settings': { | 47 'direct_dependent_settings': { |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 '../src/utils/android/SkHwuiRenderer.cpp', | 134 '../src/utils/android/SkHwuiRenderer.cpp', |
138 ], | 135 ], |
139 'direct_dependent_settings': { | 136 'direct_dependent_settings': { |
140 'include_dirs': [ | 137 'include_dirs': [ |
141 '../src/utils/android', | 138 '../src/utils/android', |
142 ], | 139 ], |
143 }, | 140 }, |
144 }, | 141 }, |
145 ], | 142 ], |
146 } | 143 } |
OLD | NEW |