summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 00:35:36 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 00:35:36 +0000
commit2fd6c6d0ffca6993559b5aac0b3dde8a75c3d338 (patch)
tree8a342eb6791af7f9b12bdc784d87d8380d985869 /skia
parent32670b07a6c42634f446e3d471f42a9fb40090f2 (diff)
downloadchromium_src-2fd6c6d0ffca6993559b5aac0b3dde8a75c3d338.zip
chromium_src-2fd6c6d0ffca6993559b5aac0b3dde8a75c3d338.tar.gz
chromium_src-2fd6c6d0ffca6993559b5aac0b3dde8a75c3d338.tar.bz2
Start stitching GYP-generated files into the Linux build:
* Add a GYP=1 command-line variable to use the gyp-generated files (which are generated side-by-side until everything's okay enough to cut over for real). * Rearrange existing *.scons files to match the layout of the gyp-generated ones, so the transition will be easier: * base.scons (the wrapping logic that calls the other *.scons files) => base_sln.scons * base_lib.scons (the library itself) => base.scons (matching the gyp target generation) * gfx/base_gfx.scons => base_gfx.scons (with necessary prepending of "gfx/" to path names) build/SConscript.main fixes: * Use an internal ${_GYP} infix variable to select the right flavor of *.scons file (multiple places) * When building with GYP=1, only load the one component *_sln_gyp.scons file, because gyp has already created it with knowledge of all the right dependent *_gyp.scons files to load. Linux gyp build fixes: * Add -32 to $ASFLAGS for generating a 32-bit libicudata.a from the now-checked in .s. * Add -Wno-unused and -Wno-unused-function to skia. Review URL: http://codereview.chromium.org/28207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10759 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r--skia/skia.gyp6
1 files changed, 6 insertions, 0 deletions
diff --git a/skia/skia.gyp b/skia/skia.gyp
index d3f1ac8..4e4bb4c 100644
--- a/skia/skia.gyp
+++ b/skia/skia.gyp
@@ -688,6 +688,12 @@
'ext/vector_device.cc',
],
}],
+ [ 'OS == "linux"', {
+ 'cflags': [
+ '-Wno-unused',
+ '-Wno-unused-function',
+ ],
+ }],
[ 'OS == "mac"', {
'defines': [
'SK_BUILD_FOR_MAC',