         js-sources (if (coll? compiled)
                      (apply add-dependencies all-opts compiled)
                      (add-dependencies all-opts compiled))]
-    (println "Compiler Options:" (pr-str all-opts))
     (if (:optimizations all-opts)
       (->> js-sources
            (apply optimize all-opts)

  []
  (let [classloader (. (Thread/currentThread) (getContextClassLoader))
        upstream-deps (map #(read-string (slurp %)) (enumeration-seq (. classloader (findResources "deps.cljs"))))]
    (apply merge-with concat upstream-deps)))

(def get-upstream-deps (memoize get-upstream-deps*))

    (let [js-sources (-> externs filter-js add-target load-js)
          ups-sources (-> ups-externs filter-cp-js add-target load-js)
          all-sources (concat js-sources ups-sources)] 
      (if use-only-custom-externs
        all-sources
        (into all-sources (CommandLineRunner/getDefaultExterns))))))
