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

Unified Diff: extensions/extensions.gyp

Issue 435703002: Move tests from Chrome's unit_tests to extensions_unittests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (browser-unit-tests) size_t to int Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: extensions/extensions.gyp
diff --git a/extensions/extensions.gyp b/extensions/extensions.gyp
index bcfaee8e438b01cee13606be30c20ccd8e1d8120..231d6ee12d3267855a3ce0c1a3d10a636fa181f9 100644
--- a/extensions/extensions.gyp
+++ b/extensions/extensions.gyp
@@ -804,6 +804,7 @@
'../mojo/mojo_base.gyp:mojo_system_impl',
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
+ '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
'extensions_common',
'extensions_renderer',
'extensions_resources.gyp:extensions_resources',
@@ -811,8 +812,33 @@
'extensions_strings.gyp:extensions_strings',
'extensions_test_support',
],
+ # Needed for third_party libraries like leveldb.
+ 'include_dirs': [
+ '..',
+ ],
'sources': [
+ 'browser/admin_policy_unittest.cc',
+ 'browser/computed_hashes_unittest.cc',
+ 'browser/content_hash_tree_unittest.cc',
+ 'browser/event_listener_map_unittest.cc',
+ 'browser/event_router_unittest.cc',
+ 'browser/extension_pref_value_map_unittest.cc',
+ 'browser/extension_registry_unittest.cc',
+ 'browser/file_highlighter_unittest.cc',
+ 'browser/file_reader_unittest.cc',
+ 'browser/image_util_unittest.cc',
+ 'browser/management_policy_unittest.cc',
'browser/process_manager_unittest.cc',
+ 'browser/process_map_unittest.cc',
+ 'browser/quota_service_unittest.cc',
+ 'browser/runtime_data_unittest.cc',
+ 'browser/value_store/leveldb_value_store_unittest.cc',
+ 'browser/value_store/testing_value_store_unittest.cc',
+ 'browser/value_store/value_store_change_unittest.cc',
+ 'browser/value_store/value_store_frontend_unittest.cc',
+ 'browser/value_store/value_store_unittest.cc',
+ 'browser/value_store/value_store_unittest.h',
+ 'browser/verified_contents_unittest.cc',
'common/api/sockets/sockets_manifest_permission_unittest.cc',
'common/csp_validator_unittest.cc',
'common/event_filter_unittest.cc',
@@ -840,6 +866,8 @@
'test/test_permissions_provider.cc',
'test/test_permissions_provider.h',
],
+ # Disable c4267 warnings until we fix size_t to int truncations.
+ 'msvs_disabled_warnings': [ 4267, ],
'conditions': [
['OS=="win" and win_use_allocator_shim==1', {
'dependencies': [
« no previous file with comments | « extensions/browser/value_store/value_store_frontend_unittest.cc ('k') | extensions/test/data/value_store_db/000005.log » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698