OLD | NEW |
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 '#..', | 16 '$ROOT_DIR', |
17 ], | 17 ], |
18 ) | 18 ) |
19 | 19 |
20 env.Append( | 20 env.Append( |
21 CPPDEFINES = [ | 21 CPPDEFINES = [ |
22 'SKIA_DISABLE_SUPPORT_FOR_DECODERS', | 22 'SKIA_DISABLE_SUPPORT_FOR_DECODERS', |
23 ], | 23 ], |
24 ) | 24 ) |
25 | 25 |
26 if env['PLATFORM'] == 'win32': | 26 if env['PLATFORM'] == 'win32': |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 # in the skia directory. | 170 # in the skia directory. |
171 # TODO(bradnelson): This step creates a skia.pch.ib_tag file to be created. | 171 # TODO(bradnelson): This step creates a skia.pch.ib_tag file to be created. |
172 # It's a 0-length file so likely harmless. Is this a side effect of having | 172 # It's a 0-length file so likely harmless. Is this a side effect of having |
173 # IncrediBuild installed on the build machine? | 173 # IncrediBuild installed on the build machine? |
174 pch, obj = env_p.PCH(['skia.pch', 'precompiled.obj'], 'precompiled.cc') | 174 pch, obj = env_p.PCH(['skia.pch', 'precompiled.obj'], 'precompiled.cc') |
175 env_p['PCH'] = pch | 175 env_p['PCH'] = pch |
176 input_files += [obj] | 176 input_files += [obj] |
177 | 177 |
178 env.ChromeStaticLibrary('skia', input_files) | 178 env.ChromeStaticLibrary('skia', input_files) |
179 | 179 |
OLD | NEW |