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

Unified Diff: chrome/chrome_tests.gypi

Issue 288193004: [Chromedriver] Add Device Metrics override support to ChromeDriver via Capabilities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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: chrome/chrome_tests.gypi
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi
index 4433ec474a7a97cb20a0739401181cf2fd454bce..773568030c9288847d332a6275a71fe85b212ecd 100644
--- a/chrome/chrome_tests.gypi
+++ b/chrome/chrome_tests.gypi
@@ -394,6 +394,8 @@
'<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/user_data_dir.h',
'<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/embedded_automation_extension.cc',
'<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/embedded_automation_extension.h',
+ '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/mobile_device_list.cc',
+ '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/mobile_device_list.h',
'test/chromedriver/chrome/adb.h',
'test/chromedriver/chrome/adb_impl.cc',
'test/chromedriver/chrome/adb_impl.h',
@@ -417,6 +419,8 @@
'test/chromedriver/chrome/debugger_tracker.h',
'test/chromedriver/chrome/device_manager.cc',
'test/chromedriver/chrome/device_manager.h',
+ 'test/chromedriver/chrome/device_metrics.cc',
+ 'test/chromedriver/chrome/device_metrics.h',
'test/chromedriver/chrome/devtools_client.h',
'test/chromedriver/chrome/devtools_client_impl.cc',
'test/chromedriver/chrome/devtools_client_impl.h',
@@ -437,6 +441,10 @@
'test/chromedriver/chrome/javascript_dialog_manager.h',
'test/chromedriver/chrome/log.h',
'test/chromedriver/chrome/log.cc',
+ 'test/chromedriver/chrome/mobile_device.cc',
+ 'test/chromedriver/chrome/mobile_device.h',
+ 'test/chromedriver/chrome/mobile_emulation_override_manager.cc',
+ 'test/chromedriver/chrome/mobile_emulation_override_manager.h',
'test/chromedriver/chrome/navigation_tracker.cc',
'test/chromedriver/chrome/navigation_tracker.h',
'test/chromedriver/chrome/performance_logger.h',
@@ -542,6 +550,25 @@
],
'message': 'Generating sources for embedding automation extension',
},
+ {
+ 'action_name': 'embed_mobile_devices_in_cpp',
+ 'inputs': [
+ 'test/chromedriver/cpp_source.py',
+ 'test/chromedriver/embed_mobile_devices_in_cpp.py',
+ '../third_party/WebKit/Source/devtools/front_end/elements/OverridesView.js',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/mobile_device_list.cc',
+ '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome/mobile_device_list.h',
+ ],
+ 'action': [ 'python',
+ 'test/chromedriver/embed_mobile_devices_in_cpp.py',
+ '--directory',
+ '<(SHARED_INTERMEDIATE_DIR)/chrome/test/chromedriver/chrome',
+ '../third_party/WebKit/Source/devtools/front_end/elements/OverridesView.js',
+ ],
+ 'message': 'Generating sources for embedding mobile devices in chromedriver',
+ },
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [ 4267, ],
@@ -691,6 +718,7 @@
'test/chromedriver/chrome/geolocation_override_manager_unittest.cc',
'test/chromedriver/chrome/heap_snapshot_taker_unittest.cc',
'test/chromedriver/chrome/javascript_dialog_manager_unittest.cc',
+ 'test/chromedriver/chrome/mobile_emulation_override_manager_unittest.cc',
'test/chromedriver/chrome/navigation_tracker_unittest.cc',
'test/chromedriver/chrome/performance_logger_unittest.cc',
'test/chromedriver/chrome/status_unittest.cc',

Powered by Google App Engine
This is Rietveld 408576698