OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'variables' : { | 5 'variables' : { |
6 'chromedriver_unittest_sources': [ | 6 'chromedriver_unittest_sources': [ |
7 'test/chromedriver/capabilities_unittest.cc', | 7 'test/chromedriver/capabilities_unittest.cc', |
8 'test/chromedriver/chrome/chrome_finder_unittest.cc', | 8 'test/chromedriver/chrome/chrome_finder_unittest.cc', |
9 'test/chromedriver/chrome/console_logger_unittest.cc', | 9 'test/chromedriver/chrome/console_logger_unittest.cc', |
10 'test/chromedriver/chrome/device_manager_unittest.cc', | 10 'test/chromedriver/chrome/device_manager_unittest.cc', |
(...skipping 2593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2604 }], | 2604 }], |
2605 ['toolkit_views==1', { | 2605 ['toolkit_views==1', { |
2606 'dependencies': [ | 2606 'dependencies': [ |
2607 '../ui/views/views.gyp:views', | 2607 '../ui/views/views.gyp:views', |
2608 ], | 2608 ], |
2609 }], | 2609 }], |
2610 ], | 2610 ], |
2611 }, | 2611 }, |
2612 { | 2612 { |
2613 # Documentation: http://dev.chromium.org/developers/testing/pyauto | 2613 # Documentation: http://dev.chromium.org/developers/testing/pyauto |
| 2614 # Deprecated. Do not add additional dependencies. |
2614 'target_name': 'pyautolib', | 2615 'target_name': 'pyautolib', |
2615 'conditions': [ | 2616 'conditions': [ |
2616 ['enable_automation==1 and (OS=="mac" or ((OS=="win" or os_posix==1) and
target_arch==python_arch))', { | 2617 ['enable_automation==1 and OS=="linux" and target_arch==python_arch', { |
2617 'type': 'loadable_module', | 2618 'type': 'loadable_module', |
2618 'product_prefix': '_', | 2619 'product_prefix': '_', |
2619 'dependencies': [ | 2620 'dependencies': [ |
2620 'chrome', | 2621 'chrome', |
2621 'chrome_resources.gyp:chrome_resources', | 2622 'chrome_resources.gyp:chrome_resources', |
2622 'chrome_resources.gyp:chrome_strings', | 2623 'chrome_resources.gyp:chrome_strings', |
2623 'chrome_resources.gyp:theme_resources', | 2624 'chrome_resources.gyp:theme_resources', |
2624 'debugger', | 2625 'debugger', |
2625 'test_support_common', | 2626 'test_support_common', |
2626 '../skia/skia.gyp:skia', | 2627 '../skia/skia.gyp:skia', |
2627 '../sync/sync.gyp:sync', | 2628 '../sync/sync.gyp:sync', |
2628 '../testing/gtest.gyp:gtest', | 2629 '../testing/gtest.gyp:gtest', |
2629 ], | 2630 ], |
2630 'export_dependent_settings': [ | 2631 'export_dependent_settings': [ |
2631 'test_support_common', | 2632 'test_support_common', |
2632 ], | 2633 ], |
2633 'include_dirs': [ | 2634 'include_dirs': [ |
2634 '..', | 2635 '..', |
| 2636 '<(sysroot)/usr/include/python<(python_ver)', |
2635 ], | 2637 ], |
| 2638 'link_settings': { |
| 2639 'libraries': [ |
| 2640 '-lpython<(python_ver)', |
| 2641 ], |
| 2642 }, |
2636 'cflags': [ | 2643 'cflags': [ |
2637 '-Wno-uninitialized', | 2644 '-Wno-uninitialized', |
2638 '-Wno-self-assign', # to keep clang happy for generated code. | 2645 '-Wno-self-assign', # to keep clang happy for generated code. |
2639 ], | 2646 ], |
2640 'sources': [ | 2647 'sources': [ |
2641 'test/automation/proxy_launcher.cc', | 2648 'test/automation/proxy_launcher.cc', |
2642 'test/automation/proxy_launcher.h', | 2649 'test/automation/proxy_launcher.h', |
2643 'test/pyautolib/pyautolib.cc', | 2650 'test/pyautolib/pyautolib.cc', |
2644 'test/pyautolib/pyautolib.h', | 2651 'test/pyautolib/pyautolib.h', |
2645 'test/ui/ui_test.cc', | 2652 'test/ui/ui_test.cc', |
2646 'test/ui/ui_test.h', | 2653 'test/ui/ui_test.h', |
2647 'test/ui/ui_test_suite.cc', | 2654 'test/ui/ui_test_suite.cc', |
2648 'test/ui/ui_test_suite.h', | 2655 'test/ui/ui_test_suite.h', |
2649 '<(INTERMEDIATE_DIR)/pyautolib_wrap.cc', | 2656 '<(INTERMEDIATE_DIR)/pyautolib_wrap.cc', |
2650 '<@(pyautolib_sources)', | 2657 '<@(pyautolib_sources)', |
2651 ], | 2658 ], |
2652 'xcode_settings': { | |
2653 # Link with python2.6. Using -L/usr/lib and -lpython2.6 does not | |
2654 # work with the -isysroot argument passed in. Even if it did, | |
2655 # the linker shouldn't use any other lib not in the 10.5 sdk. | |
2656 'OTHER_LDFLAGS': [ | |
2657 '/usr/lib/libpython2.6.dylib' | |
2658 ], | |
2659 'WARNING_CFLAGS': [ | |
2660 # swig creates code with self assignments. | |
2661 '-Wno-self-assign', | |
2662 ], | |
2663 }, | |
2664 'msvs_disabled_warnings': [4211], | |
2665 'conditions': [ | 2659 'conditions': [ |
2666 # Disable the type profiler. _POSIX_C_SOURCE and _XOPEN_SOURCE | 2660 # Disable the type profiler. _POSIX_C_SOURCE and _XOPEN_SOURCE |
2667 # conflict between <Python.h> and <typeinfo>. | 2661 # conflict between <Python.h> and <typeinfo>. |
2668 ['OS=="linux" and clang_type_profiler==1', { | 2662 ['clang_type_profiler==1', { |
2669 'cflags_cc!': [ | 2663 'cflags_cc!': [ |
2670 '-fintercept-allocation-functions', | 2664 '-fintercept-allocation-functions', |
2671 ], | 2665 ], |
2672 }], | 2666 }], |
2673 ['os_posix == 1 and OS!="mac"', { | |
2674 'include_dirs': [ | |
2675 '..', | |
2676 '<(sysroot)/usr/include/python<(python_ver)', | |
2677 ], | |
2678 'link_settings': { | |
2679 'libraries': [ | |
2680 '-lpython<(python_ver)', | |
2681 ], | |
2682 }, | |
2683 }], | |
2684 ['toolkit_uses_gtk == 1', { | 2667 ['toolkit_uses_gtk == 1', { |
2685 'dependencies': [ | 2668 'dependencies': [ |
2686 '../build/linux/system.gyp:gtk', | 2669 '../build/linux/system.gyp:gtk', |
2687 ], | 2670 ], |
2688 }], | 2671 }], |
2689 ['OS=="mac"', { | |
2690 'include_dirs': [ | |
2691 '..', | |
2692 '/usr/include/python2.6', | |
2693 ], | |
2694 }], | |
2695 ['OS=="win"', { | |
2696 'product_extension': 'pyd', | |
2697 'include_dirs': [ | |
2698 '..', | |
2699 '../third_party/python_26/include', | |
2700 ], | |
2701 'msvs_settings': { | |
2702 'VCLinkerTool': { | |
2703 'AdditionalLibraryDirectories': [ | |
2704 '<(DEPTH)/third_party/python_26/libs', | |
2705 ], | |
2706 'AdditionalDependencies': [ | |
2707 'python26.lib', | |
2708 ], | |
2709 }, | |
2710 } | |
2711 }], | |
2712 ['asan==1', { | 2672 ['asan==1', { |
2713 'cflags!': [ '-fsanitize=address' ], | 2673 'cflags!': [ '-fsanitize=address' ], |
2714 'xcode_settings': { 'OTHER_CFLAGS!': [ '-fsanitize=address' ] }, | |
2715 }], | 2674 }], |
2716 ], | 2675 ], |
2717 'actions': [ | 2676 'actions': [ |
2718 { | 2677 { |
2719 'variables' : { | 2678 'variables' : { |
2720 'swig_args': [ '-I..', | 2679 'swig_args': [ '-I..', |
2721 '-python', | 2680 '-python', |
2722 '-c++', | 2681 '-c++', |
2723 '-threads', | 2682 '-threads', |
2724 '-outdir', | 2683 '-outdir', |
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3263 'utility', | 3222 'utility', |
3264 ], | 3223 ], |
3265 'sources': [ | 3224 'sources': [ |
3266 'tools/service_discovery_sniffer/service_discovery_sniffer.h', | 3225 'tools/service_discovery_sniffer/service_discovery_sniffer.h', |
3267 'tools/service_discovery_sniffer/service_discovery_sniffer.cc', | 3226 'tools/service_discovery_sniffer/service_discovery_sniffer.cc', |
3268 ], | 3227 ], |
3269 }] | 3228 }] |
3270 }], | 3229 }], |
3271 ], # 'conditions' | 3230 ], # 'conditions' |
3272 } | 3231 } |
OLD | NEW |