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

Side by Side Diff: build/java_apk.gypi

Issue 23702048: Android: make APK targets depend on md5sum. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit Created 7 years, 3 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 | « no previous file | content/content_shell.gypi » ('j') | 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 # This file is meant to be included into a target to provide a rule 5 # This file is meant to be included into a target to provide a rule
6 # to build Android APKs in a consistent manner. 6 # to build Android APKs in a consistent manner.
7 # 7 #
8 # To use this, create a gyp target with the following form: 8 # To use this, create a gyp target with the following form:
9 # { 9 # {
10 # 'target_name': 'my_package_apk', 10 # 'target_name': 'my_package_apk',
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 ], 243 ],
244 'conditions': [ 244 'conditions': [
245 ['gyp_managed_install == 1', { 245 ['gyp_managed_install == 1', {
246 'variables': { 246 'variables': {
247 'libraries_top_dir': '<(intermediate_dir)/lib.stripped', 247 'libraries_top_dir': '<(intermediate_dir)/lib.stripped',
248 'libraries_source_dir': '<(libraries_top_dir)/lib/<(android_app_abi) ', 248 'libraries_source_dir': '<(libraries_top_dir)/lib/<(android_app_abi) ',
249 'device_library_dir': '<(device_intermediate_dir)/lib.stripped', 249 'device_library_dir': '<(device_intermediate_dir)/lib.stripped',
250 'configuration_name': '<(CONFIGURATION_NAME)', 250 'configuration_name': '<(CONFIGURATION_NAME)',
251 }, 251 },
252 'dependencies': [ 252 'dependencies': [
253 '<(DEPTH)/tools/android/md5sum/md5sum.gyp:md5sum',
254 '<(DEPTH)/build/android/setup.gyp:get_build_device_configurations', 253 '<(DEPTH)/build/android/setup.gyp:get_build_device_configurations',
255 ], 254 ],
256 'actions': [ 255 'actions': [
257 { 256 {
258 'includes': ['../build/android/push_libraries.gypi'], 257 'includes': ['../build/android/push_libraries.gypi'],
259 }, 258 },
260 { 259 {
261 'action_name': 'create device library symlinks', 260 'action_name': 'create device library symlinks',
262 'message': 'Creating links on device for <(_target_name).', 261 'message': 'Creating links on device for <(_target_name).',
263 'inputs': [ 262 'inputs': [
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 ], 376 ],
378 }, 377 },
379 ], 378 ],
380 }], 379 }],
381 ['is_test_apk == 1', { 380 ['is_test_apk == 1', {
382 'dependencies': [ 381 'dependencies': [
383 '<(DEPTH)/tools/android/android_tools.gyp:android_tools', 382 '<(DEPTH)/tools/android/android_tools.gyp:android_tools',
384 ] 383 ]
385 }], 384 }],
386 ], 385 ],
386 'dependencies': [
387 '<(DEPTH)/tools/android/md5sum/md5sum.gyp:md5sum',
388 ],
387 'actions': [ 389 'actions': [
388 { 390 {
389 'action_name': 'ant_codegen_<(_target_name)', 391 'action_name': 'ant_codegen_<(_target_name)',
390 'message': 'Generating R.java for <(_target_name)', 392 'message': 'Generating R.java for <(_target_name)',
391 'conditions': [ 393 'conditions': [
392 ['is_test_apk == 1', { 394 ['is_test_apk == 1', {
393 'variables': { 395 'variables': {
394 'additional_res_dirs=': [], 396 'additional_res_dirs=': [],
395 'additional_res_packages=': [], 397 'additional_res_packages=': [],
396 } 398 }
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 '<(DEPTH)/build/android/ant/apk-package.xml', 670 '<(DEPTH)/build/android/ant/apk-package.xml',
669 671
670 # Add list of inputs to the command line, so if inputs change 672 # Add list of inputs to the command line, so if inputs change
671 # (e.g. if a Java file is removed), the command will be re-run. 673 # (e.g. if a Java file is removed), the command will be re-run.
672 # TODO(newt): remove this once crbug.com/177552 is fixed in ninja. 674 # TODO(newt): remove this once crbug.com/177552 is fixed in ninja.
673 '-DTHIS_IS_IGNORED=>!(echo \'>(_inputs)\' | md5sum)', 675 '-DTHIS_IS_IGNORED=>!(echo \'>(_inputs)\' | md5sum)',
674 ] 676 ]
675 }, 677 },
676 ], 678 ],
677 } 679 }
OLDNEW
« no previous file with comments | « no previous file | content/content_shell.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698