Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: gyp/utils.gyp

Issue 2070983002: Move headers in include/utils/win to src/utils/win. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Really rebase. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | gyp/utils.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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',
11 'type': 'static_library', 11 'type': 'static_library',
12 'standalone_static_library': 1, 12 'standalone_static_library': 1,
13 'dependencies': [ 13 'dependencies': [
14 'core.gyp:*', 14 'core.gyp:*',
15 'etc1.gyp:libetc1', 15 'etc1.gyp:libetc1',
16 ], 16 ],
17 'includes': [ 17 'includes': [
18 'utils.gypi', 18 'utils.gypi',
19 ], 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 '../include/utils/unix',
29 '../include/utils/win',
30 '../src/core', 28 '../src/core',
31 '../src/gpu', 29 '../src/gpu',
32 '../src/image', 30 '../src/image',
33 '../src/opts', 31 '../src/opts',
34 '../src/utils', 32 '../src/utils',
33 '../src/utils/win',
35 ], 34 ],
36 'sources': [ 35 'sources': [
37 '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).
38 ], 37 ],
39 'conditions': [ 38 'conditions': [
40 [ 'skia_os == "mac"', { 39 [ 'skia_os == "mac"', {
41 'link_settings': { 40 'link_settings': {
42 'libraries': [ 41 'libraries': [
43 '$(SDKROOT)/System/Library/Frameworks/AGL.framework', 42 '$(SDKROOT)/System/Library/Frameworks/AGL.framework',
44 ], 43 ],
45 }, 44 },
46 }], 45 }],
47 [ 'skia_os in ["mac", "ios"]', { 46 [ 'skia_os in ["mac", "ios"]', {
48 'direct_dependent_settings': { 47 'direct_dependent_settings': {
49 'include_dirs': [ 48 'include_dirs': [
50 '../include/utils/mac', 49 '../include/utils/mac',
51 ], 50 ],
52 }, 51 },
53 },{ #else if 'skia_os != "mac"' 52 },{ #else if 'skia_os != "mac"'
54 'include_dirs!': [ 53 'include_dirs!': [
55 '../include/utils/mac', 54 '../include/utils/mac',
56 ], 55 ],
57 'sources!': [ 56 'sources!': [
58 '../include/utils/mac/SkCGUtils.h', 57 '../include/utils/mac/SkCGUtils.h',
59 '../src/utils/mac/SkCreateCGImageRef.cpp', 58 '../src/utils/mac/SkCreateCGImageRef.cpp',
60 ], 59 ],
61 }], 60 }],
62 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
63 },{ #else if 'skia_os not in ["linux", "freebsd", "openbsd", "solaris"]'
64 'include_dirs!': [
65 '../include/utils/unix',
66 ],
67 }],
68 [ 'skia_os == "win"', { 61 [ 'skia_os == "win"', {
69 'direct_dependent_settings': { 62 'direct_dependent_settings': {
70 'include_dirs': [ 63 'include_dirs': [
71 '../include/utils/win', 64 '../src/utils/win',
72 ], 65 ],
73 }, 66 },
74 'sources!': [ 67 'sources!': [
75 '../src/utils/SkThreadUtils_pthread.cpp', 68 '../src/utils/SkThreadUtils_pthread.cpp',
76 '../src/utils/SkThreadUtils_pthread.h', 69 '../src/utils/SkThreadUtils_pthread.h',
77 ], 70 ],
78 },{ #else if 'skia_os != "win"' 71 },{ #else if 'skia_os != "win"'
79 'include_dirs!': [ 72 'include_dirs!': [
80 '../include/utils/win', 73 '../src/utils/win',
81 ], 74 ],
82 'sources/': [ ['exclude', '_win.(h|cpp)$'],], 75 'sources/': [ ['exclude', '_win.(h|cpp)$'],],
83 'sources!': [ 76 'sources!': [
84 '../include/utils/win/SkAutoCoInitialize.h', 77 '../src/utils/win/SkAutoCoInitialize.h',
85 '../include/utils/win/SkHRESULT.h',
86 '../include/utils/win/SkIStream.h',
87 '../include/utils/win/SkTScopedComPtr.h',
88 '../src/utils/win/SkAutoCoInitialize.cpp', 78 '../src/utils/win/SkAutoCoInitialize.cpp',
89 '../src/utils/win/SkDWrite.h', 79 '../src/utils/win/SkDWrite.h',
90 '../src/utils/win/SkDWrite.cpp', 80 '../src/utils/win/SkDWrite.cpp',
91 '../src/utils/win/SkDWriteFontFileStream.cpp', 81 '../src/utils/win/SkDWriteFontFileStream.cpp',
92 '../src/utils/win/SkDWriteFontFileStream.h', 82 '../src/utils/win/SkDWriteFontFileStream.h',
93 '../src/utils/win/SkDWriteGeometrySink.cpp', 83 '../src/utils/win/SkDWriteGeometrySink.cpp',
94 '../src/utils/win/SkDWriteGeometrySink.h', 84 '../src/utils/win/SkDWriteGeometrySink.h',
85 '../src/utils/win/SkHRESULT.h',
95 '../src/utils/win/SkHRESULT.cpp', 86 '../src/utils/win/SkHRESULT.cpp',
87 '../src/utils/win/SkIStream.h',
96 '../src/utils/win/SkIStream.cpp', 88 '../src/utils/win/SkIStream.cpp',
89 '../src/utils/win/SkTScopedComPtr.h',
97 ], 90 ],
98 }], 91 }],
99 ], 92 ],
100 'direct_dependent_settings': { 93 'direct_dependent_settings': {
101 'include_dirs': [ 94 'include_dirs': [
102 '../include/utils', 95 '../include/utils',
103 '../src/utils', 96 '../src/utils',
104 ], 97 ],
105 }, 98 },
106 }, 99 },
107 ], 100 ],
108 } 101 }
OLDNEW
« no previous file with comments | « no previous file | gyp/utils.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698