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 | 9 |
10 cygwin = env.Dir('$CHROME_SRC_DIR/third_party/cygwin/bin') | 10 cygwin = env.Dir('$CHROME_SRC_DIR/third_party/cygwin/bin') |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 '$JAVASCRIPTCORE_DIR/runtime/ByteArray.cpp', | 149 '$JAVASCRIPTCORE_DIR/runtime/ByteArray.cpp', |
150 '$WTF_DIR/Assertions.cpp', | 150 '$WTF_DIR/Assertions.cpp', |
151 '$WTF_DIR/CurrentTime.cpp', | 151 '$WTF_DIR/CurrentTime.cpp', |
152 '$WTF_DIR/dtoa.cpp', | 152 '$WTF_DIR/dtoa.cpp', |
153 '$WTF_DIR/FastMalloc.cpp', | 153 '$WTF_DIR/FastMalloc.cpp', |
154 '$WTF_DIR/HashTable.cpp', | 154 '$WTF_DIR/HashTable.cpp', |
155 '$WTF_DIR/MainThread.cpp', | 155 '$WTF_DIR/MainThread.cpp', |
156 '$WTF_DIR/RandomNumber.cpp', | 156 '$WTF_DIR/RandomNumber.cpp', |
157 '$WTF_DIR/RefCountedLeakCounter.cpp', | 157 '$WTF_DIR/RefCountedLeakCounter.cpp', |
158 '$WTF_DIR/TCSystemAlloc.cpp', | 158 '$WTF_DIR/TCSystemAlloc.cpp', |
159 '$WTF_DIR/Threading.cpp', | |
160 '$WTF_DIR/unicode/UTF8.cpp', | 159 '$WTF_DIR/unicode/UTF8.cpp', |
161 '$WTF_DIR/unicode/icu/CollatorICU.cpp', | 160 '$WTF_DIR/unicode/icu/CollatorICU.cpp', |
162 ] | 161 ] |
163 | 162 |
164 if env.Bit('windows'): | 163 if env.Bit('windows'): |
165 wtf_inputs.extend([ | 164 wtf_inputs.extend([ |
166 '$WTF_DIR/ThreadingWin.cpp', | 165 '$WTF_DIR/ThreadingWin.cpp', |
167 '$WTF_DIR/ThreadSpecificWin.cpp', | 166 '$WTF_DIR/ThreadSpecificWin.cpp', |
168 ]) | 167 ]) |
169 elif env.Bit('linux'): | 168 elif env.Bit('linux'): |
170 wtf_inputs.extend([ | 169 wtf_inputs.extend([ |
171 '$WTF_DIR/gtk/MainThreadGtk.cpp', | 170 '$WTF_DIR/gtk/MainThreadGtk.cpp', |
172 '$WTF_DIR/ThreadingPthreads.cpp', | 171 '$WTF_DIR/ThreadingPthreads.cpp', |
173 ]) | 172 ]) |
174 | 173 |
175 # Re-add the include path for glib.h because it got lost when cloning the | 174 # Re-add the include path for glib.h because it got lost when cloning the |
176 # environment. | 175 # environment. |
177 env.ParseConfig('pkg-config --cflags --libs glib-2.0') | 176 env.ParseConfig('pkg-config --cflags --libs glib-2.0') |
178 | 177 |
179 | 178 |
180 env.ChromeLibrary('WTF', wtf_inputs) | 179 env.ChromeLibrary('WTF', wtf_inputs) |
181 | 180 |
182 env.ChromeMSVSProject('$WEBKIT_DIR/build/JavaScriptCore/WTF.vcproj', | 181 env.ChromeMSVSProject('$WEBKIT_DIR/build/JavaScriptCore/WTF.vcproj', |
183 guid='{AA8A5A85-592B-4357-BC60-E0E91E026AF6}') | 182 guid='{AA8A5A85-592B-4357-BC60-E0E91E026AF6}') |
OLD | NEW |