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 if env.Bit('windows'): | 9 if env.Bit('windows'): |
10 env.Append( | 10 env.Append( |
(...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
944 # Precompiled headers only work under MSVC in scons. | 944 # Precompiled headers only work under MSVC in scons. |
945 if env.Bit('windows'): | 945 if env.Bit('windows'): |
946 env_p = env.Clone() | 946 env_p = env.Clone() |
947 env_p.Append(CCFLAGS='/Ylwebcore') | 947 env_p.Append(CCFLAGS='/Ylwebcore') |
948 pch, obj = env_p.PCH('$OBJ_ROOT/webkit/build/precompiled_webkit.cc') | 948 pch, obj = env_p.PCH('$OBJ_ROOT/webkit/build/precompiled_webkit.cc') |
949 env['PCH'] = pch | 949 env['PCH'] = pch |
950 env['PCHSTOP'] = 'precompiled_webkit.h' | 950 env['PCHSTOP'] = 'precompiled_webkit.h' |
951 env.Append(CCPCHFLAGS = ['/FIprecompiled_webkit.h']) | 951 env.Append(CCPCHFLAGS = ['/FIprecompiled_webkit.h']) |
952 input_files += [obj] | 952 input_files += [obj] |
953 | 953 |
954 env.ChromeStaticLibrary('WebCore', input_files) | 954 env.ChromeLibrary('WebCore', input_files) |
955 | 955 |
956 env.ChromeMSVSProject('$WEBKIT_DIR/build/WebCore/WebCore.vcproj', | 956 env.ChromeMSVSProject('$WEBKIT_DIR/build/WebCore/WebCore.vcproj', |
957 dependencies = [ | 957 dependencies = [ |
958 '$WEBKIT_DIR/build/JSConfig/V8Config.vcproj', | 958 '$WEBKIT_DIR/build/JSConfig/V8Config.vcproj', |
959 '$WEBKIT_DIR/build/V8Bindings/V8Bindings_prebuild.vcproj', | 959 '$WEBKIT_DIR/build/V8Bindings/V8Bindings_prebuild.vcproj', |
960 '$LIBXML_DIR/build/libxml_config.vcproj', | 960 '$LIBXML_DIR/build/libxml_config.vcproj', |
961 '$LIBXSLT_DIR/build/libxslt_config.vcproj', | 961 '$LIBXSLT_DIR/build/libxslt_config.vcproj', |
962 '$SQLITE_DIR/sqlite.vcproj', | 962 '$SQLITE_DIR/sqlite.vcproj', |
963 ], | 963 ], |
964 guid='{1C16337B-ACF3-4D03-AA90-851C5B5EADA6}') | 964 guid='{1C16337B-ACF3-4D03-AA90-851C5B5EADA6}') |
OLD | NEW |