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

Side by Side 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: Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/android/timemodified/timemodified.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'md5sum', 8 'target_name': 'timemodified',
9 'type': 'none', 9 'type': 'none',
10 'dependencies': [ 10 'dependencies': [
11 'md5sum_stripped_device_bin', 11 'timemodified_stripped_device_bin',
12 'md5sum_bin_host#host', 12 'timemodified_bin_host#host',
13 ], 13 ],
14 # For the component build, ensure dependent shared libraries are stripped 14 # For the component build, ensure dependent shared libraries are stripped
15 # and put alongside md5sum to simplify pushing to the device. 15 # and put alongside timemodified to simplify pushing to the device.
16 'variables': { 16 'variables': {
17 'output_dir': '<(PRODUCT_DIR)/md5sum_dist/', 17 'output_dir': '<(PRODUCT_DIR)/timemodified_dist/',
18 'native_binary': '<(PRODUCT_DIR)/md5sum_bin', 18 'native_binary': '<(PRODUCT_DIR)/timemodified_bin',
19 }, 19 },
20 'includes': ['../../../build/android/native_app_dependencies.gypi'], 20 'includes': ['../../../build/android/native_app_dependencies.gypi'],
21 }, 21 },
22 { 22 {
23 'target_name': 'md5sum_device_bin', 23 'target_name': 'timemodified_device_bin',
24 'type': 'executable', 24 'type': 'executable',
25 'dependencies': [ 25 'dependencies': [
26 '../../../base/base.gyp:base', 26 '../../../base/base.gyp:base',
27 ], 27 ],
28 'include_dirs': [ 28 'include_dirs': [
29 '../../..', 29 '../../..',
30 ], 30 ],
31 'sources': [ 31 'sources': [
32 'md5sum.cc', 32 'timemodified.cc',
33 ],
34 'conditions': [
35 [ 'order_profiling!=0 and OS=="android"', {
36 'dependencies': [ '../../../tools/cygprofile/cygprofile.gyp:cygprofi le', ],
37 }],
38 ], 33 ],
39 }, 34 },
40 { 35 {
41 'target_name': 'md5sum_stripped_device_bin', 36 'target_name': 'timemodified_stripped_device_bin',
42 'type': 'none', 37 'type': 'none',
43 'dependencies': [ 38 'dependencies': [
44 'md5sum_device_bin', 39 'timemodified_device_bin',
45 ], 40 ],
46 'actions': [ 41 'actions': [
47 { 42 {
48 'action_name': 'strip_md5sum_device_bin', 43 'action_name': 'strip_timemodified_device_bin',
49 'inputs': ['<(PRODUCT_DIR)/md5sum_device_bin'], 44 'inputs': ['<(PRODUCT_DIR)/timemodified_device_bin'],
50 'outputs': ['<(PRODUCT_DIR)/md5sum_bin'], 45 'outputs': ['<(PRODUCT_DIR)/timemodified_bin'],
51 'action': [ 46 'action': [
52 '<(android_strip)', 47 '<(android_strip)',
53 '--strip-unneeded', 48 '--strip-unneeded',
54 '<@(_inputs)', 49 '<@(_inputs)',
55 '-o', 50 '-o',
56 '<@(_outputs)', 51 '<@(_outputs)',
57 ], 52 ],
58 }, 53 },
59 ], 54 ],
60 }, 55 },
61 # Same binary but for the host rather than the device. 56 # Same binary but for the host rather than the device.
62 { 57 {
63 'target_name': 'md5sum_bin_host', 58 'target_name': 'timemodified_bin_host',
64 'toolsets': ['host'], 59 'toolsets': ['host'],
65 'type': 'executable', 60 'type': 'executable',
66 'dependencies': [ 61 'dependencies': [
67 '../../../base/base.gyp:base', 62 '../../../base/base.gyp:base',
68 ], 63 ],
69 'include_dirs': [ 64 'include_dirs': [
70 '../../..', 65 '../../..',
71 ], 66 ],
72 'sources': [ 67 'sources': [
73 'md5sum.cc', 68 'timemodified.cc',
74 ], 69 ],
75 }, 70 },
76 ], 71 ],
77 } 72 }
OLDNEW
« no previous file with comments | « tools/android/timemodified/timemodified.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698