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

Side by Side Diff: chrome/chrome_tests_unit.gypi

Issue 1521193002: [Offline pages] Refactor URL conversions from TabAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing feedback, updating tests, moving functions to a static class Created 5 years 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
OLDNEW
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 'variables': { 5 'variables': {
6 'chrome_unit_tests_sources': [ 6 'chrome_unit_tests_sources': [
7 # histograms.xml is analyzed by AboutFlagsHistogramTest, so this 7 # histograms.xml is analyzed by AboutFlagsHistogramTest, so this
8 # dependency is needed to make commit bots run unit_tests on 8 # dependency is needed to make commit bots run unit_tests on
9 # histograms.xml changes. 9 # histograms.xml changes.
10 '../tools/metrics/histograms/histograms.xml', 10 '../tools/metrics/histograms/histograms.xml',
(...skipping 1630 matching lines...) Expand 10 before | Expand all | Expand 10 after
1641 'chrome_unit_tests_app_list_chromeos_sources': [ 1641 'chrome_unit_tests_app_list_chromeos_sources': [
1642 'browser/ui/app_list/search/launcher_search/launcher_search_icon_image_loa der_unittest.cc', 1642 'browser/ui/app_list/search/launcher_search/launcher_search_icon_image_loa der_unittest.cc',
1643 ], 1643 ],
1644 # ARC only sources of app_list. 1644 # ARC only sources of app_list.
1645 'chrome_unit_tests_app_list_chromeos_arc_sources': [ 1645 'chrome_unit_tests_app_list_chromeos_arc_sources': [
1646 'browser/ui/app_list/arc/arc_app_unittest.cc', 1646 'browser/ui/app_list/arc/arc_app_unittest.cc',
1647 ], 1647 ],
1648 # Sources for Offline pages. For now only for Android. 1648 # Sources for Offline pages. For now only for Android.
1649 'chrome_unit_tests_offline_pages_sources': [ 1649 'chrome_unit_tests_offline_pages_sources': [
1650 'browser/android/offline_pages/offline_page_mhtml_archiver_unittest.cc', 1650 'browser/android/offline_pages/offline_page_mhtml_archiver_unittest.cc',
1651 'browser/android/offline_pages/offline_page_utils_unittest.cc',
1652 'browser/android/offline_pages/test_offline_page_model_builder.cc',
1653 'browser/android/offline_pages/test_offline_page_model_builder.h',
1651 ], 1654 ],
1652 }, 1655 },
1653 'targets': [ 1656 'targets': [
1654 { 1657 {
1655 # This target contains mocks and test utilities that don't belong in 1658 # This target contains mocks and test utilities that don't belong in
1656 # production libraries but are used by more than one test executable. 1659 # production libraries but are used by more than one test executable.
1657 # 1660 #
1658 # GN version: //chrome/test:test_support but that is split apart into 1661 # GN version: //chrome/test:test_support but that is split apart into
1659 # separate test_support targets for that various subdirectories under 1662 # separate test_support targets for that various subdirectories under
1660 # chrome. 1663 # chrome.
(...skipping 11 matching lines...) Expand all
1672 '../base/base.gyp:base_prefs_test_support', 1675 '../base/base.gyp:base_prefs_test_support',
1673 '../base/base.gyp:test_support_base', 1676 '../base/base.gyp:test_support_base',
1674 '../components/components.gyp:bookmarks_test_support', 1677 '../components/components.gyp:bookmarks_test_support',
1675 '../components/components.gyp:browser_sync_browser_test_support', 1678 '../components/components.gyp:browser_sync_browser_test_support',
1676 '../components/components.gyp:gcm_driver_test_support', 1679 '../components/components.gyp:gcm_driver_test_support',
1677 '../components/components.gyp:history_core_test_support', 1680 '../components/components.gyp:history_core_test_support',
1678 '../components/components.gyp:instance_id_test_support', 1681 '../components/components.gyp:instance_id_test_support',
1679 '../components/components.gyp:invalidation_impl', 1682 '../components/components.gyp:invalidation_impl',
1680 '../components/components.gyp:invalidation_test_support', 1683 '../components/components.gyp:invalidation_test_support',
1681 '../components/components.gyp:metrics_test_support', 1684 '../components/components.gyp:metrics_test_support',
1685 '../components/components.gyp:offline_pages_test_support',
1682 '../components/components.gyp:omnibox_test_support', 1686 '../components/components.gyp:omnibox_test_support',
1683 '../components/components.gyp:password_manager_core_browser_test_support ', 1687 '../components/components.gyp:password_manager_core_browser_test_support ',
1684 '../components/components.gyp:pref_registry_test_support', 1688 '../components/components.gyp:pref_registry_test_support',
1685 '../components/components.gyp:rappor_test_support', 1689 '../components/components.gyp:rappor_test_support',
1686 '../components/components.gyp:search_engines_test_support', 1690 '../components/components.gyp:search_engines_test_support',
1687 '../components/components.gyp:signin_core_browser_test_support', 1691 '../components/components.gyp:signin_core_browser_test_support',
1688 '../components/components.gyp:sync_driver_test_support', 1692 '../components/components.gyp:sync_driver_test_support',
1689 '../components/components.gyp:sync_sessions_test_support', 1693 '../components/components.gyp:sync_sessions_test_support',
1690 '../components/components.gyp:syncable_prefs_test_support', 1694 '../components/components.gyp:syncable_prefs_test_support',
1691 '../components/components.gyp:update_client_test_support', 1695 '../components/components.gyp:update_client_test_support',
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
2307 'dependencies!': [ 2311 'dependencies!': [
2308 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput' , 2312 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput' ,
2309 ], 2313 ],
2310 'ldflags': [ 2314 'ldflags': [
2311 # Some android targets still depend on --gc-sections to link. 2315 # Some android targets still depend on --gc-sections to link.
2312 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). 2316 # TODO: remove --gc-sections for Debug builds (crbug.com/159847).
2313 '-Wl,--gc-sections', 2317 '-Wl,--gc-sections',
2314 ], 2318 ],
2315 'dependencies': [ 2319 'dependencies': [
2316 '../testing/android/native_test.gyp:native_test_native_code', 2320 '../testing/android/native_test.gyp:native_test_native_code',
2317 '../components/components.gyp:gcm_driver', 2321 '../components/components.gyp:offline_pages',
2318 ], 2322 ],
2319 }, { # Not Android. 2323 }, { # Not Android.
2320 'sources': [ '<@(chrome_unit_tests_non_android_sources)' ], 2324 'sources': [ '<@(chrome_unit_tests_non_android_sources)' ],
2321 'sources!': [ 2325 'sources!': [
2322 'browser/download/download_request_infobar_delegate_unittest.cc', 2326 'browser/download/download_request_infobar_delegate_unittest.cc',
2323 ], 2327 ],
2324 }], 2328 }],
2325 ['OS!="android" and OS!="ios"', { 2329 ['OS!="android" and OS!="ios"', {
2326 'sources': [ '<@(chrome_unit_tests_non_mobile_sources)' ], 2330 'sources': [ '<@(chrome_unit_tests_non_mobile_sources)' ],
2327 }], 2331 }],
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
3021 'dependencies': [ 3025 'dependencies': [
3022 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 3026 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
3023 ], 3027 ],
3024 }], 3028 }],
3025 ], 3029 ],
3026 }, 3030 },
3027 ], 3031 ],
3028 }], 3032 }],
3029 ], # 'conditions' 3033 ], # 'conditions'
3030 } 3034 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698