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

Side by Side Diff: build/java_apk.gypi

Issue 595933003: Re-invent page aligning libraries in APK file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« build/android/rezip/rezip.cc ('K') | « build/android/rezip/rezip.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 # 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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 'action_name': 'finalize standalone apk', 491 'action_name': 'finalize standalone apk',
492 'variables': { 492 'variables': {
493 'input_apk_path': '<(unsigned_standalone_apk_path)', 493 'input_apk_path': '<(unsigned_standalone_apk_path)',
494 'output_apk_path': '<(final_apk_path)', 494 'output_apk_path': '<(final_apk_path)',
495 }, 495 },
496 'includes': [ 'android/finalize_apk_action.gypi'] 496 'includes': [ 'android/finalize_apk_action.gypi']
497 }, 497 },
498 ], 498 ],
499 'dependencies': [ 499 'dependencies': [
500 '<(DEPTH)/build/android/rezip.gyp:rezip#host', 500 '<(DEPTH)/build/android/rezip.gyp:rezip#host',
501 '<(DEPTH)/build/android/rezip.gyp:prealign',
rmcilroy 2014/09/29 11:38:33 you only need this for host right? (e.g., ...preal
Anton 2014/09/29 16:30:17 prealign#host does not work because Java rules don
501 ], 502 ],
502 }], 503 }],
503 ['gyp_managed_install == 1', { 504 ['gyp_managed_install == 1', {
504 'actions': [ 505 'actions': [
505 { 506 {
506 'action_name': 'finalize incomplete apk', 507 'action_name': 'finalize incomplete apk',
507 'variables': { 508 'variables': {
508 'input_apk_path': '<(unsigned_apk_path)', 509 'input_apk_path': '<(unsigned_apk_path)',
509 'output_apk_path': '<(incomplete_apk_path)', 510 'output_apk_path': '<(incomplete_apk_path)',
510 }, 511 },
(...skipping 15 matching lines...) Expand all
526 'python', '<(DEPTH)/build/android/gyp/apk_install.py', 527 'python', '<(DEPTH)/build/android/gyp/apk_install.py',
527 '--apk-path=<(incomplete_apk_path)', 528 '--apk-path=<(incomplete_apk_path)',
528 '--build-device-configuration=<(build_device_config_path)', 529 '--build-device-configuration=<(build_device_config_path)',
529 '--install-record=<(apk_install_record)', 530 '--install-record=<(apk_install_record)',
530 '--configuration-name=<(CONFIGURATION_NAME)', 531 '--configuration-name=<(CONFIGURATION_NAME)',
531 ], 532 ],
532 }, 533 },
533 ], 534 ],
534 'dependencies': [ 535 'dependencies': [
535 '<(DEPTH)/build/android/rezip.gyp:rezip#host', 536 '<(DEPTH)/build/android/rezip.gyp:rezip#host',
537 '<(DEPTH)/build/android/rezip.gyp:prealign',
rmcilroy 2014/09/29 11:38:33 ditto
Anton 2014/09/29 16:30:17 Acknowledged.
536 ], 538 ],
537 }], 539 }],
538 ['is_test_apk == 1', { 540 ['is_test_apk == 1', {
539 'dependencies': [ 541 'dependencies': [
540 '<(DEPTH)/tools/android/android_tools.gyp:android_tools', 542 '<(DEPTH)/tools/android/android_tools.gyp:android_tools',
541 ] 543 ]
542 }], 544 }],
543 ], 545 ],
544 'dependencies': [ 546 'dependencies': [
545 '<(DEPTH)/tools/android/md5sum/md5sum.gyp:md5sum', 547 '<(DEPTH)/tools/android/md5sum/md5sum.gyp:md5sum',
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 '-DEMMA_INSTRUMENT=<(emma_instrument)', 899 '-DEMMA_INSTRUMENT=<(emma_instrument)',
898 '-DEMMA_DEVICE_JAR=<(emma_device_jar)', 900 '-DEMMA_DEVICE_JAR=<(emma_device_jar)',
899 901
900 '-Dbasedir=.', 902 '-Dbasedir=.',
901 '-buildfile', 903 '-buildfile',
902 '<(DEPTH)/build/android/ant/apk-package.xml', 904 '<(DEPTH)/build/android/ant/apk-package.xml',
903 ] 905 ]
904 }, 906 },
905 ], 907 ],
906 } 908 }
OLDNEW
« build/android/rezip/rezip.cc ('K') | « build/android/rezip/rezip.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698