Home | History | Annotate | Download | only in gyp
      1 #!/bin/sh
      2 
      3 TRACING_D="$1/runtime/Tracing.d";
      4 TRACING_H="$BUILT_PRODUCTS_DIR/DerivedSources/JavaScriptCore/TracingDtrace.h";
      5 
      6 if [[ "${HAVE_DTRACE}" = "1" && "${TRACING_D}" -nt "${TRACING_H}" ]]; then
      7     dtrace -h -o "${TRACING_H}" -s "${TRACING_D}";
      8 fi;
      9 
     10