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['PLATFORM'] == 'win32': | 9 if env.Bit('windows'): |
10 env.Prepend( | 10 env.Prepend( |
11 CPPDEFINES = [ | 11 CPPDEFINES = [ |
12 'NOGDI', | 12 'NOGDI', |
13 ], | 13 ], |
14 | 14 |
15 CCFLAGS = [ | 15 CCFLAGS = [ |
16 '/TP', | 16 '/TP', |
17 | 17 |
18 '/wd4291', | 18 '/wd4291', |
19 '/wd4099', | 19 '/wd4099', |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 '$PORT_DIR/bindings/v8/v8_nodefilter.cpp', | 337 '$PORT_DIR/bindings/v8/v8_nodefilter.cpp', |
338 '$PORT_DIR/bindings/v8/v8_np_utils.cpp', | 338 '$PORT_DIR/bindings/v8/v8_np_utils.cpp', |
339 '$PORT_DIR/bindings/v8/v8_npobject.cpp', | 339 '$PORT_DIR/bindings/v8/v8_npobject.cpp', |
340 '$PORT_DIR/bindings/v8/v8_proxy.cpp', | 340 '$PORT_DIR/bindings/v8/v8_proxy.cpp', |
341 '$PORT_DIR/bindings/v8/v8_vectornodelist.cpp', | 341 '$PORT_DIR/bindings/v8/v8_vectornodelist.cpp', |
342 '$PORT_DIR/bindings/v8/V8MessagePortCustom.cpp', | 342 '$PORT_DIR/bindings/v8/V8MessagePortCustom.cpp', |
343 '$PORT_DIR/bindings/v8/V8XMLHttpRequestCustom.cpp', | 343 '$PORT_DIR/bindings/v8/V8XMLHttpRequestCustom.cpp', |
344 '$PORT_DIR/page/inspector/InspectorController.cpp', | 344 '$PORT_DIR/page/inspector/InspectorController.cpp', |
345 ] | 345 ] |
346 | 346 |
347 if env['PLATFORM'] == 'win32': | 347 if env.Bit('windows'): |
348 inputs.append('precompiled_v8bindings.cpp') | 348 inputs.append('precompiled_v8bindings.cpp') |
349 | 349 |
350 env.ChromeStaticLibrary('V8Bindings', inputs) | 350 env.ChromeStaticLibrary('V8Bindings', inputs) |
OLD | NEW |