From c36744a268c08f5a268474f5eafddb54aca0466a Mon Sep 17 00:00:00 2001 From: "zmo@chromium.org" Date: Tue, 21 May 2013 22:59:42 +0000 Subject: Move GPU device/driver info related code from content to gpu. This has been suggested by gman, and agreed by kbr and jam, for the following reasons: 1) These are gpu related code, and are independent of content / browser, so putting them under gpu/ is the right thing to do conceptually. 2) This enables us to set up tests in various places with the correct blacklisting/driver_bug_workarounds information. Otherwise, for the moment, gpu/ has no visibility into content/ side, so we have to duplicate the driver_bug_workarounds code and hardwire them for testing purpose. This is going to cause a lot of bugs in the future, as we have the two pieces of code for the same thing (one for chrome and one for testing) and people will easily forget to update one or the other. As for this patch, I didn't change the logic, and try to minimize the refactoring. All improvements enabled by this relocation will be done in follow-up CLs. BUG=230477 TEST=tree TBR=gman@chromium.org, joi@chromium.org, kbr@chromium.org, piman@chromium.org Review URL: https://codereview.chromium.org/15385003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201380 0039d316-1c4b-4281-b951-d872f2087c98 --- gpu/gpu_config.gypi | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 gpu/gpu_config.gypi (limited to 'gpu/gpu_config.gypi') diff --git a/gpu/gpu_config.gypi b/gpu/gpu_config.gypi new file mode 100644 index 0000000..6b55aa4 --- /dev/null +++ b/gpu/gpu_config.gypi @@ -0,0 +1,36 @@ +# Copyright (c) 2012 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. + +{ + 'dependencies': [ + '../base/base.gyp:base', + ], + 'include_dirs': [ + '..', + ], + 'sources': [ + 'config/dx_diag_node.cc', + 'config/dx_diag_node.h', + 'config/gpu_blacklist.cc', + 'config/gpu_blacklist.h', + 'config/gpu_control_list_jsons.h', + 'config/gpu_control_list.cc', + 'config/gpu_control_list.h', + 'config/gpu_driver_bug_list_json.cc', + 'config/gpu_driver_bug_list.cc', + 'config/gpu_driver_bug_list.h', + 'config/gpu_driver_bug_workaround_type.h', + 'config/gpu_feature_type.h', + 'config/gpu_info.cc', + 'config/gpu_info.h', + 'config/gpu_performance_stats.h', + 'config/gpu_switching_list_json.cc', + 'config/gpu_switching_list.cc', + 'config/gpu_switching_list.h', + 'config/gpu_switching_option.h', + 'config/gpu_util.cc', + 'config/gpu_util.h', + 'config/software_rendering_list_json.cc', + ], +} -- cgit v1.1