Index: ui/gfx/range/BUILD.gn |
diff --git a/ui/gfx/range/BUILD.gn b/ui/gfx/range/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2b9036f388df22c9c4ce95cb85ce5f82292b21d3 |
--- /dev/null |
+++ b/ui/gfx/range/BUILD.gn |
@@ -0,0 +1,27 @@ |
+# Copyright 2016 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+component("range") { |
+ sources = [ |
+ "gfx_range_export.h", |
+ "range.cc", |
+ "range.h", |
+ "range_f.cc", |
+ "range_f.h", |
+ "range_mac.mm", |
+ "range_win.cc", |
+ ] |
+ |
+ configs += [ |
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
+ "//build/config/compiler:no_size_t_to_int_warning", |
+ ] |
+ |
+ defines = [ "GFX_RANGE_IMPLEMENTATION" ] |
+ |
+ deps = [ |
+ "//base", |
+ "//ui/gfx:gfx_export", |
+ ] |
+} |