Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: chrome/chrome_tests.gypi

Issue 10941034: Adding unit tests for google_api_keys functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review requests. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | google_apis/google_api_keys.cc » ('j') | google_apis/google_api_keys_unittest.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 'variables' : { 5 'variables' : {
6 'pyautolib_sources': [ 6 'pyautolib_sources': [
7 'app/chrome_command_ids.h', 7 'app/chrome_command_ids.h',
8 'app/chrome_dll_resource.h', 8 'app/chrome_dll_resource.h',
9 'common/automation_constants.h', 9 'common/automation_constants.h',
10 'common/pref_names.cc', 10 'common/pref_names.cc',
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
952 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', 952 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
953 '../testing/gmock.gyp:gmock', 953 '../testing/gmock.gyp:gmock',
954 '../testing/gtest.gyp:gtest', 954 '../testing/gtest.gyp:gtest',
955 'test_support_common', 955 'test_support_common',
956 '../sync/sync.gyp:test_support_sync', 956 '../sync/sync.gyp:test_support_sync',
957 '../sync/sync.gyp:test_support_sync_notifier', 957 '../sync/sync.gyp:test_support_sync_notifier',
958 '../sync/sync.gyp:test_support_syncapi_core', 958 '../sync/sync.gyp:test_support_syncapi_core',
959 '../sync/sync.gyp:test_support_syncapi_service', 959 '../sync/sync.gyp:test_support_syncapi_service',
960 'test_support_unit', 960 'test_support_unit',
961 # 3) anything tests directly depend on 961 # 3) anything tests directly depend on
962 '../google_apis/google_apis.gyp:google_apis',
962 '../skia/skia.gyp:skia', 963 '../skia/skia.gyp:skia',
963 '../third_party/bzip2/bzip2.gyp:bzip2', 964 '../third_party/bzip2/bzip2.gyp:bzip2',
964 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n', 965 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n',
965 '../third_party/cld/cld.gyp:cld', 966 '../third_party/cld/cld.gyp:cld',
966 '../third_party/icu/icu.gyp:icui18n', 967 '../third_party/icu/icu.gyp:icui18n',
967 '../third_party/icu/icu.gyp:icuuc', 968 '../third_party/icu/icu.gyp:icuuc',
968 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', 969 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
969 '../third_party/libjingle/libjingle.gyp:libjingle', 970 '../third_party/libjingle/libjingle.gyp:libjingle',
970 '../third_party/libxml/libxml.gyp:libxml', 971 '../third_party/libxml/libxml.gyp:libxml',
971 '../tools/json_schema_compiler/test/json_schema_compiler_tests.gyp:json_ schema_compiler_tests', 972 '../tools/json_schema_compiler/test/json_schema_compiler_tests.gyp:json_ schema_compiler_tests',
972 '../ui/gl/gl.gyp:gl', 973 '../ui/gl/gl.gyp:gl',
973 '../ui/ui.gyp:ui_resources', 974 '../ui/ui.gyp:ui_resources',
974 '../ui/ui.gyp:ui_test_support', 975 '../ui/ui.gyp:ui_test_support',
975 '../v8/tools/gyp/v8.gyp:v8', 976 '../v8/tools/gyp/v8.gyp:v8',
976 'common/extensions/api/api.gyp:api', 977 'common/extensions/api/api.gyp:api',
977 'chrome_resources.gyp:chrome_resources', 978 'chrome_resources.gyp:chrome_resources',
978 'chrome_resources.gyp:chrome_strings', 979 'chrome_resources.gyp:chrome_strings',
979 # TODO(joi): Move these to their own unittest executable?
980 '../google_apis/google_apis.gyp:google_apis',
981 '../google_apis/google_apis.gyp:google_apis_unittests',
982 ], 980 ],
983 'include_dirs': [ 981 'include_dirs': [
984 '..', 982 '..',
985 ], 983 ],
986 # TODO(scr): Use this in browser_tests too. 984 # TODO(scr): Use this in browser_tests too.
987 'includes': [ 985 'includes': [
988 'js_unittest_rules.gypi', 986 'js_unittest_rules.gypi',
989 ], 987 ],
990 'defines': [ 988 'defines': [
991 'CLD_WINDOWS', 989 'CLD_WINDOWS',
(...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after
2088 'test/base/menu_model_test.h', 2086 'test/base/menu_model_test.h',
2089 'test/base/v8_unit_test.cc', 2087 'test/base/v8_unit_test.cc',
2090 'test/base/v8_unit_test.h', 2088 'test/base/v8_unit_test.h',
2091 'test/data/resource.rc', 2089 'test/data/resource.rc',
2092 'test/data/unit/framework_unittest.gtestjs', 2090 'test/data/unit/framework_unittest.gtestjs',
2093 'test/logging/win/mof_data_parser_unittest.cc', 2091 'test/logging/win/mof_data_parser_unittest.cc',
2094 'tools/convert_dict/convert_dict_unittest.cc', 2092 'tools/convert_dict/convert_dict_unittest.cc',
2095 '../ash/test/test_launcher_delegate.cc', 2093 '../ash/test/test_launcher_delegate.cc',
2096 '../ash/test/test_launcher_delegate.h', 2094 '../ash/test/test_launcher_delegate.h',
2097 '../ash/test/test_shell_delegate.cc', 2095 '../ash/test/test_shell_delegate.cc',
2096 # TODO(joi): Move the google_apis tests to a separate
2097 # google_apis_unittests executable.
2098 '../google_apis/google_api_keys_unittest.cc',
2099 '../google_apis/gaia/mock_url_fetcher_factory.h',
2100 '../google_apis/gaia/gaia_auth_fetcher_unittest.cc',
2101 '../google_apis/gaia/gaia_auth_util_unittest.cc',
2102 '../google_apis/gaia/gaia_authenticator_unittest.cc',
2103 '../google_apis/gaia/gaia_oauth_client_unittest.cc',
2104 '../google_apis/gaia/google_service_auth_error_unittest.cc',
2105 '../google_apis/gaia/oauth_request_signer_unittest.cc',
2106 '../google_apis/gaia/oauth2_access_token_fetcher_unittest.cc',
2107 '../google_apis/gaia/oauth2_api_call_flow_unittest.cc',
2108 '../google_apis/gaia/oauth2_mint_token_fetcher_unittest.cc',
2109 '../google_apis/gaia/oauth2_mint_token_flow_unittest.cc',
2110 '../google_apis/gaia/oauth2_revocation_fetcher_unittest.cc',
2098 '../skia/ext/bitmap_platform_device_mac_unittest.cc', 2111 '../skia/ext/bitmap_platform_device_mac_unittest.cc',
2099 '../skia/ext/convolver_unittest.cc', 2112 '../skia/ext/convolver_unittest.cc',
2100 '../skia/ext/image_operations_unittest.cc', 2113 '../skia/ext/image_operations_unittest.cc',
2101 '../skia/ext/platform_canvas_unittest.cc', 2114 '../skia/ext/platform_canvas_unittest.cc',
2102 '../skia/ext/skia_utils_mac_unittest.mm', 2115 '../skia/ext/skia_utils_mac_unittest.mm',
2103 '../skia/ext/vector_canvas_unittest.cc', 2116 '../skia/ext/vector_canvas_unittest.cc',
2104 '../testing/gtest_mac_unittest.mm', 2117 '../testing/gtest_mac_unittest.mm',
2105 '../third_party/cld/encodings/compact_lang_det/compact_lang_det_unittest _small.cc', 2118 '../third_party/cld/encodings/compact_lang_det/compact_lang_det_unittest _small.cc',
2106 '../tools/json_schema_compiler/test/additional_properties_unittest.cc', 2119 '../tools/json_schema_compiler/test/additional_properties_unittest.cc',
2107 '../tools/json_schema_compiler/test/any_unittest.cc', 2120 '../tools/json_schema_compiler/test/any_unittest.cc',
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
2606 }], 2619 }],
2607 ['component=="shared_library" and incremental_chrome_dll!=1', { 2620 ['component=="shared_library" and incremental_chrome_dll!=1', {
2608 # This is needed for tests that subclass 2621 # This is needed for tests that subclass
2609 # RendererWebKitPlatformSupportImpl, which subclasses stuff in 2622 # RendererWebKitPlatformSupportImpl, which subclasses stuff in
2610 # glue, which refers to symbols defined in these files. 2623 # glue, which refers to symbols defined in these files.
2611 # Hopefully this can be resolved with http://crbug.com/98755. 2624 # Hopefully this can be resolved with http://crbug.com/98755.
2612 'sources': [ 2625 'sources': [
2613 '../content/common/socket_stream_dispatcher.cc', 2626 '../content/common/socket_stream_dispatcher.cc',
2614 ]}, 2627 ]},
2615 ], 2628 ],
2629 # TODO(joi): Remove from this file once separate
2630 # google_apis_unittests target is established.
2631 ['use_official_google_api_keys==1', {
2632 'defines': ['USE_OFFICIAL_GOOGLE_API_KEYS=1'],
2633 }],
2616 ], 2634 ],
2617 }, 2635 },
2618 { 2636 {
2619 'target_name': 'chrome_app_unittests', 2637 'target_name': 'chrome_app_unittests',
2620 'type': 'executable', 2638 'type': 'executable',
2621 'dependencies': [ 2639 'dependencies': [
2622 # unit tests should only depend on 2640 # unit tests should only depend on
2623 # 1) everything that the chrome binaries depend on: 2641 # 1) everything that the chrome binaries depend on:
2624 '<@(chromium_dependencies)', 2642 '<@(chromium_dependencies)',
2625 # 2) test-specific support libraries: 2643 # 2) test-specific support libraries:
(...skipping 2174 matching lines...) Expand 10 before | Expand all | Expand 10 after
4800 '--result', '<@(_outputs)', 4818 '--result', '<@(_outputs)',
4801 '--isolate', 'browser_tests.isolate', 4819 '--isolate', 'browser_tests.isolate',
4802 ], 4820 ],
4803 }, 4821 },
4804 ], 4822 ],
4805 }, 4823 },
4806 ], 4824 ],
4807 }], 4825 }],
4808 ], # 'conditions' 4826 ], # 'conditions'
4809 } 4827 }
OLDNEW
« no previous file with comments | « no previous file | google_apis/google_api_keys.cc » ('j') | google_apis/google_api_keys_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698