| 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 'variables': { |
| 8 'includes': [ 'skia_sources.gypi' ], |
| 9 }, |
| 7 'targets': [ | 10 'targets': [ |
| 8 { | 11 { |
| 9 'target_name': 'utils', | 12 'target_name': 'utils', |
| 10 'product_name': 'skia_utils', | 13 'product_name': 'skia_utils', |
| 11 'type': 'static_library', | 14 'type': 'static_library', |
| 12 'standalone_static_library': 1, | 15 'standalone_static_library': 1, |
| 13 'dependencies': [ | 16 'dependencies': [ |
| 14 'core.gyp:*', | 17 'core.gyp:*', |
| 15 'etc1.gyp:libetc1', | 18 'etc1.gyp:libetc1', |
| 16 ], | 19 ], |
| 17 'includes': [ | |
| 18 'utils.gypi', | |
| 19 ], | |
| 20 'include_dirs': [ | 20 'include_dirs': [ |
| 21 '../include/effects', | 21 '../include/effects', |
| 22 '../include/gpu', | 22 '../include/gpu', |
| 23 '../include/images', | 23 '../include/images', |
| 24 '../include/pathops', | 24 '../include/pathops', |
| 25 '../include/private', | 25 '../include/private', |
| 26 '../include/utils', | 26 '../include/utils', |
| 27 '../include/utils/mac', | 27 '../include/utils/mac', |
| 28 '../src/core', | 28 '../src/core', |
| 29 '../src/gpu', | 29 '../src/gpu', |
| 30 '../src/image', | 30 '../src/image', |
| 31 '../src/opts', | 31 '../src/opts', |
| 32 '../src/utils', | 32 '../src/utils', |
| 33 '../src/utils/win', | 33 '../src/utils/win', |
| 34 ], | 34 ], |
| 35 'sources': [ | 35 'sources': [ |
| 36 'utils.gypi', # Makes the gypi appear in IDEs (but does not modify the b
uild). | 36 '<@(utils_sources)', # Makes the sources appear in IDEs (but does not m
odify the build). |
| 37 ], | 37 ], |
| 38 'conditions': [ | 38 'conditions': [ |
| 39 [ 'skia_os == "mac"', { | 39 [ 'skia_os == "mac"', { |
| 40 'link_settings': { | 40 'link_settings': { |
| 41 'libraries': [ | 41 'libraries': [ |
| 42 '$(SDKROOT)/System/Library/Frameworks/AGL.framework', | 42 '$(SDKROOT)/System/Library/Frameworks/AGL.framework', |
| 43 ], | 43 ], |
| 44 }, | 44 }, |
| 45 }], | 45 }], |
| 46 [ 'skia_os in ["mac", "ios"]', { | 46 [ 'skia_os in ["mac", "ios"]', { |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 ], | 92 ], |
| 93 'direct_dependent_settings': { | 93 'direct_dependent_settings': { |
| 94 'include_dirs': [ | 94 'include_dirs': [ |
| 95 '../include/utils', | 95 '../include/utils', |
| 96 '../src/utils', | 96 '../src/utils', |
| 97 ], | 97 ], |
| 98 }, | 98 }, |
| 99 }, | 99 }, |
| 100 ], | 100 ], |
| 101 } | 101 } |
| OLD | NEW |