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

Side by Side Diff: build/java.gypi

Issue 184103038: android: Remove unneeded md5sum class for jar.py and jar_toc.py. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
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 Java in a consistent manner. 6 # to build Java 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_java', 10 # 'target_name': 'my-package_java',
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 '<(compile_stamp)', 337 '<(compile_stamp)',
338 ], 338 ],
339 'outputs': [ 339 'outputs': [
340 '<(javac_jar_path)', 340 '<(javac_jar_path)',
341 ], 341 ],
342 'action': [ 342 'action': [
343 'python', '<(DEPTH)/build/android/gyp/jar.py', 343 'python', '<(DEPTH)/build/android/gyp/jar.py',
344 '--classes-dir=<(classes_dir)', 344 '--classes-dir=<(classes_dir)',
345 '--jar-path=<(javac_jar_path)', 345 '--jar-path=<(javac_jar_path)',
346 '--excluded-classes=<(jar_excluded_classes)', 346 '--excluded-classes=<(jar_excluded_classes)',
347
348 # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja .
349 '--ignore=>!(echo \'>(_inputs)\' | md5sum)',
350 ] 347 ]
351 }, 348 },
352 { 349 {
353 'action_name': 'instr_jar_<(_target_name)', 350 'action_name': 'instr_jar_<(_target_name)',
354 'message': 'Instrumenting <(_target_name) jar', 351 'message': 'Instrumenting <(_target_name) jar',
355 'variables': { 352 'variables': {
356 'input_path': '<(jar_path)', 353 'input_path': '<(jar_path)',
357 'output_path': '<(jar_final_path)', 354 'output_path': '<(jar_final_path)',
358 'stamp_path': '<(instr_stamp)', 355 'stamp_path': '<(instr_stamp)',
359 'instr_type': 'jar', 356 'instr_type': 'jar',
(...skipping 15 matching lines...) Expand all
375 '<(DEPTH)/build/android/gyp/jar_toc.py', 372 '<(DEPTH)/build/android/gyp/jar_toc.py',
376 '<(jar_final_path)', 373 '<(jar_final_path)',
377 ], 374 ],
378 'outputs': [ 375 'outputs': [
379 '<(jar_final_path).TOC', 376 '<(jar_final_path).TOC',
380 ], 377 ],
381 'action': [ 378 'action': [
382 'python', '<(DEPTH)/build/android/gyp/jar_toc.py', 379 'python', '<(DEPTH)/build/android/gyp/jar_toc.py',
383 '--jar-path=<(jar_final_path)', 380 '--jar-path=<(jar_final_path)',
384 '--toc-path=<(jar_final_path).TOC', 381 '--toc-path=<(jar_final_path).TOC',
385
386 # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja .
387 '--ignore=>!(echo \'>(_inputs)\' | md5sum)',
388 ] 382 ]
389 }, 383 },
390 { 384 {
391 'action_name': 'dex_<(_target_name)', 385 'action_name': 'dex_<(_target_name)',
392 'variables': { 386 'variables': {
393 'conditions': [ 387 'conditions': [
394 ['emma_instrument != 0', { 388 ['emma_instrument != 0', {
395 'dex_no_locals': 1, 389 'dex_no_locals': 1,
396 }], 390 }],
397 ], 391 ],
398 'dex_input_paths': [ '<(jar_final_path)' ], 392 'dex_input_paths': [ '<(jar_final_path)' ],
399 'output_path': '<(dex_path)', 393 'output_path': '<(dex_path)',
400 }, 394 },
401 'includes': [ 'android/dex_action.gypi' ], 395 'includes': [ 'android/dex_action.gypi' ],
402 }, 396 },
403 ], 397 ],
404 } 398 }
OLDNEW
« no previous file with comments | « build/android/gyp/jar_toc.py ('k') | build/java_apk.gypi » ('j') | build/java_apk.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698