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 3 # found in the LICENSE file. 4 5 component("range") { 6 sources = [ 7 "gfx_range_export.h", 8 "range.cc", 9 "range.h", 10 "range_f.cc", 11 "range_f.h", 12 "range_mac.mm", 13 "range_win.cc", 14 ] 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 22 configs += [ 23 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 24 "//build/config/compiler:no_size_t_to_int_warning", 25 ] 26 27 defines = [ "GFX_RANGE_IMPLEMENTATION" ] 28 29 deps = [ 30 "//base", 31 "//ui/gfx:gfx_export", 32 ] 33 } 34