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

Side by Side Diff: skia/SConscript

Issue 16263: Make Skia build as a dynamic library by fixing up the imports. (Closed)
Patch Set: Created 11 years, 12 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
« no previous file with comments | « no previous file | skia/ports/SkImageDecoder_Factory.cpp » ('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 Import('env') 5 Import('env')
6 6
7 env = env.Clone() 7 env = env.Clone()
8 8
9 env.Prepend( 9 env.Prepend(
10 CPPPATH = [ 10 CPPPATH = [
11 'include', 11 'include',
12 'include/corecg', 12 'include/corecg',
13 'corecg', 13 'corecg',
14 'sgl', 14 'sgl',
15 'picture', 15 'picture',
16 '$CHROME_SRC_DIR', 16 '$CHROME_SRC_DIR',
17 ], 17 ],
18 ) 18 )
19 19
20 env.Append( 20 env.Append(
21 CPPDEFINES = [ 21 CPPDEFINES = [
22 'SKIA_DISABLE_SUPPORT_FOR_DECODERS', 22 'SK_BUILD_NO_IMAGE_ENCODE',
23 ], 23 ],
24 ) 24 )
25 25
26 if env.Bit('windows'): 26 if env.Bit('windows'):
27 env.Append( 27 env.Append(
28 CCFLAGS = [ 28 CCFLAGS = [
29 '/TP', 29 '/TP',
30 30
31 '/wd4244', 31 '/wd4244',
32 '/wd4267', 32 '/wd4267',
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 'sgl/SkSpriteBlitter_RGB16.cpp', 296 'sgl/SkSpriteBlitter_RGB16.cpp',
297 'sgl/SkSpriteBlitterTemplate.h', 297 'sgl/SkSpriteBlitterTemplate.h',
298 'sgl/SkString.cpp', 298 'sgl/SkString.cpp',
299 'sgl/SkStroke.cpp', 299 'sgl/SkStroke.cpp',
300 'sgl/SkStrokerPriv.cpp', 300 'sgl/SkStrokerPriv.cpp',
301 'sgl/SkStrokerPriv.h', 301 'sgl/SkStrokerPriv.h',
302 'sgl/SkTemplatesPriv.h', 302 'sgl/SkTemplatesPriv.h',
303 'sgl/SkTSearch.cpp', 303 'sgl/SkTSearch.cpp',
304 'sgl/SkTSort.h', 304 'sgl/SkTSort.h',
305 'sgl/SkTypeface_fake.cpp', 305 'sgl/SkTypeface_fake.cpp',
306 'sgl/SkUnPreMultiply.cpp',
306 'sgl/SkUtils.cpp', 307 'sgl/SkUtils.cpp',
307 'sgl/SkWriter32.cpp', 308 'sgl/SkWriter32.cpp',
308 'sgl/SkXfermode.cpp', 309 'sgl/SkXfermode.cpp',
309 ]), 310 ]),
310 311
311 MSVSFilter('ports', [ 312 MSVSFilter('ports', [
312 'ports/sk_predefined_gamma.h', 313 'ports/sk_predefined_gamma.h',
313 'ports/SkFontHost_none.cpp', 314 'ports/SkFontHost_none.cpp',
314 'ports/SkGlobals_global.cpp', 315 'ports/SkGlobals_global.cpp',
315 'ports/SkImageDecoder_Factory.cpp', 316 'ports/SkImageDecoder_Factory.cpp',
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 input_files.append('ports/SkFontHost_FreeType.cpp') 409 input_files.append('ports/SkFontHost_FreeType.cpp')
409 input_files.append('ports/SkFontHost_TrueType_Tables.cpp') 410 input_files.append('ports/SkFontHost_TrueType_Tables.cpp')
410 input_files.append('ports/SkFontHost_gamma_none.cpp') 411 input_files.append('ports/SkFontHost_gamma_none.cpp')
411 input_files.append('ports/SkFontHost_fontconfig.cpp') 412 input_files.append('ports/SkFontHost_fontconfig.cpp')
412 input_files.append('images/SkMMapStream.cpp') 413 input_files.append('images/SkMMapStream.cpp')
413 414
414 env.Append(CCFLAGS = ['-Wno-unused-function']) 415 env.Append(CCFLAGS = ['-Wno-unused-function'])
415 416
416 if env.Bit('posix'): 417 if env.Bit('posix'):
417 input_files.append('ports/SkThread_pthread.cpp') 418 input_files.append('ports/SkThread_pthread.cpp')
419 input_files.append('ports/SkTime_Unix.cpp')
418 420
419 if env.Bit('mac'): 421 if env.Bit('mac'):
420 input_files.append('ext/bitmap_platform_device_mac.cc') 422 input_files.append('ext/bitmap_platform_device_mac.cc')
421 input_files.append('ext/platform_canvas_mac.cc') 423 input_files.append('ext/platform_canvas_mac.cc')
422 input_files.append('ext/platform_device_mac.cc') 424 input_files.append('ext/platform_device_mac.cc')
423 425
424 if not env.Bit('windows'): 426 if not env.Bit('windows'):
425 input_files.Remove( 427 input_files.Remove(
426 'ext/bitmap_platform_device_win.cc', 428 'ext/bitmap_platform_device_win.cc',
427 'ext/bitmap_platform_device_win.h', 429 'ext/bitmap_platform_device_win.h',
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 ExcludedFromBuild='true', 509 ExcludedFromBuild='true',
508 tools=[ 510 tools=[
509 MSVSTool('VCCLCompilerTool'), 511 MSVSTool('VCCLCompilerTool'),
510 ]) 512 ])
511 513
512 env.AlwaysBuild(p) 514 env.AlwaysBuild(p)
513 515
514 i = env.Command('$CHROME_SRC_DIR/skia/skia.vcproj', p, 516 i = env.Command('$CHROME_SRC_DIR/skia/skia.vcproj', p,
515 Copy('$TARGET', '$SOURCE')) 517 Copy('$TARGET', '$SOURCE'))
516 Alias('msvs', i) 518 Alias('msvs', i)
OLDNEW
« no previous file with comments | « no previous file | skia/ports/SkImageDecoder_Factory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698