Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(687)

Side by Side Diff: base/base_gfx.scons

Issue 28207: Start stitching GYP-generated files into the Linux build:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | base/base_lib.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 __doc__ = """ 5 __doc__ = """
6 Configuration for building base_gfx.lib / libbase_gfx.a. 6 Configuration for building base_gfx.lib / libbase_gfx.a.
7 """ 7 """
8 8
9 Import('env') 9 Import('env')
10 10
11 env = env.Clone() 11 env = env.Clone()
12 12
13 env.ApplySConscript([ 13 env.ApplySConscript([
14 '$ICU38_DIR/using_icu38.scons', 14 '$ICU38_DIR/using_icu38.scons',
15 '$LIBJPEG_DIR/using_libjpeg.scons', 15 '$LIBJPEG_DIR/using_libjpeg.scons',
16 '$LIBPNG_DIR/using_libpng.scons', 16 '$LIBPNG_DIR/using_libpng.scons',
17 '$SKIA_DIR/using_skia.scons', 17 '$SKIA_DIR/using_skia.scons',
18 '$ZLIB_DIR/using_zlib.scons', 18 '$ZLIB_DIR/using_zlib.scons',
19 ]) 19 ])
20 20
21 if env.Bit('windows'): 21 if env.Bit('windows'):
22 env.Prepend( 22 env.Prepend(
23 CCFLAGS = [ 23 CCFLAGS = [
24 '/WX', 24 '/WX',
25 ], 25 ],
26 ) 26 )
27 27
28 input_files = ChromeFileList([ 28 input_files = ChromeFileList([
29 'jpeg_codec.cc', 29 'gfx/jpeg_codec.cc',
30 'jpeg_codec.h', 30 'gfx/jpeg_codec.h',
31 'png_decoder.cc', 31 'gfx/png_decoder.cc',
32 'png_decoder.h', 32 'gfx/png_decoder.h',
33 'png_encoder.cc', 33 'gfx/png_encoder.cc',
34 'png_encoder.h', 34 'gfx/png_encoder.h',
35 'point.cc', 35 'gfx/point.cc',
36 'point.h', 36 'gfx/point.h',
37 'rect.cc', 37 'gfx/rect.cc',
38 'rect.h', 38 'gfx/rect.h',
39 'size.cc', 39 'gfx/size.cc',
40 'size.h', 40 'gfx/size.h',
41 ]) 41 ])
42 42
43 if env.Bit('windows'): 43 if env.Bit('windows'):
44 input_files.Extend([ 44 input_files.Extend([
45 'native_theme.cc', 45 'gfx/native_theme.cc',
46 'native_theme.h', 46 'gfx/native_theme.h',
47 'gdi_util.cc', 47 'gfx/gdi_util.cc',
48 'gdi_util.h', 48 'gfx/gdi_util.h',
49 ]) 49 ])
50 elif env.Bit('linux'): 50 elif env.Bit('linux'):
51 input_files.Extend([ 51 input_files.Extend([
52 'gtk_util.cc', 52 'gfx/gtk_util.cc',
53 'gtk_util.h', 53 'gfx/gtk_util.h',
54 ]) 54 ])
55 55
56 env.ChromeLibrary('base_gfx', input_files) 56 env.ChromeLibrary('base_gfx', input_files)
57 57
58 p = env.ChromeMSVSProject('../build/base_gfx.vcproj', 58 p = env.ChromeMSVSProject('build/base_gfx.vcproj',
59 dest='$CHROME_SRC_DIR/base/build/base_gfx.vcproj', 59 dest='$CHROME_SRC_DIR/base/build/base_gfx.vcproj',
60 guid='{A508ADD3-CECE-4E0F-8448-2F5E454DF551}', 60 guid='{A508ADD3-CECE-4E0F-8448-2F5E454DF551}',
61 keyword='Win32Proj', 61 keyword='Win32Proj',
62 files=input_files, 62 files=input_files,
63 tools=[ 63 tools=[
64 'VCPreBuildEventTool', 64 'VCPreBuildEventTool',
65 'VCCustomBuildTool', 65 'VCCustomBuildTool',
66 'VCXMLDataGeneratorTool', 66 'VCXMLDataGeneratorTool',
67 'VCWebServiceProxyGeneratorTool', 67 'VCWebServiceProxyGeneratorTool',
68 'VCMIDLTool', 68 'VCMIDLTool',
(...skipping 17 matching lines...) Expand all
86 '../../skia/using_skia.vsprops', 86 '../../skia/using_skia.vsprops',
87 ]) 87 ])
88 88
89 p.AddConfig('Release|Win32', 89 p.AddConfig('Release|Win32',
90 ConfigurationType = '4', 90 ConfigurationType = '4',
91 InheritedPropertySheets = [ 91 InheritedPropertySheets = [
92 '$(SolutionDir)../build/release.vsprops', 92 '$(SolutionDir)../build/release.vsprops',
93 './base_gfx.vsprops', 93 './base_gfx.vsprops',
94 '../../skia/using_skia.vsprops', 94 '../../skia/using_skia.vsprops',
95 ]) 95 ])
OLDNEW
« no previous file with comments | « no previous file | base/base_lib.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698