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

Unified Diff: tools/android/timemodified/timemodified.gyp

Issue 17467003: [android] Switch test scripts to use last modified time instead of md5sum when checking dependencie… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments on timemodified.cc Created 7 years, 6 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: tools/android/timemodified/timemodified.gyp
diff --git a/tools/android/md5sum/md5sum.gyp b/tools/android/timemodified/timemodified.gyp
similarity index 62%
copy from tools/android/md5sum/md5sum.gyp
copy to tools/android/timemodified/timemodified.gyp
index 0056845b45d94cfeeb34a21f08b3b30cc6c70580..c1b75bc18e3cd1e8ddb12c50d7505ee00e47e200 100644
--- a/tools/android/md5sum/md5sum.gyp
+++ b/tools/android/timemodified/timemodified.gyp
@@ -5,22 +5,22 @@
{
'targets': [
{
- 'target_name': 'md5sum',
+ 'target_name': 'timemodified',
'type': 'none',
'dependencies': [
- 'md5sum_stripped_device_bin',
- 'md5sum_bin_host#host',
+ 'timemodified_stripped_device_bin',
+ 'timemodified_bin_host#host',
],
# For the component build, ensure dependent shared libraries are stripped
- # and put alongside md5sum to simplify pushing to the device.
+ # and put alongside timemodified to simplify pushing to the device.
'variables': {
- 'output_dir': '<(PRODUCT_DIR)/md5sum_dist/',
- 'native_binary': '<(PRODUCT_DIR)/md5sum_bin',
+ 'output_dir': '<(PRODUCT_DIR)/timemodified_dist/',
+ 'native_binary': '<(PRODUCT_DIR)/timemodified_bin',
},
'includes': ['../../../build/android/native_app_dependencies.gypi'],
},
{
- 'target_name': 'md5sum_device_bin',
+ 'target_name': 'timemodified_device_bin',
'type': 'executable',
'dependencies': [
'../../../base/base.gyp:base',
@@ -29,20 +29,20 @@
'../../..',
],
'sources': [
- 'md5sum.cc',
+ 'timemodified.cc',
],
},
{
- 'target_name': 'md5sum_stripped_device_bin',
+ 'target_name': 'timemodified_stripped_device_bin',
'type': 'none',
'dependencies': [
- 'md5sum_device_bin',
+ 'timemodified_device_bin',
],
'actions': [
{
- 'action_name': 'strip_md5sum_device_bin',
- 'inputs': ['<(PRODUCT_DIR)/md5sum_device_bin'],
- 'outputs': ['<(PRODUCT_DIR)/md5sum_bin'],
+ 'action_name': 'strip_timemodified_device_bin',
+ 'inputs': ['<(PRODUCT_DIR)/timemodified_device_bin'],
+ 'outputs': ['<(PRODUCT_DIR)/timemodified_bin'],
'action': [
'<(android_strip)',
'--strip-unneeded',
@@ -55,7 +55,7 @@
},
# Same binary but for the host rather than the device.
{
- 'target_name': 'md5sum_bin_host',
+ 'target_name': 'timemodified_bin_host',
'toolsets': ['host'],
'type': 'executable',
'dependencies': [
@@ -65,7 +65,7 @@
'../../..',
],
'sources': [
- 'md5sum.cc',
+ 'timemodified.cc',
],
},
],
« tools/android/timemodified/timemodified.cc ('K') | « tools/android/timemodified/timemodified.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698