Index: ui/views/BUILD.gn |
diff --git a/ui/views/BUILD.gn b/ui/views/BUILD.gn |
index 2769a11e473b08b3e4070695fdc39a05fb43d132..1f3c94d10ef664c6ddd14b28345108b93db39731 100644 |
--- a/ui/views/BUILD.gn |
+++ b/ui/views/BUILD.gn |
@@ -11,7 +11,12 @@ gypi_values = exec_script("//build/gypi_to_gn.py", |
"scope", |
[ "views.gyp" ]) |
+config("views_flags") { |
Ben Goodger (Google)
2015/06/16 21:52:09
"flags"
namespacing is implicit by virtue of this
sadrul
2015/06/17 01:46:01
Done.
|
+ defines = [ "TOOLKIT_VIEWS=1" ] |
+} |
+ |
component("views") { |
+ all_dependent_configs = [ ":views_flags" ] |
sources = gypi_values.views_sources |
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |