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 os | 5 import os |
6 | 6 |
7 Import(['env']) | 7 Import(['env']) |
8 | 8 |
9 env_res = env.Clone() | 9 env_res = env.Clone() |
10 env_test = env.Clone() | 10 env_test = env.Clone() |
11 env = env.Clone() | 11 env = env.Clone() |
12 | 12 |
13 install_targets = [] | 13 install_targets = [] |
14 grit_files = [] | 14 grit_files = [] |
15 | 15 |
16 | 16 |
17 env.Prepend( | 17 env.Prepend( |
18 CPPPATH = [ | 18 CPPPATH = [ |
19 'app', | 19 'app', |
20 '$CHROME_DIR/third_party/wtl/include', | 20 '$CHROME_DIR/third_party/wtl/include', |
21 ], | 21 ], |
22 ) | 22 ) |
23 | 23 |
24 | 24 |
25 # TODO(port) | 25 # TODO(port) |
26 if env_res['PLATFORM'] == 'win32': | 26 if env_res['PLATFORM'] == 'win32': |
27 env_res.Append( | 27 env_res.Append( |
28 CPPDEFINES = [ | |
29 'GOOGLE_CHROME_BUILD', | |
30 ], | |
31 CPPPATH = [ | 28 CPPPATH = [ |
32 '.', | 29 '.', |
33 '$CHROME_SRC_DIR', | 30 '$CHROME_SRC_DIR', |
34 # For app/chrome_dll.res to #include installer_util_strings.rc. | 31 # For app/chrome_dll.res to #include installer_util_strings.rc. |
35 '$CHROME_DIR/installer/util', | 32 '$CHROME_DIR/installer/util', |
36 ], | 33 ], |
37 RCFLAGS = [ | 34 RCFLAGS = [ |
38 ['/l', '0x409'], | 35 ['/l', '0x409'], |
39 ], | 36 ], |
40 ) | 37 ) |
(...skipping 27 matching lines...) Expand all Loading... |
68 ]) | 65 ]) |
69 | 66 |
70 env_dll.Prepend( | 67 env_dll.Prepend( |
71 CPPPATH = [ | 68 CPPPATH = [ |
72 "..", | 69 "..", |
73 ], | 70 ], |
74 CPPDEFINES = [ | 71 CPPDEFINES = [ |
75 'U_STATIC_IMPLEMENTATION', | 72 'U_STATIC_IMPLEMENTATION', |
76 'PNG_USER_CONFIG', | 73 'PNG_USER_CONFIG', |
77 'CHROME_PNG_WRITE_SUPPORT', | 74 'CHROME_PNG_WRITE_SUPPORT', |
78 'GOOGLE_CHROME_BUILD', | |
79 'LIBXSLT_STATIC', | 75 'LIBXSLT_STATIC', |
80 'LIBXML_STATIC', | 76 'LIBXML_STATIC', |
81 '_WINDLL', | 77 '_WINDLL', |
82 'BROWSER_DLL', | 78 'BROWSER_DLL', |
83 'RENDERER_DLL', | 79 'RENDERER_DLL', |
84 'PLUGIN_DLL', | 80 'PLUGIN_DLL', |
85 ], | 81 ], |
86 CCFLAGS = [ | 82 CCFLAGS = [ |
87 '/TP', | 83 '/TP', |
88 '/Wp64', | 84 '/Wp64', |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 ] | 403 ] |
408 | 404 |
409 # TODO(port) | 405 # TODO(port) |
410 if env['PLATFORM'] == 'win32': | 406 if env['PLATFORM'] == 'win32': |
411 env.Install('$DESTINATION_ROOT/plugins/gears', gears_plugins) | 407 env.Install('$DESTINATION_ROOT/plugins/gears', gears_plugins) |
412 | 408 |
413 env.Command('$DESTINATION_ROOT/resources/inspector', | 409 env.Command('$DESTINATION_ROOT/resources/inspector', |
414 '$CHROME_SRC_DIR/third_party/WebKit/WebCore/inspector/front-end', | 410 '$CHROME_SRC_DIR/third_party/WebKit/WebCore/inspector/front-end', |
415 Copy('$TARGET', '$SOURCE'), | 411 Copy('$TARGET', '$SOURCE'), |
416 source_scanner=DirScanner) | 412 source_scanner=DirScanner) |
OLD | NEW |