 
 taskManager.add 'build_chrome_app', [
   'base'
-  'ts:chrome_app'
   'copy:chrome_app'
 ].concat fullyVulcanize('chrome/app/polymer', 'ext-missing', 'vulcanized')
 
 taskManager.add('build_chrome_ext', [
   'base'
-  'ts:chrome_extension'
   'copy:chrome_extension'
   'copy:chrome_extension_additional'
   'browserify:chromeExtMain'

# CCA build tasks.
taskManager.add 'build_cca', [
  'base'
  'ts:cca'
  'copy:cca'
  'copy:cca_additional'
  'browserify:ccaMain'

            'freedom-social-wechat': '<%= pkgs.freedomwechat.version %>'
            'freedom-social-quiver': '<%= pkgs.freedomquiver.version %>'
        }]

  # One pass for code running inside freedom.js modules and another
  # for code running outside, due to the differences in the meaning
  # of the (global) freedom object between the two environments.
  ts:
    moduleEnv: compileTypescript [
      devBuildPath + '/**/*.ts'
      devBuildPath + '/interfaces/**/*.ts'
      devBuildPath + '/generic_core/**/*.ts'
      '!' + devBuildPath + '/lib/build-tools/**/*.ts'
      '!' + devBuildPath + '/integration/**/*.ts'
      '!' + devBuildPath + '/**/*.core-env.ts'
      '!' + devBuildPath + '/**/*.core-env.spec.ts'
    ]
    coreEnv: compileTypescript [
      devBuildPath + '/**/*.core-env.ts'
      devBuildPath + '/**/*.core-env.spec.ts'
      '!' + devBuildPath + '/lib/build-tools/**/*.ts'
      '!' + devBuildPath + '/integration/**/*.ts'
    ]

  browserify:
    chromeAppMain: Rule.browserify 'chrome/app/scripts/main.core-env'
