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

Side by Side Diff: ui/gfx/gfx.gyp

Issue 1922373002: Make ui/gfx/range a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed windows issues + addressed nit Created 4 years, 7 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 | « ui/gfx/BUILD.gn ('k') | ui/gfx/gfx_tests.gyp » ('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 (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
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_RANGE_IMPLEMENTATION',
78 ],
79 'sources': [
80 'range/gfx_range_export.h',
81 'range/range.cc',
82 'range/range.h',
83 'range/range_f.cc',
84 'range/range_f.h',
85 'range/range_mac.mm',
86 'range/range_win.cc',
87 ],
88 'conditions': [
89 ['OS=="win"', {
90 # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int
91 # C4324 is structure was padded due to __declspec(align()), which is
92 # uninteresting.
93 'msvs_disabled_warnings': [ 4267, 4324 ],
94 }],
95 ]
96 },
97 {
71 'target_name': 'gfx', 98 'target_name': 'gfx',
72 'type': '<(component)', 99 'type': '<(component)',
73 'dependencies': [ 100 'dependencies': [
74 '<(DEPTH)/base/base.gyp:base', 101 '<(DEPTH)/base/base.gyp:base',
75 '<(DEPTH)/base/base.gyp:base_i18n', 102 '<(DEPTH)/base/base.gyp:base_i18n',
76 '<(DEPTH)/base/base.gyp:base_static', 103 '<(DEPTH)/base/base.gyp:base_static',
77 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations', 104 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations',
78 '<(DEPTH)/skia/skia.gyp:skia', 105 '<(DEPTH)/skia/skia.gyp:skia',
79 '<(DEPTH)/third_party/harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng', 106 '<(DEPTH)/third_party/harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng',
80 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', 107 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
81 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', 108 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
82 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng', 109 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
83 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', 110 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
84 'gfx_geometry', 111 'gfx_geometry',
112 'gfx_range',
85 ], 113 ],
86 # text_elider.h includes ICU headers. 114 # text_elider.h includes ICU headers.
87 'export_dependent_settings': [ 115 'export_dependent_settings': [
88 '<(DEPTH)/skia/skia.gyp:skia', 116 '<(DEPTH)/skia/skia.gyp:skia',
89 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', 117 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
90 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', 118 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
91 ], 119 ],
92 'defines': [ 120 'defines': [
93 'GFX_IMPLEMENTATION', 121 'GFX_IMPLEMENTATION',
94 ], 122 ],
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 'platform_font.h', 272 'platform_font.h',
245 'platform_font_android.cc', 273 'platform_font_android.cc',
246 'platform_font_ios.h', 274 'platform_font_ios.h',
247 'platform_font_ios.mm', 275 'platform_font_ios.mm',
248 'platform_font_linux.cc', 276 'platform_font_linux.cc',
249 'platform_font_linux.h', 277 'platform_font_linux.h',
250 'platform_font_mac.h', 278 'platform_font_mac.h',
251 'platform_font_mac.mm', 279 'platform_font_mac.mm',
252 'platform_font_win.cc', 280 'platform_font_win.cc',
253 'platform_font_win.h', 281 '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', 282 'render_text.cc',
261 'render_text.h', 283 'render_text.h',
262 'render_text_harfbuzz.cc', 284 'render_text_harfbuzz.cc',
263 'render_text_harfbuzz.h', 285 'render_text_harfbuzz.h',
264 'render_text_mac.h', 286 'render_text_mac.h',
265 'render_text_mac.mm', 287 'render_text_mac.mm',
266 'scoped_canvas.h', 288 'scoped_canvas.h',
267 'scoped_cg_context_save_gstate_mac.h', 289 'scoped_cg_context_save_gstate_mac.h',
268 'scoped_ns_graphics_context_save_gstate_mac.h', 290 'scoped_ns_graphics_context_save_gstate_mac.h',
269 'scoped_ns_graphics_context_save_gstate_mac.mm', 291 'scoped_ns_graphics_context_save_gstate_mac.mm',
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 ], 601 ],
580 'variables': { 602 'variables': {
581 'jni_gen_package': 'ui/gfx', 603 'jni_gen_package': 'ui/gfx',
582 }, 604 },
583 'includes': [ '../../build/jni_generator.gypi' ], 605 'includes': [ '../../build/jni_generator.gypi' ],
584 }, 606 },
585 ], 607 ],
586 }], 608 }],
587 ], 609 ],
588 } 610 }
OLDNEW
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/gfx/gfx_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698