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

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: Fix linux/mac/windows compile issues 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 2322 matching lines...) Expand 10 before | Expand all | Expand 10 after
2333 # this is broken. 2333 # this is broken.
2334 'browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc', 2334 'browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc',
2335 'browser/ui/views/select_file_dialog_extension_unittest.cc', 2335 'browser/ui/views/select_file_dialog_extension_unittest.cc',
2336 ], 2336 ],
2337 }], 2337 }],
2338 ['use_x11==1', { 2338 ['use_x11==1', {
2339 'dependencies': [ 2339 'dependencies': [
2340 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2340 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2341 ], 2341 ],
2342 }], 2342 }],
2343 [ 'cld_version==0 or cld_version==2', {
2344 'dependencies': [
2345 # Unit tests should be independent of the CLD2 access mechanism,
2346 # just use static for simplicity.
2347 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_static', ],
2348 }],
2343 ['OS=="linux"', { 2349 ['OS=="linux"', {
2344 'dependencies': [ 2350 'dependencies': [
2345 '../build/linux/system.gyp:ssl', 2351 '../build/linux/system.gyp:ssl',
2346 ], 2352 ],
2347 }], 2353 }],
2348 # Only add this test for 64 bit builds because otherwise we need the 32 2354 # Only add this test for 64 bit builds because otherwise we need the 32
2349 # bit library on 64 bit systems when running this test. 2355 # bit library on 64 bit systems when running this test.
2350 ['use_gnome_keyring == 1 and target_arch=="x64"', { 2356 ['use_gnome_keyring == 1 and target_arch=="x64"', {
2351 'sources': [ 2357 'sources': [
2352 'browser/password_manager/native_backend_gnome_x_unittest.cc', 2358 'browser/password_manager/native_backend_gnome_x_unittest.cc',
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
2724 ['enable_managed_users!=1', { 2730 ['enable_managed_users!=1', {
2725 'sources/': [ 2731 'sources/': [
2726 ['exclude', '^browser/supervised_user/'], 2732 ['exclude', '^browser/supervised_user/'],
2727 ], 2733 ],
2728 }], 2734 }],
2729 ['safe_browsing==1 and enable_extensions==1', { 2735 ['safe_browsing==1 and enable_extensions==1', {
2730 'sources': [ 2736 'sources': [
2731 'browser/extensions/blacklist_unittest.cc', 2737 'browser/extensions/blacklist_unittest.cc',
2732 ], 2738 ],
2733 }], 2739 }],
2734 ['cld_version==0 or cld_version==1', { 2740 ['cld_version==1', {
2735 'defines': [ 2741 'defines': [
2736 'CLD_WINDOWS', 2742 'CLD_WINDOWS',
2737 ], 2743 ],
2738 'direct_dependent_settings': { 2744 'direct_dependent_settings': {
2739 'defines': [ 2745 'defines': [
2740 'CLD_WINDOWS', 2746 'CLD_WINDOWS',
2741 ], 2747 ],
2742 }, 2748 },
2743 'sources': [ 2749 'sources': [
2744 '../third_party/cld/encodings/compact_lang_det/compact_lang_det_unit test_small.cc', 2750 '../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
2906 'dependencies': [ 2912 'dependencies': [
2907 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2913 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2908 ], 2914 ],
2909 }], 2915 }],
2910 ], 2916 ],
2911 }, 2917 },
2912 ], 2918 ],
2913 }], 2919 }],
2914 ], # 'conditions' 2920 ], # 'conditions'
2915 } 2921 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698