OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'test_shell_windows_resource_files': [ | 8 'test_shell_windows_resource_files': [ |
9 'resources/test_shell.rc', | 9 'resources/test_shell.rc', |
10 'resources/pan_east.cur', | 10 'resources/pan_east.cur', |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 '../../../third_party/WebKit/WebKit/chromium/WebKit.gyp:webkit', | 127 '../../../third_party/WebKit/WebKit/chromium/WebKit.gyp:webkit', |
128 '../../webkit.gyp:glue', | 128 '../../webkit.gyp:glue', |
129 ], | 129 ], |
130 'conditions': [ | 130 'conditions': [ |
131 # http://code.google.com/p/chromium/issues/detail?id=18337 | 131 # http://code.google.com/p/chromium/issues/detail?id=18337 |
132 ['target_arch!="x64" and target_arch!="arm"', { | 132 ['target_arch!="x64" and target_arch!="arm"', { |
133 'dependencies': [ | 133 'dependencies': [ |
134 'npapi_test_plugin', | 134 'npapi_test_plugin', |
135 ], | 135 ], |
136 }], | 136 }], |
137 ['OS=="linux"', { | 137 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
138 'dependencies': [ | 138 'dependencies': [ |
139 'test_shell_resources', | 139 'test_shell_resources', |
140 '../../../build/linux/system.gyp:gtk', | 140 '../../../build/linux/system.gyp:gtk', |
141 '../../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 141 '../../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
142 ], | 142 ], |
143 # for: test_shell_gtk.cc | 143 # for: test_shell_gtk.cc |
144 'cflags': ['-Wno-multichar'], | 144 'cflags': ['-Wno-multichar'], |
145 }, { # else: OS!=linux | 145 }, { # else: OS!=linux |
146 'sources/': [ | 146 'sources/': [ |
147 ['exclude', '_gtk\\.cc$'], | 147 ['exclude', '_gtk\\.cc$'], |
148 ['exclude', '_x11\\.cc$'], | 148 ['exclude', '_x11\\.cc$'], |
149 ], | 149 ], |
150 }], | 150 }], |
151 ['OS=="linux"', { | 151 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
152 # See below TODO in the Windows branch. | 152 # See below TODO in the Windows branch. |
153 'copies': [ | 153 'copies': [ |
154 { | 154 { |
155 'destination': '<(PRODUCT_DIR)/plugins', | 155 'destination': '<(PRODUCT_DIR)/plugins', |
156 'files': ['<(PRODUCT_DIR)/libnpapi_layout_test_plugin.so'], | 156 'files': ['<(PRODUCT_DIR)/libnpapi_layout_test_plugin.so'], |
157 }, | 157 }, |
158 ], | 158 ], |
159 }], | 159 }], |
160 ['OS!="mac"', { | 160 ['OS!="mac"', { |
161 'sources/': [ | 161 'sources/': [ |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 ], | 205 ], |
206 }, | 206 }, |
207 { | 207 { |
208 'target_name': 'test_shell_pak', | 208 'target_name': 'test_shell_pak', |
209 'type': 'none', | 209 'type': 'none', |
210 'variables': { | 210 'variables': { |
211 'repack_path': '../../../tools/data_pack/repack.py', | 211 'repack_path': '../../../tools/data_pack/repack.py', |
212 'pak_path': '<(INTERMEDIATE_DIR)/repack/test_shell.pak', | 212 'pak_path': '<(INTERMEDIATE_DIR)/repack/test_shell.pak', |
213 }, | 213 }, |
214 'conditions': [ | 214 'conditions': [ |
215 ['OS=="linux"', { | 215 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
216 'actions': [ | 216 'actions': [ |
217 { | 217 { |
218 'action_name': 'test_shell_repack', | 218 'action_name': 'test_shell_repack', |
219 'variables': { | 219 'variables': { |
220 'pak_inputs': [ | 220 'pak_inputs': [ |
221 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', | 221 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', |
222 '<(SHARED_INTERMEDIATE_DIR)/test_shell/test_shell_resources.pa
k', | 222 '<(SHARED_INTERMEDIATE_DIR)/test_shell/test_shell_resources.pa
k', |
223 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak', | 223 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak', |
224 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak', | 224 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak', |
225 ], | 225 ], |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 # TODO: It would be nice to have these pulled in | 288 # TODO: It would be nice to have these pulled in |
289 # automatically from direct_dependent_settings in | 289 # automatically from direct_dependent_settings in |
290 # their various targets (net.gyp:net_resources, etc.), | 290 # their various targets (net.gyp:net_resources, etc.), |
291 # but that causes errors in other targets when | 291 # but that causes errors in other targets when |
292 # resulting .res files get referenced multiple times. | 292 # resulting .res files get referenced multiple times. |
293 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', | 293 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', |
294 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', | 294 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', |
295 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc', | 295 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc', |
296 ], | 296 ], |
297 }], | 297 }], |
298 ['OS=="linux"', { | 298 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
299 'conditions': [ | 299 'conditions': [ |
300 ['linux_use_tcmalloc==1', { | 300 ['linux_use_tcmalloc==1', { |
301 'dependencies': [ | 301 'dependencies': [ |
302 '../../../base/allocator/allocator.gyp:allocator', | 302 '../../../base/allocator/allocator.gyp:allocator', |
303 ], | 303 ], |
304 }], | 304 }], |
305 ], | 305 ], |
306 'dependencies': [ | 306 'dependencies': [ |
307 '../../../build/linux/system.gyp:gtk', | 307 '../../../build/linux/system.gyp:gtk', |
308 'test_shell_resources', | 308 'test_shell_resources', |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 'test_shell_test.h', | 438 'test_shell_test.h', |
439 'text_input_controller_unittest.cc', | 439 'text_input_controller_unittest.cc', |
440 ], | 440 ], |
441 'conditions': [ | 441 'conditions': [ |
442 ['OS=="win"', { | 442 ['OS=="win"', { |
443 'resource_include_dirs': [ | 443 'resource_include_dirs': [ |
444 '<(SHARED_INTERMEDIATE_DIR)/webkit', | 444 '<(SHARED_INTERMEDIATE_DIR)/webkit', |
445 ], | 445 ], |
446 'sources': [ '<@(test_shell_windows_resource_files)' ], | 446 'sources': [ '<@(test_shell_windows_resource_files)' ], |
447 }], | 447 }], |
448 ['OS=="linux"', { | 448 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
449 'dependencies': [ | 449 'dependencies': [ |
450 'test_shell_pak', | 450 'test_shell_pak', |
451 '../../../build/linux/system.gyp:gtk', | 451 '../../../build/linux/system.gyp:gtk', |
452 ], | 452 ], |
453 'sources!': [ | 453 'sources!': [ |
454 # TODO(port) | 454 # TODO(port) |
455 '../../../skia/ext/platform_canvas_unittest.cc', | 455 '../../../skia/ext/platform_canvas_unittest.cc', |
456 ], | 456 ], |
457 }], | 457 }], |
458 ['OS=="mac"', { | 458 ['OS=="mac"', { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 }], | 550 }], |
551 ['OS=="mac"', { | 551 ['OS=="mac"', { |
552 'product_name': 'TestNetscapePlugIn', | 552 'product_name': 'TestNetscapePlugIn', |
553 'product_extension': 'plugin', | 553 'product_extension': 'plugin', |
554 'link_settings': { | 554 'link_settings': { |
555 'libraries': [ | 555 'libraries': [ |
556 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', | 556 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', |
557 ], | 557 ], |
558 }, | 558 }, |
559 }], | 559 }], |
560 ['OS=="linux" and (target_arch=="x64" or target_arch=="arm")', { | 560 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd") and (target_arch=="x64
" or target_arch=="arm")', { |
561 # Shared libraries need -fPIC on x86-64 | 561 # Shared libraries need -fPIC on x86-64 |
562 'cflags': ['-fPIC'] | 562 'cflags': ['-fPIC'] |
563 }], | 563 }], |
564 ], | 564 ], |
565 }, | 565 }, |
566 ], | 566 ], |
567 'conditions': [ | 567 'conditions': [ |
568 ['target_arch!="x64" and target_arch!="arm"', { | 568 ['target_arch!="x64" and target_arch!="arm"', { |
569 'targets': [ | 569 'targets': [ |
570 { | 570 { |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', | 652 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', |
653 ], | 653 ], |
654 }, | 654 }, |
655 }], | 655 }], |
656 ['OS=="linux"', { | 656 ['OS=="linux"', { |
657 'sources!': [ | 657 'sources!': [ |
658 # Needs simple event record type porting | 658 # Needs simple event record type porting |
659 '../../glue/plugins/test/plugin_windowless_test.cc', | 659 '../../glue/plugins/test/plugin_windowless_test.cc', |
660 ], | 660 ], |
661 }], | 661 }], |
662 ['OS=="linux" and (target_arch=="x64" or target_arch=="arm")', { | 662 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd") and (target_arch==
"x64" or target_arch=="arm")', { |
663 # Shared libraries need -fPIC on x86-64 | 663 # Shared libraries need -fPIC on x86-64 |
664 'cflags': ['-fPIC'] | 664 'cflags': ['-fPIC'] |
665 }], | 665 }], |
666 ], | 666 ], |
667 }, | 667 }, |
668 ], | 668 ], |
669 }], | 669 }], |
670 ['OS=="linux"', { | 670 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
671 'targets': [ | 671 'targets': [ |
672 { | 672 { |
673 'target_name': 'test_shell_resources', | 673 'target_name': 'test_shell_resources', |
674 'type': 'none', | 674 'type': 'none', |
675 'actions': [ | 675 'actions': [ |
676 { | 676 { |
677 'action_name': 'test_shell_resources', | 677 'action_name': 'test_shell_resources', |
678 'variables': { | 678 'variables': { |
679 'grit_path': '../../../tools/grit/grit.py', | 679 'grit_path': '../../../tools/grit/grit.py', |
680 'input_path': './test_shell_resources.grd', | 680 'input_path': './test_shell_resources.grd', |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
731 ], | 731 ], |
732 }], | 732 }], |
733 ], | 733 ], |
734 } | 734 } |
735 | 735 |
736 # Local Variables: | 736 # Local Variables: |
737 # tab-width:2 | 737 # tab-width:2 |
738 # indent-tabs-mode:nil | 738 # indent-tabs-mode:nil |
739 # End: | 739 # End: |
740 # vim: set expandtab tabstop=2 shiftwidth=2: | 740 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |