OLD | NEW |
1 # Copyright 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 2012 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 'targets': [ | 5 'targets': [ |
6 { | 6 { |
7 # This target contains mocks and test utilities that don't belong in | 7 # This target contains mocks and test utilities that don't belong in |
8 # production libraries but are used by more than one test executable. | 8 # production libraries but are used by more than one test executable. |
9 'target_name': 'test_support_common', | 9 'target_name': 'test_support_common', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 'chrome_resources.gyp:chrome_strings', | 482 'chrome_resources.gyp:chrome_strings', |
483 ], | 483 ], |
484 # TODO(joi): Remove this section once the google_apis tests are | 484 # TODO(joi): Remove this section once the google_apis tests are |
485 # a separate unit test binary. | 485 # a separate unit test binary. |
486 'includes': [ | 486 'includes': [ |
487 '../google_apis/determine_use_official_keys.gypi', | 487 '../google_apis/determine_use_official_keys.gypi', |
488 ], | 488 ], |
489 'include_dirs': [ | 489 'include_dirs': [ |
490 '..', | 490 '..', |
491 ], | 491 ], |
492 'defines': [ | |
493 'CLD_WINDOWS', | |
494 ], | |
495 'direct_dependent_settings': { | |
496 'defines': [ | |
497 'CLD_WINDOWS', | |
498 ], | |
499 }, | |
500 'msvs_settings': { | 492 'msvs_settings': { |
501 'VCLinkerTool': { | 493 'VCLinkerTool': { |
502 'conditions': [ | 494 'conditions': [ |
503 ['incremental_chrome_dll==1', { | 495 ['incremental_chrome_dll==1', { |
504 'UseLibraryDependencyInputs': "true", | 496 'UseLibraryDependencyInputs': "true", |
505 }], | 497 }], |
506 ], | 498 ], |
507 }, | 499 }, |
508 }, | 500 }, |
509 'sources': [ | 501 'sources': [ |
(...skipping 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1940 '../skia/ext/convolver_unittest.cc', | 1932 '../skia/ext/convolver_unittest.cc', |
1941 '../skia/ext/image_operations_unittest.cc', | 1933 '../skia/ext/image_operations_unittest.cc', |
1942 '../skia/ext/lazy_pixel_ref_utils_unittest.cc', | 1934 '../skia/ext/lazy_pixel_ref_utils_unittest.cc', |
1943 '../skia/ext/platform_canvas_unittest.cc', | 1935 '../skia/ext/platform_canvas_unittest.cc', |
1944 '../skia/ext/recursive_gaussian_convolution_unittest.cc', | 1936 '../skia/ext/recursive_gaussian_convolution_unittest.cc', |
1945 '../skia/ext/refptr_unittest.cc', | 1937 '../skia/ext/refptr_unittest.cc', |
1946 '../skia/ext/skia_utils_ios_unittest.mm', | 1938 '../skia/ext/skia_utils_ios_unittest.mm', |
1947 '../skia/ext/skia_utils_mac_unittest.mm', | 1939 '../skia/ext/skia_utils_mac_unittest.mm', |
1948 '../skia/ext/vector_canvas_unittest.cc', | 1940 '../skia/ext/vector_canvas_unittest.cc', |
1949 '../testing/gtest_mac_unittest.mm', | 1941 '../testing/gtest_mac_unittest.mm', |
1950 '../third_party/cld/encodings/compact_lang_det/compact_lang_det_unittest
_small.cc', | |
1951 '../third_party/zlib/google/zip_reader_unittest.cc', | 1942 '../third_party/zlib/google/zip_reader_unittest.cc', |
1952 '../third_party/zlib/google/zip_unittest.cc', | 1943 '../third_party/zlib/google/zip_unittest.cc', |
1953 '../tools/json_schema_compiler/test/additional_properties_unittest.cc', | 1944 '../tools/json_schema_compiler/test/additional_properties_unittest.cc', |
1954 '../tools/json_schema_compiler/test/any_unittest.cc', | 1945 '../tools/json_schema_compiler/test/any_unittest.cc', |
1955 '../tools/json_schema_compiler/test/arrays_unittest.cc', | 1946 '../tools/json_schema_compiler/test/arrays_unittest.cc', |
1956 '../tools/json_schema_compiler/test/callbacks_unittest.cc', | 1947 '../tools/json_schema_compiler/test/callbacks_unittest.cc', |
1957 '../tools/json_schema_compiler/test/choices_unittest.cc', | 1948 '../tools/json_schema_compiler/test/choices_unittest.cc', |
1958 '../tools/json_schema_compiler/test/crossref_unittest.cc', | 1949 '../tools/json_schema_compiler/test/crossref_unittest.cc', |
1959 '../tools/json_schema_compiler/test/enums_unittest.cc', | 1950 '../tools/json_schema_compiler/test/enums_unittest.cc', |
1960 '../tools/json_schema_compiler/test/functions_as_parameters_unittest.cc'
, | 1951 '../tools/json_schema_compiler/test/functions_as_parameters_unittest.cc'
, |
(...skipping 17 matching lines...) Expand all Loading... |
1978 'conditions': [ | 1969 'conditions': [ |
1979 ['OS!="ios"', { | 1970 ['OS!="ios"', { |
1980 'dependencies': [ | 1971 'dependencies': [ |
1981 'common/extensions/api/api.gyp:api', | 1972 'common/extensions/api/api.gyp:api', |
1982 '../components/components.gyp:autofill_content_test_support', | 1973 '../components/components.gyp:autofill_content_test_support', |
1983 '../components/component_strings.gyp:component_strings', | 1974 '../components/component_strings.gyp:component_strings', |
1984 '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks', | 1975 '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks', |
1985 '../gpu/gpu.gyp:gpu_unittest_utils', | 1976 '../gpu/gpu.gyp:gpu_unittest_utils', |
1986 '../media/media.gyp:media_test_support', | 1977 '../media/media.gyp:media_test_support', |
1987 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', | 1978 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', |
1988 '../third_party/cld/cld.gyp:cld', | |
1989 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 1979 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
1990 '../third_party/libjingle/libjingle.gyp:libjingle', | 1980 '../third_party/libjingle/libjingle.gyp:libjingle', |
1991 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber', | 1981 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber', |
1992 '../tools/json_schema_compiler/test/json_schema_compiler_tests.gyp:j
son_schema_compiler_tests', | 1982 '../tools/json_schema_compiler/test/json_schema_compiler_tests.gyp:j
son_schema_compiler_tests', |
1993 '../ui/gl/gl.gyp:gl', | 1983 '../ui/gl/gl.gyp:gl', |
1994 '../v8/tools/gyp/v8.gyp:v8', | 1984 '../v8/tools/gyp/v8.gyp:v8', |
1995 '../webkit/webkit_resources.gyp:webkit_resources', | 1985 '../webkit/webkit_resources.gyp:webkit_resources', |
1996 ], | 1986 ], |
1997 # TODO(scr): Use this in browser_tests too. | 1987 # TODO(scr): Use this in browser_tests too. |
1998 'includes': [ | 1988 'includes': [ |
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2635 ['enable_managed_users!=1', { | 2625 ['enable_managed_users!=1', { |
2636 'sources/': [ | 2626 'sources/': [ |
2637 ['exclude', '^browser/managed_mode/'], | 2627 ['exclude', '^browser/managed_mode/'], |
2638 ], | 2628 ], |
2639 }], | 2629 }], |
2640 ['safe_browsing!=1', { | 2630 ['safe_browsing!=1', { |
2641 'sources/': [ | 2631 'sources/': [ |
2642 ['exclude', '^browser/extensions/blacklist_unittest.cc'], | 2632 ['exclude', '^browser/extensions/blacklist_unittest.cc'], |
2643 ], | 2633 ], |
2644 }], | 2634 }], |
| 2635 ['cld_version==0 or cld_version==1', { |
| 2636 'defines': [ |
| 2637 'CLD_WINDOWS', |
| 2638 ], |
| 2639 'direct_dependent_settings': { |
| 2640 'defines': [ |
| 2641 'CLD_WINDOWS', |
| 2642 ], |
| 2643 }, |
| 2644 'sources': [ |
| 2645 '../third_party/cld/encodings/compact_lang_det/compact_lang_det_unit
test_small.cc', |
| 2646 ], |
| 2647 'dependencies': [ |
| 2648 '../third_party/cld/cld.gyp:cld', |
| 2649 ], |
| 2650 }], |
2645 ], | 2651 ], |
2646 'target_conditions': [ | 2652 'target_conditions': [ |
2647 ['OS == "ios"', { | 2653 ['OS == "ios"', { |
2648 'sources/': [ | 2654 'sources/': [ |
2649 ['include', '^common/mac/nscoder_util_unittest\\.mm$'], | 2655 ['include', '^common/mac/nscoder_util_unittest\\.mm$'], |
2650 ], | 2656 ], |
2651 }], | 2657 }], |
2652 ], | 2658 ], |
2653 }, | 2659 }, |
2654 { | 2660 { |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2762 # more details. | 2768 # more details. |
2763 'DebugInformationFormat': '3', | 2769 'DebugInformationFormat': '3', |
2764 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/unit_tests.exe.pdb', | 2770 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/unit_tests.exe.pdb', |
2765 }, | 2771 }, |
2766 }, | 2772 }, |
2767 }, | 2773 }, |
2768 ], | 2774 ], |
2769 }], | 2775 }], |
2770 ], # 'conditions' | 2776 ], # 'conditions' |
2771 } | 2777 } |
OLD | NEW |