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

Unified Diff: components/components_tests.gyp

Issue 34933002: Split components_tests into a separate gyp file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 2 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
« no previous file with comments | « components/components.gyp ('k') | components/components_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/components_tests.gyp
diff --git a/components/components_tests.gypi b/components/components_tests.gyp
similarity index 83%
rename from components/components_tests.gypi
rename to components/components_tests.gyp
index 12a79dc0605938fa8ce55a26a34993780cbd9275..98f390105f168bc404fbd574ff5125d49e9de53d 100644
--- a/components/components_tests.gypi
+++ b/components/components_tests.gyp
@@ -3,6 +3,12 @@
# found in the LICENSE file.
{
+ 'variables': {
+ # This turns on e.g. the filename-based detection of which
+ # platforms to include source files on (e.g. files ending in
+ # _mac.h or _mac.cc are only compiled on MacOSX).
+ 'chromium_code': 1,
+ },
'conditions': [
['android_webview_build == 0', {
'targets': [
@@ -49,55 +55,55 @@
'../testing/gtest.gyp:gtest',
# Dependencies of autofill
- 'autofill_core_common',
+ 'components.gyp:autofill_core_common',
# Dependencies of auto_login_parser
- 'auto_login_parser',
+ 'components.gyp:auto_login_parser',
# Dependencies of browser_context_keyed_service
- 'browser_context_keyed_service',
+ 'components.gyp:browser_context_keyed_service',
# Dependencies of dom_distiller
- 'distilled_page_proto',
- 'dom_distiller_core',
+ 'components.gyp:distilled_page_proto',
+ 'components.gyp:dom_distiller_core',
# Dependencies of encryptor
- 'encryptor',
+ 'components.gyp:encryptor',
# Dependencies of json_schema
- 'json_schema',
+ 'components.gyp:json_schema',
# Dependencies of intercept_navigation_resource_throttle_unittest.cc
'../content/content_shell_and_tests.gyp:test_support_content',
'../skia/skia.gyp:skia',
- 'navigation_interception',
+ 'components.gyp:navigation_interception',
# Dependencies of policy
- 'policy_component',
+ 'components.gyp:policy_component',
# Dependencies of precache
- 'precache_core',
- 'precache_core_proto',
+ 'components.gyp:precache_core',
+ 'components.gyp:precache_core_proto',
# Dependencies of sessions
'../third_party/protobuf/protobuf.gyp:protobuf_lite',
- 'sessions',
- 'sessions_test_support',
+ 'components.gyp:sessions',
+ 'components.gyp:sessions_test_support',
# Dependencies of translate.
- 'translate_common',
- 'translate_language_detection',
+ 'components.gyp:translate_common',
+ 'components.gyp:translate_language_detection',
# Dependencies of variations
- 'variations',
+ 'components.gyp:variations',
# Dependencies of visitedlink
- 'visitedlink_browser',
- 'visitedlink_renderer',
+ 'components.gyp:visitedlink_browser',
+ 'components.gyp:visitedlink_renderer',
'../content/content_resources.gyp:content_resources',
- 'web_modal',
- 'web_modal_test_support',
+ 'components.gyp:web_modal',
+ 'components.gyp:web_modal_test_support',
],
'conditions': [
['OS == "ios"', {
@@ -121,8 +127,8 @@
'web_modal/web_contents_modal_dialog_manager_unittest.cc',
],
'dependencies!': [
- 'web_modal',
- 'web_modal_test_support',
+ 'components.gyp:web_modal',
+ 'components.gyp:web_modal_test_support',
],
}],
['OS == "android" and gtest_target_type == "shared_library"', {
@@ -165,7 +171,7 @@
'../content/content_shell_and_tests.gyp:test_support_content',
'../testing/gtest.gyp:gtest',
'../ui/compositor/compositor.gyp:compositor',
- 'visitedlink_browser',
+ 'components.gyp:visitedlink_browser',
],
'include_dirs': [
'..',
« no previous file with comments | « components/components.gyp ('k') | components/components_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698