Fix GetAMDVideoCardInfo() linkage for Chrome non-Official builds.
Both BULID files and source code were checking for a Chrome-branded build, but
not also an Official build type.
BUG=388419
[email protected]
Review URL: https://codereview.chromium.org/406523006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284609 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/gpu/gpu_config.gypi b/gpu/gpu_config.gypi
index 12c65e6..8470afd 100644
--- a/gpu/gpu_config.gypi
+++ b/gpu/gpu_config.gypi
@@ -57,7 +57,7 @@
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [ 4267, ],
}],
- ['OS=="win" and branding=="Chrome"', {
+ ['OS=="win" and branding=="Chrome" and buildtype=="Official"', {
'sources': [
'../third_party/amd/AmdCfxPxExt.h',
'../third_party/amd/amd_videocard_info_win.cc',