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

Unified Diff: components/components_tests.gypi

Issue 11842003: Add components tests (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 11 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/test/run_all_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/components_tests.gypi
diff --git a/third_party/sudden_motion_sensor/sudden_motion_sensor.gyp b/components/components_tests.gypi
similarity index 54%
copy from third_party/sudden_motion_sensor/sudden_motion_sensor.gyp
copy to components/components_tests.gypi
index 897421b82532c6f1eae7a47aa49f2643546b5394..537a8c0b0d77ef1783028d15b7d58d5dea936114 100644
--- a/third_party/sudden_motion_sensor/sudden_motion_sensor.gyp
+++ b/components/components_tests.gypi
@@ -5,15 +5,15 @@
{
'targets': [
{
- 'target_name': 'sudden_motion_sensor',
- 'type': 'static_library',
- 'dependencies': [
- '<(DEPTH)/base/base.gyp:base',
- ],
+ 'target_name': 'components_unittests',
+ 'type': '<(gtest_target_type)',
'sources': [
- 'sudden_motion_sensor_mac.cc',
- 'sudden_motion_sensor_mac.h',
+ 'test/run_all_unittests.cc',
+ ],
+ 'dependencies': [
+ '../base/base.gyp:test_support_base',
+ '../testing/gtest.gyp:gtest',
],
- },
- ],
+ }
+ ]
}
« no previous file with comments | « components/components.gyp ('k') | components/test/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698