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

Side by Side Diff: chrome/chrome.gyp

Issue 132032: [chromium-reviews] Add unit testing to CLD. In addition, remove files from cld/base which are no... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 | third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det_unittest_small.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 # Define the common dependencies that contain all the actual 8 # Define the common dependencies that contain all the actual
9 # Chromium functionality. This list gets pulled in below by 9 # Chromium functionality. This list gets pulled in below by
10 # the link of the actual chrome (or chromium) executable on 10 # the link of the actual chrome (or chromium) executable on
(...skipping 3324 matching lines...) Expand 10 before | Expand all | Expand 10 after
3335 '../testing/gtest.gyp:gtest', 3335 '../testing/gtest.gyp:gtest',
3336 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', 3336 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
3337 '../third_party/icu38/icu38.gyp:icui18n', 3337 '../third_party/icu38/icu38.gyp:icui18n',
3338 '../third_party/icu38/icu38.gyp:icuuc', 3338 '../third_party/icu38/icu38.gyp:icuuc',
3339 '../third_party/libxml/libxml.gyp:libxml', 3339 '../third_party/libxml/libxml.gyp:libxml',
3340 '../third_party/npapi/npapi.gyp:npapi', 3340 '../third_party/npapi/npapi.gyp:npapi',
3341 ], 3341 ],
3342 'include_dirs': [ 3342 'include_dirs': [
3343 '..', 3343 '..',
3344 ], 3344 ],
3345 'defines': [
3346 'CLD_WINDOWS',
3347 ],
3348 'direct_dependent_settings': {
3349 'defines': [
3350 'CLD_WINDOWS',
3351 ],
3352 },
3345 'sources': [ 3353 'sources': [
3346 'app/breakpad_mac_stubs.mm', 3354 'app/breakpad_mac_stubs.mm',
3347 # *NO* files in chrome/app have unit tests (except keystone_glue)!!! 3355 # *NO* files in chrome/app have unit tests (except keystone_glue)!!!
3348 # It seems a waste to have an app_unittests target, so for now 3356 # It seems a waste to have an app_unittests target, so for now
3349 # I add keystone_glue.m explicitly to this target. 3357 # I add keystone_glue.m explicitly to this target.
3350 'app/keystone_glue.m', 3358 'app/keystone_glue.m',
3351 'app/keystone_glue_unittest.mm', 3359 'app/keystone_glue_unittest.mm',
3352 # All unittests in browser, common, and renderer. 3360 # All unittests in browser, common, and renderer.
3353 'browser/autocomplete/autocomplete_unittest.cc', 3361 'browser/autocomplete/autocomplete_unittest.cc',
3354 'browser/autocomplete/autocomplete_popup_view_mac_unittest.mm', 3362 'browser/autocomplete/autocomplete_popup_view_mac_unittest.mm',
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
3558 'test/browser_with_test_window_test.cc', 3566 'test/browser_with_test_window_test.cc',
3559 'test/browser_with_test_window_test.h', 3567 'test/browser_with_test_window_test.h',
3560 'test/file_test_utils.h', 3568 'test/file_test_utils.h',
3561 'test/file_test_utils.cc', 3569 'test/file_test_utils.cc',
3562 'test/render_view_test.cc', 3570 'test/render_view_test.cc',
3563 'test/render_view_test.h', 3571 'test/render_view_test.h',
3564 'test/test_notification_tracker.cc', 3572 'test/test_notification_tracker.cc',
3565 'test/test_notification_tracker.h', 3573 'test/test_notification_tracker.h',
3566 'test/v8_unit_test.cc', 3574 'test/v8_unit_test.cc',
3567 'test/v8_unit_test.h', 3575 'test/v8_unit_test.h',
3576 '../third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/comp act_lang_det_unittest_small.cc',
3568 3577
3569 '../views/controls/label_unittest.cc', 3578 '../views/controls/label_unittest.cc',
3570 '../views/controls/table/table_view_unittest.cc', 3579 '../views/controls/table/table_view_unittest.cc',
3571 '../views/focus/focus_manager_unittest.cc', 3580 '../views/focus/focus_manager_unittest.cc',
3572 '../views/grid_layout_unittest.cc', 3581 '../views/grid_layout_unittest.cc',
3573 '../views/view_unittest.cc', 3582 '../views/view_unittest.cc',
3574 3583
3575 'tools/build/win/precompiled_wtl.h', 3584 'tools/build/win/precompiled_wtl.h',
3576 'tools/build/win/precompiled_wtl.cc', 3585 'tools/build/win/precompiled_wtl.cc',
3577 ], 3586 ],
3578 'conditions': [ 3587 'conditions': [
3579 ['OS=="linux"', { 3588 ['OS=="linux"', {
3580 'dependencies': [ 3589 'dependencies': [
3581 '../build/linux/system.gyp:gtk', 3590 '../build/linux/system.gyp:gtk',
3582 '../build/linux/system.gyp:nss', 3591 '../build/linux/system.gyp:nss',
3583 ], 3592 ],
3584 'sources!': [ 3593 'sources!': [
3585 # This test is mostly about renaming downloads to safe file 3594 # This test is mostly about renaming downloads to safe file
3586 # names. As such we don't need/want to port it to linux. We 3595 # names. As such we don't need/want to port it to linux. We
3587 # might want to write our own tests for the download manager 3596 # might want to write our own tests for the download manager
3588 # on linux, though. 3597 # on linux, though.
3589 'browser/download/download_manager_unittest.cc', 3598 'browser/download/download_manager_unittest.cc',
3599 # Compact Language Detection (cld) is not supported in linux yet.
3600 '../third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/ compact_lang_det_unittest_small.cc',
3590 ], 3601 ],
3591 }], 3602 }],
3592 ['OS=="linux" and toolkit_views==1', { 3603 ['OS=="linux" and toolkit_views==1', {
3593 'dependencies': [ 3604 'dependencies': [
3594 '../views/views.gyp:views', 3605 '../views/views.gyp:views',
3595 ], 3606 ],
3596 }], 3607 }],
3597 ['OS=="mac"', { 3608 ['OS=="mac"', {
3598 # The test fetches resources which means Mac need the app bundle to 3609 # The test fetches resources which means Mac need the app bundle to
3599 # exist on disk so it can pull from it. 3610 # exist on disk so it can pull from it.
3600 'dependencies': [ 3611 'dependencies': [
3601 'chrome', 3612 'chrome',
3602 ], 3613 ],
3603 'include_dirs': [ 3614 'include_dirs': [
3604 '../third_party/GTM', 3615 '../third_party/GTM',
3605 ], 3616 ],
3606 'sources!': [ 3617 'sources!': [
3607 'browser/bookmarks/bookmark_context_menu_test.cc', 3618 'browser/bookmarks/bookmark_context_menu_test.cc',
3608 'browser/back_forward_menu_model_unittest.cc', 3619 'browser/back_forward_menu_model_unittest.cc',
3609 'browser/download/download_manager_unittest.cc', 3620 'browser/download/download_manager_unittest.cc',
3610 'browser/gtk/go_button_gtk_unittest.cc', 3621 'browser/gtk/go_button_gtk_unittest.cc',
3611 'browser/gtk/tabs/tab_renderer_gtk_unittest.cc', 3622 'browser/gtk/tabs/tab_renderer_gtk_unittest.cc',
3612 'browser/tab_contents/navigation_controller_unittest.cc', 3623 'browser/tab_contents/navigation_controller_unittest.cc',
3613 'browser/task_manager_unittest.cc', 3624 'browser/task_manager_unittest.cc',
3614 'test/test_notification_tracker.cc', 3625 'test/test_notification_tracker.cc',
3615 'test/test_notification_tracker.h', 3626 'test/test_notification_tracker.h',
3616 'third_party/hunspell/google/hunspell_tests.cc', 3627 'third_party/hunspell/google/hunspell_tests.cc',
3628
3629 # Compact Language Detection (cld) is not supported in mac yet.
3630 '../third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/ compact_lang_det_unittest_small.cc',
3617 ], 3631 ],
3618 # TODO(mark): We really want this for all non-static library targets, 3632 # TODO(mark): We really want this for all non-static library targets,
3619 # but when we tried to pull it up to the common.gypi level, it broke 3633 # but when we tried to pull it up to the common.gypi level, it broke
3620 # other things like the ui, startup, and page_cycler tests. *shrug* 3634 # other things like the ui, startup, and page_cycler tests. *shrug*
3621 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, 3635 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
3622 }, { # OS != "mac" 3636 }, { # OS != "mac"
3623 'dependencies': [ 3637 'dependencies': [
3624 'convert_dict_lib', 3638 'convert_dict_lib',
3625 'third_party/hunspell/hunspell.gyp:hunspell', 3639 'third_party/hunspell/hunspell.gyp:hunspell',
3626 ], 3640 ],
(...skipping 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after
4809 # Use outputs of this action as inputs for the main target build. 4823 # Use outputs of this action as inputs for the main target build.
4810 # Seems as a misnomer but makes this happy on Linux (scons). 4824 # Seems as a misnomer but makes this happy on Linux (scons).
4811 'process_outputs_as_sources': 1, 4825 'process_outputs_as_sources': 1,
4812 }, 4826 },
4813 ], # 'actions' 4827 ], # 'actions'
4814 }, 4828 },
4815 ] 4829 ]
4816 }], 4830 }],
4817 ], # 'conditions' 4831 ], # 'conditions'
4818 } 4832 }
OLDNEW
« no previous file with comments | « no previous file | third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det_unittest_small.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698