OLD | NEW |
---|---|
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
61 'geometry/vector2d_f.cc', | 61 'geometry/vector2d_f.cc', |
62 'geometry/vector2d_f.h', | 62 'geometry/vector2d_f.h', |
63 'geometry/vector3d_f.cc', | 63 'geometry/vector3d_f.cc', |
64 'geometry/vector3d_f.h', | 64 'geometry/vector3d_f.h', |
65 ], | 65 ], |
66 'includes': [ | 66 'includes': [ |
67 '../../build/android/increase_size_for_speed.gypi', | 67 '../../build/android/increase_size_for_speed.gypi', |
68 ], | 68 ], |
69 }, | 69 }, |
70 { | 70 { |
71 'target_name': 'gfx_range', | |
72 'type': '<(component)', | |
73 'dependencies': [ | |
74 '<(DEPTH)/base/base.gyp:base', | |
75 ], | |
76 'defines': [ | |
77 'GFX_IMPLEMENTATION', | |
sky
2016/04/27 16:51:30
Don't you need a separate macro for the range file
Fady Samuel
2016/04/27 17:16:59
Done.
| |
78 ], | |
79 'sources': [ | |
80 'range/range.cc', | |
81 'range/range.h', | |
82 'range/range_f.cc', | |
83 'range/range_f.h', | |
84 'range/range_mac.mm', | |
85 'range/range_win.cc', | |
86 ], | |
87 'conditions': [ | |
88 ['OS=="win"', { | |
89 # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int | |
90 # C4324 is structure was padded due to __declspec(align()), which is | |
91 # uninteresting. | |
92 'msvs_disabled_warnings': [ 4267, 4324 ], | |
93 }], | |
94 ] | |
95 }, | |
96 { | |
71 'target_name': 'gfx', | 97 'target_name': 'gfx', |
72 'type': '<(component)', | 98 'type': '<(component)', |
73 'dependencies': [ | 99 'dependencies': [ |
74 '<(DEPTH)/base/base.gyp:base', | 100 '<(DEPTH)/base/base.gyp:base', |
75 '<(DEPTH)/base/base.gyp:base_i18n', | 101 '<(DEPTH)/base/base.gyp:base_i18n', |
76 '<(DEPTH)/base/base.gyp:base_static', | 102 '<(DEPTH)/base/base.gyp:base_static', |
77 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations', | 103 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations', |
78 '<(DEPTH)/skia/skia.gyp:skia', | 104 '<(DEPTH)/skia/skia.gyp:skia', |
79 '<(DEPTH)/third_party/harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng', | 105 '<(DEPTH)/third_party/harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng', |
80 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', | 106 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
81 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 107 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
82 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng', | 108 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng', |
83 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', | 109 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', |
84 'gfx_geometry', | 110 'gfx_geometry', |
111 'gfx_range', | |
85 ], | 112 ], |
86 # text_elider.h includes ICU headers. | 113 # text_elider.h includes ICU headers. |
87 'export_dependent_settings': [ | 114 'export_dependent_settings': [ |
88 '<(DEPTH)/skia/skia.gyp:skia', | 115 '<(DEPTH)/skia/skia.gyp:skia', |
89 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', | 116 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
90 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 117 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
91 ], | 118 ], |
92 'defines': [ | 119 'defines': [ |
93 'GFX_IMPLEMENTATION', | 120 'GFX_IMPLEMENTATION', |
94 ], | 121 ], |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
244 'platform_font.h', | 271 'platform_font.h', |
245 'platform_font_android.cc', | 272 'platform_font_android.cc', |
246 'platform_font_ios.h', | 273 'platform_font_ios.h', |
247 'platform_font_ios.mm', | 274 'platform_font_ios.mm', |
248 'platform_font_linux.cc', | 275 'platform_font_linux.cc', |
249 'platform_font_linux.h', | 276 'platform_font_linux.h', |
250 'platform_font_mac.h', | 277 'platform_font_mac.h', |
251 'platform_font_mac.mm', | 278 'platform_font_mac.mm', |
252 'platform_font_win.cc', | 279 'platform_font_win.cc', |
253 'platform_font_win.h', | 280 'platform_font_win.h', |
254 'range/range.cc', | |
255 'range/range.h', | |
256 'range/range_f.cc', | |
257 'range/range_f.h', | |
258 'range/range_mac.mm', | |
259 'range/range_win.cc', | |
260 'render_text.cc', | 281 'render_text.cc', |
261 'render_text.h', | 282 'render_text.h', |
262 'render_text_harfbuzz.cc', | 283 'render_text_harfbuzz.cc', |
263 'render_text_harfbuzz.h', | 284 'render_text_harfbuzz.h', |
264 'render_text_mac.h', | 285 'render_text_mac.h', |
265 'render_text_mac.mm', | 286 'render_text_mac.mm', |
266 'scoped_canvas.h', | 287 'scoped_canvas.h', |
267 'scoped_cg_context_save_gstate_mac.h', | 288 'scoped_cg_context_save_gstate_mac.h', |
268 'scoped_ns_graphics_context_save_gstate_mac.h', | 289 'scoped_ns_graphics_context_save_gstate_mac.h', |
269 'scoped_ns_graphics_context_save_gstate_mac.mm', | 290 'scoped_ns_graphics_context_save_gstate_mac.mm', |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
579 ], | 600 ], |
580 'variables': { | 601 'variables': { |
581 'jni_gen_package': 'ui/gfx', | 602 'jni_gen_package': 'ui/gfx', |
582 }, | 603 }, |
583 'includes': [ '../../build/jni_generator.gypi' ], | 604 'includes': [ '../../build/jni_generator.gypi' ], |
584 }, | 605 }, |
585 ], | 606 ], |
586 }], | 607 }], |
587 ], | 608 ], |
588 } | 609 } |
OLD | NEW |