OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 component("range") { | 5 component("range") { |
6 sources = [ | 6 sources = [ |
7 "gfx_range_export.h", | 7 "gfx_range_export.h", |
8 "range.cc", | 8 "range.cc", |
9 "range.h", | 9 "range.h", |
10 "range_f.cc", | 10 "range_f.cc", |
11 "range_f.h", | 11 "range_f.h", |
12 "range_mac.mm", | 12 "range_mac.mm", |
13 "range_win.cc", | 13 "range_win.cc", |
14 ] | 14 ] |
15 | 15 |
| 16 if (is_ios) { |
| 17 set_sources_assignment_filter([]) |
| 18 sources += [ "range_mac.mm" ] |
| 19 set_sources_assignment_filter(sources_assignment_filter) |
| 20 } |
| 21 |
16 configs += [ | 22 configs += [ |
17 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 23 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
18 "//build/config/compiler:no_size_t_to_int_warning", | 24 "//build/config/compiler:no_size_t_to_int_warning", |
19 ] | 25 ] |
20 | 26 |
21 defines = [ "GFX_RANGE_IMPLEMENTATION" ] | 27 defines = [ "GFX_RANGE_IMPLEMENTATION" ] |
22 | 28 |
23 deps = [ | 29 deps = [ |
24 "//base", | 30 "//base", |
25 "//ui/gfx:gfx_export", | 31 "//ui/gfx:gfx_export", |
26 ] | 32 ] |
27 } | 33 } |
OLD | NEW |