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

Side by Side Diff: chrome/chrome_tests_unit.gypi

Issue 461633002: Refactor language detection logic to allow non-static CLD data sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 1 month 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
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 '../apps/saved_files_service_unittest.cc', 7 '../apps/saved_files_service_unittest.cc',
8 '../components/autofill/content/renderer/test_password_autofill_agent.cc', 8 '../components/autofill/content/renderer/test_password_autofill_agent.cc',
9 '../components/autofill/content/renderer/test_password_autofill_agent.h', 9 '../components/autofill/content/renderer/test_password_autofill_agent.h',
10 '../components/autofill/content/renderer/test_password_generation_agent.cc ', 10 '../components/autofill/content/renderer/test_password_generation_agent.cc ',
(...skipping 2331 matching lines...) Expand 10 before | Expand all | Expand 10 after
2342 'browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc', 2342 'browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc',
2343 'browser/ui/views/select_file_dialog_extension_unittest.cc', 2343 'browser/ui/views/select_file_dialog_extension_unittest.cc',
2344 ], 2344 ],
2345 }], 2345 }],
2346 ['use_x11==1', { 2346 ['use_x11==1', {
2347 'dependencies': [ 2347 'dependencies': [
2348 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2348 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2349 '../ui/events/devices/events_devices.gyp:events_devices', 2349 '../ui/events/devices/events_devices.gyp:events_devices',
2350 ], 2350 ],
2351 }], 2351 }],
2352 [ 'cld_version==0 or cld_version==2', {
2353 'dependencies': [
2354 # Unit tests should be independent of the CLD2 access mechanism,
2355 # just use static for simplicity.
2356 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_static', ],
2357 }],
2352 ['OS=="linux"', { 2358 ['OS=="linux"', {
2353 'dependencies': [ 2359 'dependencies': [
2354 '../build/linux/system.gyp:ssl', 2360 '../build/linux/system.gyp:ssl',
2355 ], 2361 ],
2356 }], 2362 }],
2357 # Only add this test for 64 bit builds because otherwise we need the 32 2363 # Only add this test for 64 bit builds because otherwise we need the 32
2358 # bit library on 64 bit systems when running this test. 2364 # bit library on 64 bit systems when running this test.
2359 ['use_gnome_keyring == 1 and target_arch=="x64"', { 2365 ['use_gnome_keyring == 1 and target_arch=="x64"', {
2360 'sources': [ 2366 'sources': [
2361 'browser/password_manager/native_backend_gnome_x_unittest.cc', 2367 'browser/password_manager/native_backend_gnome_x_unittest.cc',
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
2737 ['enable_managed_users!=1', { 2743 ['enable_managed_users!=1', {
2738 'sources/': [ 2744 'sources/': [
2739 ['exclude', '^browser/supervised_user/'], 2745 ['exclude', '^browser/supervised_user/'],
2740 ], 2746 ],
2741 }], 2747 }],
2742 ['safe_browsing==1 and enable_extensions==1', { 2748 ['safe_browsing==1 and enable_extensions==1', {
2743 'sources': [ 2749 'sources': [
2744 'browser/extensions/blacklist_unittest.cc', 2750 'browser/extensions/blacklist_unittest.cc',
2745 ], 2751 ],
2746 }], 2752 }],
2747 ['cld_version==0 or cld_version==1', { 2753 ['cld_version==1', {
2748 'defines': [ 2754 'defines': [
2749 'CLD_WINDOWS', 2755 'CLD_WINDOWS',
2750 ], 2756 ],
2751 'direct_dependent_settings': { 2757 'direct_dependent_settings': {
2752 'defines': [ 2758 'defines': [
2753 'CLD_WINDOWS', 2759 'CLD_WINDOWS',
2754 ], 2760 ],
2755 }, 2761 },
2756 'sources': [ 2762 'sources': [
2757 '../third_party/cld/encodings/compact_lang_det/compact_lang_det_unit test_small.cc', 2763 '../third_party/cld/encodings/compact_lang_det/compact_lang_det_unit test_small.cc',
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
2919 'dependencies': [ 2925 'dependencies': [
2920 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2926 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2921 ], 2927 ],
2922 }], 2928 }],
2923 ], 2929 ],
2924 }, 2930 },
2925 ], 2931 ],
2926 }], 2932 }],
2927 ], # 'conditions' 2933 ], # 'conditions'
2928 } 2934 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698