summaryrefslogtreecommitdiffstats
path: root/components/components_tests.gyp
diff options
context:
space:
mode:
authorSadrul Habib Chowdhury <sadrul@chromium.org>2015-06-17 03:06:23 -0400
committerSadrul Habib Chowdhury <sadrul@chromium.org>2015-06-17 07:07:54 +0000
commitc13fc9ff0aedca62ebfdfc27d44c6b5ac204c9d8 (patch)
treeb63742b7b3bae9feb72e45134384322813bc1312 /components/components_tests.gyp
parentbb3d972d5787ed3d6e9116ddc1c4a20a1a5de30c (diff)
downloadchromium_src-c13fc9ff0aedca62ebfdfc27d44c6b5ac204c9d8.zip
chromium_src-c13fc9ff0aedca62ebfdfc27d44c6b5ac204c9d8.tar.gz
chromium_src-c13fc9ff0aedca62ebfdfc27d44c6b5ac204c9d8.tar.bz2
views: Move TOOLKIT_VIEWS definition in //ui/views/ from root.
If 'toolkit_views' gyp/gn flag is toggled, then it shouldn't cause targets that do not depend on views to be rebuilt. To make this happen, remove the definition of the TOOLKIT_VIEWS flag from the top-level config into a config in views, so that only targets that explicitly depend on views get the define, and are affected by the switch. BUG=500004 R=ben@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/1175603002. Cr-Commit-Position: refs/heads/master@{#334785}
Diffstat (limited to 'components/components_tests.gyp')
-rw-r--r--components/components_tests.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/components_tests.gyp b/components/components_tests.gyp
index 251f568..1b037f4 100644
--- a/components/components_tests.gyp
+++ b/components/components_tests.gyp
@@ -851,6 +851,7 @@
'constrained_window/constrained_window_views_unittest.cc',
],
'dependencies': [
+ '<(DEPTH)/ui/views/views.gyp:views',
'<(DEPTH)/ui/views/views.gyp:views_test_support',
'components.gyp:constrained_window',
]