summaryrefslogtreecommitdiffstats
path: root/third_party/libpng/libpng.gyp
diff options
context:
space:
mode:
authorzhenghao@google.com <zhenghao@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-16 14:47:56 +0000
committerzhenghao@google.com <zhenghao@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-16 14:47:56 +0000
commit1f7be3e724626695784b147151a6721d209329b4 (patch)
treea158f1605da22901437001156dc7d106930a5fa5 /third_party/libpng/libpng.gyp
parentc3272bd2a1dd23e3d2804fef1e84c60f6542ca8c (diff)
downloadchromium_src-1f7be3e724626695784b147151a6721d209329b4.zip
chromium_src-1f7be3e724626695784b147151a6721d209329b4.tar.gz
chromium_src-1f7be3e724626695784b147151a6721d209329b4.tar.bz2
Extract an independent webkit_support_gfx target.
The new webkit_support_gfx, used by DumpRenderTree and ImageDiff, doesn't depend on most other parts of chromium. This could make building the individual target of ImageDiff fast. It's implemented by duplicating most code in ui/gfx/codec/png_codec.cc, after removing code related to Skia. This change is required to make ImageDiff for Android, and can benefit other platforms, too. On Android, most targets are built for toolsets:target. while ImageDiff needs to be build for toolsets:host. Currently, building the standalone target of ImageDiff depends on about 85 other targets (try 'make ImageDiff'), which is inefficient. After the change, ImageDiff only depends on webkit_support_gfx, libpng, and zlib. BUG=none TEST=none Review URL: http://codereview.chromium.org/8226018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105731 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/libpng/libpng.gyp')
-rw-r--r--third_party/libpng/libpng.gyp5
1 files changed, 4 insertions, 1 deletions
diff --git a/third_party/libpng/libpng.gyp b/third_party/libpng/libpng.gyp
index ffc0369..1366579 100644
--- a/third_party/libpng/libpng.gyp
+++ b/third_party/libpng/libpng.gyp
@@ -1,4 +1,4 @@
-# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Copyright (c) 2011 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.
@@ -73,6 +73,9 @@
],
},
}],
+ ['OS=="android"', {
+ 'toolsets': ['target', 'host'],
+ }],
],
},
]