OLD | NEW |
---|---|
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 { | 5 { |
6 'target_defaults': { | 6 'target_defaults': { |
7 'variables': { | 7 'variables': { |
8 'chrome_exe_target': 0, | 8 'chrome_exe_target': 0, |
9 }, | 9 }, |
10 'target_conditions': [ | 10 'target_conditions': [ |
11 ['chrome_exe_target==1', { | 11 ['chrome_exe_target==1', { |
12 'sources': [ | 12 'sources': [ |
13 # .cc, .h, and .mm files under app that are used on all | 13 # .cc, .h, and .mm files under app that are used on all |
14 # platforms, including both 32-bit and 64-bit Windows. | 14 # platforms, including both 32-bit and 64-bit Windows. |
15 # Test files are not included. | 15 # Test files are not included. |
16 'app/breakpad_win.cc', | 16 'app/breakpad_win.cc', |
17 'app/breakpad_win.h', | 17 'app/breakpad_win.h', |
18 'app/chrome_exe_main_gtk.cc', | 18 'app/chrome_exe_main_gtk.cc', |
19 'app/chrome_exe_main_mac.mm', | 19 'app/chrome_exe_main_mac.mm', |
20 'app/chrome_exe_main_win.cc', | 20 'app/chrome_exe_main_win.cc', |
21 'app/chrome_exe_resource.h', | 21 'app/chrome_exe_resource.h', |
22 'app/client_util.cc', | 22 'app/client_util.cc', |
23 'app/client_util.h', | 23 'app/client_util.h', |
24 'app/hard_error_handler_win.cc', | 24 'app/hard_error_handler_win.cc', |
25 'app/hard_error_handler_win.h', | 25 'app/hard_error_handler_win.h', |
26 'app/scoped_ole_initializer.h', | 26 'app/scoped_ole_initializer.h', |
27 ], | 27 ], |
28 'include_dirs': [ | |
29 '<(policy_out_dir)' | |
30 ], | |
28 'mac_bundle_resources': [ | 31 'mac_bundle_resources': [ |
29 'app/app-Info.plist', | 32 'app/app-Info.plist', |
30 ], | 33 ], |
31 # TODO(mark): Come up with a fancier way to do this. It should only | 34 # TODO(mark): Come up with a fancier way to do this. It should only |
32 # be necessary to list app-Info.plist once, not the three times it is | 35 # be necessary to list app-Info.plist once, not the three times it is |
33 # listed here. | 36 # listed here. |
34 'mac_bundle_resources!': [ | 37 'mac_bundle_resources!': [ |
35 'app/app-Info.plist', | 38 'app/app-Info.plist', |
36 ], | 39 ], |
37 'xcode_settings': { | 40 'xcode_settings': { |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
176 '<@(_outputs)', | 179 '<@(_outputs)', |
177 '-e', 's/@@NAME@@/<(name)/', | 180 '-e', 's/@@NAME@@/<(name)/', |
178 '-e', 's/@@FILENAME@@/<(filename)/', | 181 '-e', 's/@@FILENAME@@/<(filename)/', |
179 '-e', 's/@@CONFDIR@@/<(confdir)/', | 182 '-e', 's/@@CONFDIR@@/<(confdir)/', |
180 ], | 183 ], |
181 'message': 'Generating manpage' | 184 'message': 'Generating manpage' |
182 }, | 185 }, |
183 ], | 186 ], |
184 'conditions': [ | 187 'conditions': [ |
185 [ 'linux_use_tcmalloc==1', { | 188 [ 'linux_use_tcmalloc==1', { |
186 'dependencies': [ | 189 'dependenciLles': [ |
bradn
2011/01/20 17:57:02
?
danno
2011/01/24 18:14:23
Done.
danno
2011/01/24 18:14:23
Done.
| |
187 '<(allocator_target)', | 190 '<(allocator_target)', |
188 ], | 191 ], |
189 }, | 192 }, |
190 ], | 193 ], |
191 ['use_system_xdg_utils==0', { | 194 ['use_system_xdg_utils==0', { |
192 'copies': [ | 195 'copies': [ |
193 { | 196 { |
194 'destination': '<(PRODUCT_DIR)', | 197 'destination': '<(PRODUCT_DIR)', |
195 'files': ['tools/build/linux/chrome-wrapper', | 198 'files': ['tools/build/linux/chrome-wrapper', |
196 '../third_party/xdg-utils/scripts/xdg-mime', | 199 '../third_party/xdg-utils/scripts/xdg-mime', |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
436 'dependencies': [ | 439 'dependencies': [ |
437 # On Windows and Mac, make sure we've built chrome_dll, which | 440 # On Windows and Mac, make sure we've built chrome_dll, which |
438 # contains all of the library code with Chromium functionality. | 441 # contains all of the library code with Chromium functionality. |
439 'chrome_dll', | 442 'chrome_dll', |
440 ], | 443 ], |
441 }], | 444 }], |
442 ['OS=="win"', { | 445 ['OS=="win"', { |
443 'dependencies': [ | 446 'dependencies': [ |
444 'installer_util', | 447 'installer_util', |
445 'installer_util_strings', | 448 'installer_util_strings', |
449 'policy', | |
446 '../breakpad/breakpad.gyp:breakpad_handler', | 450 '../breakpad/breakpad.gyp:breakpad_handler', |
447 '../breakpad/breakpad.gyp:breakpad_sender', | 451 '../breakpad/breakpad.gyp:breakpad_sender', |
448 '../sandbox/sandbox.gyp:sandbox', | 452 '../sandbox/sandbox.gyp:sandbox', |
449 'app/locales/locales.gyp:*', | 453 'app/locales/locales.gyp:*', |
450 ], | 454 ], |
451 'msvs_settings': { | 455 'msvs_settings': { |
452 'VCLinkerTool': { | 456 'VCLinkerTool': { |
453 'ImportLibrary': '$(OutDir)\\lib\\chrome_exe.lib', | 457 'ImportLibrary': '$(OutDir)\\lib\\chrome_exe.lib', |
454 'ProgramDatabaseFile': '$(OutDir)\\chrome_exe.pdb', | 458 'ProgramDatabaseFile': '$(OutDir)\\chrome_exe.pdb', |
455 }, | 459 }, |
(...skipping 26 matching lines...) Expand all Loading... | |
482 'type': 'executable', | 486 'type': 'executable', |
483 'product_name': 'nacl64', | 487 'product_name': 'nacl64', |
484 'msvs_guid': 'BB1AE956-038B-4092-96A2-951D2B418548', | 488 'msvs_guid': 'BB1AE956-038B-4092-96A2-951D2B418548', |
485 'variables': { | 489 'variables': { |
486 'chrome_exe_target': 1, | 490 'chrome_exe_target': 1, |
487 }, | 491 }, |
488 'dependencies': [ | 492 'dependencies': [ |
489 # On Windows make sure we've built Win64 version of chrome_dll, | 493 # On Windows make sure we've built Win64 version of chrome_dll, |
490 # which contains all of the library code with Chromium | 494 # which contains all of the library code with Chromium |
491 # functionality. | 495 # functionality. |
492 'chrome_dll_nacl_win64', | |
493 'installer_util_nacl_win64', | 496 'installer_util_nacl_win64', |
494 'common_constants_win64', | 497 'common_constants_win64', |
498 'chrome_dll_nacl_win64', | |
499 'policy_win64', | |
495 '../breakpad/breakpad.gyp:breakpad_handler_win64', | 500 '../breakpad/breakpad.gyp:breakpad_handler_win64', |
496 '../breakpad/breakpad.gyp:breakpad_sender_win64', | 501 '../breakpad/breakpad.gyp:breakpad_sender_win64', |
497 '../base/base.gyp:base_nacl_win64', | 502 '../base/base.gyp:base_nacl_win64', |
498 '../chrome_frame/chrome_frame.gyp:npchrome_frame', | 503 '../chrome_frame/chrome_frame.gyp:npchrome_frame', |
499 '../sandbox/sandbox.gyp:sandbox_win64', | 504 '../sandbox/sandbox.gyp:sandbox_win64', |
500 ], | 505 ], |
501 'defines': [ | 506 'defines': [ |
502 '<@(nacl_win64_defines)', | 507 '<@(nacl_win64_defines)', |
503 ], | 508 ], |
504 'include_dirs': [ | 509 'include_dirs': [ |
505 '<(SHARED_INTERMEDIATE_DIR)/chrome', | 510 '<(SHARED_INTERMEDIATE_DIR)/chrome', |
506 ], | 511 ], |
507 'msvs_settings': { | 512 'msvs_settings': { |
508 'VCLinkerTool': { | 513 'VCLinkerTool': { |
509 'ImportLibrary': '$(OutDir)\\lib\\nacl64_exe.lib', | 514 'ImportLibrary': '$(OutDir)\\lib\\nacl64_exe.lib', |
510 'ProgramDatabaseFile': '$(OutDir)\\nacl64_exe.pdb', | 515 'ProgramDatabaseFile': '$(OutDir)\\nacl64_exe.pdb', |
511 }, | 516 }, |
512 }, | 517 }, |
513 'configurations': { | 518 'configurations': { |
514 'Common_Base': { | 519 'Common_Base': { |
515 'msvs_target_platform': 'x64', | 520 'msvs_target_platform': 'x64', |
516 }, | 521 }, |
517 }, | 522 }, |
518 }, | 523 }, |
519 ], | 524 ], |
520 }], | 525 }], |
521 ], | 526 ], |
522 } | 527 } |
OLD | NEW |