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