Index: build/java.gypi |
diff --git a/build/java.gypi b/build/java.gypi |
index f3c0cdab2409dc15dfdd212c67c037715f88daa8..fdcbe576652a7438bd60734f59797f7e171c5215 100644 |
--- a/build/java.gypi |
+++ b/build/java.gypi |
@@ -231,6 +231,27 @@ |
] |
}, |
{ |
+ 'action_name': 'jar_toc_<(_target_name)', |
+ 'message': 'Creating <(_target_name) jar.TOC', |
+ 'inputs': [ |
+ '<(DEPTH)/build/android/gyp/util/build_utils.py', |
+ '<(DEPTH)/build/android/gyp/util/md5_check.py', |
+ '<(DEPTH)/build/android/gyp/jar_toc.py', |
+ '<(jar_path)', |
+ ], |
+ 'outputs': [ |
+ '<(jar_path).TOC', |
+ ], |
+ 'action': [ |
+ 'python', '<(DEPTH)/build/android/gyp/jar_toc.py', |
+ '--jar-path=<(jar_path)', |
+ '--toc-path=<(jar_path).TOC', |
+ |
+ # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja. |
+ '--ignore=>!(echo \'>(_inputs)\' | md5sum)', |
+ ] |
+ }, |
+ { |
'action_name': 'dex_<(_target_name)', |
'message': 'Dexing <(_target_name) jar', |
'inputs': [ |