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

Unified Diff: Source/bindings/scripts/find-identical.sh

Issue 15801003: IDL parser rewrite in Python (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: [WIP] Full parser Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/bindings/scripts/find-identical.sh
diff --git a/Source/bindings/scripts/find-identical.sh b/Source/bindings/scripts/find-identical.sh
new file mode 100755
index 0000000000000000000000000000000000000000..c74221789528f11acc269999db775125e9881e64
--- /dev/null
+++ b/Source/bindings/scripts/find-identical.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+# Find JSON files that are identical
+BLINK_DIR='/w/chr/src/third_party/WebKit'
+PY_JSON_DIR="$BLINK_DIR/Source/bindings/scripts/JSON"
+PL_JSON_DIR="$HOME/JSON-pl"
+for PY_JSON in $PY_JSON_DIR/*.json
+do
+ BASENAME=$(basename $PY_JSON)
+ PL_JSON="$PL_JSON_DIR/$BASENAME"
+ if cmp --quiet "$PY_JSON" "$PL_JSON"
+ then
+ echo "$BASENAME"
+ fi
+done

Powered by Google App Engine
This is Rietveld 408576698