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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 '$(SDKROOT)/System/Library/Frameworks/AGL.framework', | 44 '$(SDKROOT)/System/Library/Frameworks/AGL.framework', |
45 ], | 45 ], |
46 }, | 46 }, |
47 }], | 47 }], |
48 [ 'skia_os in ["mac", "ios"]', { | 48 [ 'skia_os in ["mac", "ios"]', { |
49 'direct_dependent_settings': { | 49 'direct_dependent_settings': { |
50 'include_dirs': [ | 50 'include_dirs': [ |
51 '../include/utils/mac', | 51 '../include/utils/mac', |
52 ], | 52 ], |
53 }, | 53 }, |
54 'sources!': [ | |
55 '../src/utils/SkThreadUtils_pthread_other.cpp', | |
56 ], | |
57 },{ #else if 'skia_os != "mac"' | 54 },{ #else if 'skia_os != "mac"' |
58 'include_dirs!': [ | 55 'include_dirs!': [ |
59 '../include/utils/mac', | 56 '../include/utils/mac', |
60 ], | 57 ], |
61 'sources!': [ | 58 'sources!': [ |
62 '../include/utils/mac/SkCGUtils.h', | 59 '../include/utils/mac/SkCGUtils.h', |
63 '../src/utils/mac/SkCreateCGImageRef.cpp', | 60 '../src/utils/mac/SkCreateCGImageRef.cpp', |
64 '../src/utils/SkThreadUtils_pthread_mach.cpp', | |
65 ], | 61 ], |
66 }], | 62 }], |
67 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { | 63 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { |
68 'sources!': [ | |
69 '../src/utils/SkThreadUtils_pthread_other.cpp', | |
70 ], | |
71 },{ #else if 'skia_os not in ["linux", "freebsd", "openbsd", "solaris",
"chromeos"]' | 64 },{ #else if 'skia_os not in ["linux", "freebsd", "openbsd", "solaris",
"chromeos"]' |
72 'include_dirs!': [ | 65 'include_dirs!': [ |
73 '../include/utils/unix', | 66 '../include/utils/unix', |
74 ], | 67 ], |
75 'sources!': [ | |
76 '../src/utils/SkThreadUtils_pthread_linux.cpp', | |
77 ], | |
78 }], | 68 }], |
79 [ 'skia_os == "win"', { | 69 [ 'skia_os == "win"', { |
80 'direct_dependent_settings': { | 70 'direct_dependent_settings': { |
81 'include_dirs': [ | 71 'include_dirs': [ |
82 '../include/utils/win', | 72 '../include/utils/win', |
83 ], | 73 ], |
84 }, | 74 }, |
85 'sources!': [ | 75 'sources!': [ |
86 '../src/utils/SkThreadUtils_pthread.cpp', | 76 '../src/utils/SkThreadUtils_pthread.cpp', |
87 '../src/utils/SkThreadUtils_pthread.h', | 77 '../src/utils/SkThreadUtils_pthread.h', |
88 '../src/utils/SkThreadUtils_pthread_other.cpp', | |
89 ], | 78 ], |
90 },{ #else if 'skia_os != "win"' | 79 },{ #else if 'skia_os != "win"' |
91 'include_dirs!': [ | 80 'include_dirs!': [ |
92 '../include/utils/win', | 81 '../include/utils/win', |
93 ], | 82 ], |
94 'sources/': [ ['exclude', '_win.(h|cpp)$'],], | 83 'sources/': [ ['exclude', '_win.(h|cpp)$'],], |
95 'sources!': [ | 84 'sources!': [ |
96 '../include/utils/win/SkAutoCoInitialize.h', | 85 '../include/utils/win/SkAutoCoInitialize.h', |
97 '../include/utils/win/SkHRESULT.h', | 86 '../include/utils/win/SkHRESULT.h', |
98 '../include/utils/win/SkIStream.h', | 87 '../include/utils/win/SkIStream.h', |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 '../src/utils/android/SkHwuiRenderer.cpp', | 120 '../src/utils/android/SkHwuiRenderer.cpp', |
132 ], | 121 ], |
133 'direct_dependent_settings': { | 122 'direct_dependent_settings': { |
134 'include_dirs': [ | 123 'include_dirs': [ |
135 '../src/utils/android', | 124 '../src/utils/android', |
136 ], | 125 ], |
137 }, | 126 }, |
138 }, | 127 }, |
139 ], | 128 ], |
140 } | 129 } |
OLD | NEW |