Index: chrome/chrome_tests_unit.gypi |
diff --git a/chrome/chrome_tests_unit.gypi b/chrome/chrome_tests_unit.gypi |
index 3764b247d56b383af08ccdef7de710de40379ffb..2a76b8c7a3cbb5e12bec34a66bd372295383b33f 100644 |
--- a/chrome/chrome_tests_unit.gypi |
+++ b/chrome/chrome_tests_unit.gypi |
@@ -907,6 +907,7 @@ |
'browser/resources/google_now/common_test_util.js', |
'browser/resources/google_now/utility.js', |
'browser/resources/google_now/utility_test_util.js', |
+ 'browser/resources/md_downloads/action_service.js', |
'browser/resources/print_preview/data/measurement_system.js', |
'browser/resources/print_preview/print_preview_utils.js', |
'renderer/resources/extensions/notifications_custom_bindings.js', |
@@ -917,6 +918,7 @@ |
'browser/resources/google_now/background_unittest.gtestjs', |
'browser/resources/google_now/cards_unittest.gtestjs', |
'browser/resources/google_now/utility_unittest.gtestjs', |
+ 'browser/resources/md_downloads/action_service_unittest.gtestjs', |
'browser/resources/print_preview/data/measurement_system_unittest.gtestjs', |
'browser/resources/print_preview/print_preview_utils_unittest.gtestjs', |
'renderer/resources/extensions/notifications_custom_bindings.gtestjs', |
@@ -2273,8 +2275,6 @@ |
}, |
'sources': [ |
'<@(chrome_unit_tests_sources)', |
- '<@(chrome_unit_tests_js_sources)', |
- '<@(chrome_unit_tests_gtestjs_sources)', |
], |
'conditions': [ |
['OS!="ios"', { |
@@ -2298,11 +2298,6 @@ |
'../tools/json_schema_compiler/test/json_schema_compiler_tests.gyp:json_schema_compiler_tests', |
'../ui/gl/gl.gyp:gl', |
'../ui/gl/gl.gyp:gl_test_support', |
- '../v8/tools/gyp/v8.gyp:v8', |
- ], |
- # TODO(scr): Use this in browser_tests too. |
- 'includes': [ |
- 'js_unittest_rules.gypi', |
], |
'include_dirs': [ |
'<(SHARED_INTERMEDIATE_DIR)/chrome', |
@@ -2346,7 +2341,20 @@ |
], |
}], |
['OS!="android" and OS!="ios"', { |
- 'sources': [ '<@(chrome_unit_tests_non_mobile_sources)' ], |
+ 'dependencies': [ |
+ '../v8/tools/gyp/v8.gyp:v8', |
+ ], |
+ 'includes': [ |
+ 'js_unittest_rules.gypi', |
+ ], |
+ 'include_dirs': [ |
+ '<(SHARED_INTERMEDIATE_DIR)/chrome', |
+ ], |
+ 'sources': [ |
+ '<@(chrome_unit_tests_non_mobile_sources)', |
+ '<@(chrome_unit_tests_js_sources)', |
+ '<@(chrome_unit_tests_gtestjs_sources)', |
+ ], |
}], |
['chromeos==1', { |
'sources!': [ |