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

Side by Side Diff: build/java_apk.gypi

Issue 13044007: Fix the Android.mk gyp backend. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 ], 328 ],
329 'outputs': [ 329 'outputs': [
330 '<(dex_path)', 330 '<(dex_path)',
331 ], 331 ],
332 'action': [ 332 'action': [
333 'python', '<(DEPTH)/build/android/dex.py', 333 'python', '<(DEPTH)/build/android/dex.py',
334 '--dex-path=<(dex_path)', 334 '--dex-path=<(dex_path)',
335 '--android-sdk-root=<(android_sdk_root)', 335 '--android-sdk-root=<(android_sdk_root)',
336 336
337 # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja . 337 # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja .
338 '--ignore=>!(echo >(_inputs) | md5sum)', 338 '--ignore=>!(echo \'>(_inputs)\' | md5sum)',
339 339
340 '>@(dex_inputs)', 340 '>@(dex_inputs)',
341 '>@(dex_generated_inputs)', 341 '>@(dex_generated_inputs)',
342 ] 342 ]
343 }, 343 },
344 { 344 {
345 'action_name': 'ant_package_<(_target_name)', 345 'action_name': 'ant_package_<(_target_name)',
346 'message': 'Packaging <(_target_name).', 346 'message': 'Packaging <(_target_name).',
347 'inputs': [ 347 'inputs': [
348 '<(DEPTH)/build/android/ant/apk-package.xml', 348 '<(DEPTH)/build/android/ant/apk-package.xml',
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 388
389 # Add list of inputs to the command line, so if inputs change 389 # Add list of inputs to the command line, so if inputs change
390 # (e.g. if a Java file is removed), the command will be re-run. 390 # (e.g. if a Java file is removed), the command will be re-run.
391 # TODO(newt): remove this once crbug.com/177552 is fixed in ninja. 391 # TODO(newt): remove this once crbug.com/177552 is fixed in ninja.
392 '-DTHIS_IS_IGNORED=>!(echo \'>(_inputs)\' | md5sum)', 392 '-DTHIS_IS_IGNORED=>!(echo \'>(_inputs)\' | md5sum)',
393 393
394 ] 394 ]
395 }, 395 },
396 ], 396 ],
397 } 397 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698