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

Side by Side Diff: skia/skia_chrome.gypi

Issue 18177021: Refactor Skia's GYP to separate Chrome additions from the core lib. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove extra code Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
robertphillips 2013/07/12 14:01:40 2013?
djsollen 2013/07/12 14:43:27 Done.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
robertphillips 2013/07/12 14:01:40 # This gyp file contains all the Chrome-specific e
djsollen 2013/07/12 14:43:27 Done.
5 {
6 'dependencies': [
7 'skia_library',
8 '../base/base.gyp:base',
9 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann otations',
10 ],
11
12 'direct_dependent_settings': {
13 'include_dirs': [
14 'ext',
15 ],
16 },
17
18 'include_dirs': [
19 '..',
20 ],
21
22 'sources': [
23 'ext/analysis_canvas.cc',
24 'ext/analysis_canvas.h',
25 'ext/bitmap_platform_device.h',
26 'ext/bitmap_platform_device_android.cc',
27 'ext/bitmap_platform_device_android.h',
28 'ext/bitmap_platform_device_data.h',
29 'ext/bitmap_platform_device_linux.cc',
30 'ext/bitmap_platform_device_linux.h',
31 'ext/bitmap_platform_device_mac.cc',
32 'ext/bitmap_platform_device_mac.h',
33 'ext/bitmap_platform_device_win.cc',
34 'ext/bitmap_platform_device_win.h',
35 'ext/convolver.cc',
36 'ext/convolver.h',
37 'ext/google_logging.cc',
38 'ext/image_operations.cc',
39 'ext/image_operations.h',
40 'ext/lazy_pixel_ref.cc',
41 'ext/lazy_pixel_ref.h',
42 'ext/lazy_pixel_ref_utils.cc',
43 'ext/lazy_pixel_ref_utils.h',
44 'ext/SkThread_chrome.cc',
45 'ext/paint_simplifier.cc',
46 'ext/paint_simplifier.h',
47 'ext/platform_canvas.cc',
48 'ext/platform_canvas.h',
49 'ext/platform_device.cc',
50 'ext/platform_device.h',
51 'ext/platform_device_linux.cc',
52 'ext/platform_device_mac.cc',
53 'ext/platform_device_win.cc',
54 'ext/recursive_gaussian_convolution.cc',
55 'ext/recursive_gaussian_convolution.h',
56 'ext/refptr.h',
57 'ext/SkMemory_new_handler.cpp',
58 'ext/skia_trace_shim.h',
59 'ext/skia_utils_base.cc',
60 'ext/skia_utils_base.h',
61 'ext/skia_utils_ios.mm',
62 'ext/skia_utils_ios.h',
63 'ext/skia_utils_mac.mm',
64 'ext/skia_utils_mac.h',
65 'ext/skia_utils_win.cc',
66 'ext/skia_utils_win.h',
67 'ext/vector_canvas.cc',
68 'ext/vector_canvas.h',
69 'ext/vector_platform_device_emf_win.cc',
70 'ext/vector_platform_device_emf_win.h',
71 'ext/vector_platform_device_skia.cc',
72 'ext/vector_platform_device_skia.h',
73 ],
74
75 'conditions': [
76 # For POSIX platforms, prefer the Mutex implementation provided by Skia
77 # since it does not generate static initializers.
78 # TODO: should check if SK_USE_POSIX_THREADS is defined instead
79 [ 'OS == "android" or OS == "linux" or OS == "mac" or OS == "ios"', {
80 'sources!': [
81 'ext/SkThread_chrome.cc',
82 ],
83 }],
84 [ 'OS == "android"', {
85 'sources!': [
86 'ext/vector_platform_device_skia.cc',
87 ],
88 }],
89 ['OS == "ios"', {
90 'sources/': [
91 ['exclude', '^ext/vector_platform_device_skia\\.'],
92 ],
93 'dependencies!': [
94 'skia_chrome_opts',
95 ],
96 }],
97 [ 'OS == "win"', {
98 'sources!': [
99 'ext/SkThread_chrome.cc',
100 ],
101 }],
102 # TODO(scottmg): http://crbug.com/177306
103 ['clang==1', {
104 'xcode_settings': {
105 'WARNING_CFLAGS!': [
106 # Don't warn about string->bool used in asserts.
107 '-Wstring-conversion',
108 ],
109 },
110 'cflags!': [
111 '-Wstring-conversion',
112 ],
113 }],
114 ['component=="shared_library"', {
115 'defines': [
116 'GR_IMPLEMENTATION=1',
117 'SKIA_IMPLEMENTATION=1',
118 ],
119 }],
120 ],
121
122 'target_conditions': [
123 # Pull in specific linux files for android (which have been filtered out
124 # by file name rules).
125 [ 'OS == "android"', {
126 'sources/': [
127 ['include', 'ext/platform_device_linux\\.cc$'],
128 ],
129 }],
130 ],
131 }
OLDNEW
« no previous file with comments | « skia/skia.gyp ('k') | skia/skia_common.gypi » ('j') | skia/skia_common.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698