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

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, 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 unified diff | Download patch | Annotate | Revision Log
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 ], 33 ],
34 }, 34 },
35 { 35 {
36 'target_name': 'md5sum_stripped_device_bin', 36 'target_name': 'timemodified_stripped_device_bin',
37 'type': 'none', 37 'type': 'none',
38 'dependencies': [ 38 'dependencies': [
39 'md5sum_device_bin', 39 'timemodified_device_bin',
40 ], 40 ],
41 'actions': [ 41 'actions': [
42 { 42 {
43 'action_name': 'strip_md5sum_device_bin', 43 'action_name': 'strip_timemodified_device_bin',
44 'inputs': ['<(PRODUCT_DIR)/md5sum_device_bin'], 44 'inputs': ['<(PRODUCT_DIR)/timemodified_device_bin'],
45 'outputs': ['<(PRODUCT_DIR)/md5sum_bin'], 45 'outputs': ['<(PRODUCT_DIR)/timemodified_bin'],
46 'action': [ 46 'action': [
47 '<(android_strip)', 47 '<(android_strip)',
48 '--strip-unneeded', 48 '--strip-unneeded',
49 '<@(_inputs)', 49 '<@(_inputs)',
50 '-o', 50 '-o',
51 '<@(_outputs)', 51 '<@(_outputs)',
52 ], 52 ],
53 }, 53 },
54 ], 54 ],
55 }, 55 },
56 # Same binary but for the host rather than the device. 56 # Same binary but for the host rather than the device.
57 { 57 {
58 'target_name': 'md5sum_bin_host', 58 'target_name': 'timemodified_bin_host',
59 'toolsets': ['host'], 59 'toolsets': ['host'],
60 'type': 'executable', 60 'type': 'executable',
61 'dependencies': [ 61 'dependencies': [
62 '../../../base/base.gyp:base', 62 '../../../base/base.gyp:base',
63 ], 63 ],
64 'include_dirs': [ 64 'include_dirs': [
65 '../../..', 65 '../../..',
66 ], 66 ],
67 'sources': [ 67 'sources': [
68 'md5sum.cc', 68 'timemodified.cc',
69 ], 69 ],
70 }, 70 },
71 ], 71 ],
72 } 72 }
OLDNEW
« 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