Commit cc9f4384 authored by finnur@chromium.org's avatar finnur@chromium.org

Create a project for maintaining default extensions.

This project is responsible for listing and copying the 
extensions we want to ship with Chrome by default. It 
copies the .crx files listed in the project plus a
.json file from:
  src\chrome\browser\extensions\default_extensions
to
  debug\extensions

... where the mini_installer will pick them up. At the
moment only the json file is getting copied, but we can
add .crx files when they are ready.

BUG=None
TEST=I will give a build to QA for testing this.

Review URL: http://codereview.chromium.org/155016

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19889 0039d316-1c4b-4281-b951-d872f2087c98
parent ca60ca74
...@@ -247,6 +247,23 @@ ...@@ -247,6 +247,23 @@
}], }],
], ],
}, },
{
'target_name': 'default_extensions',
'type': 'none',
'msvs_guid': 'DA9BAB64-91DC-419B-AFDE-6FF8C569E83A',
'conditions': [
['OS=="win"', {
'copies': [
{
'destination': '<(PRODUCT_DIR)/extensions',
'files': [
'browser/extensions/default_extensions/external_extensions.json'
]
}
],
}],
],
},
{ {
'target_name': 'common', 'target_name': 'common',
'type': '<(library)', 'type': '<(library)',
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
'dependencies': [ 'dependencies': [
'../chrome.gyp:chrome', '../chrome.gyp:chrome',
'../chrome.gyp:chrome_dll', '../chrome.gyp:chrome_dll',
'../chrome.gyp:default_extensions',
'../../testing/gtest.gyp:gtest', '../../testing/gtest.gyp:gtest',
'installer.gyp:setup', 'installer.gyp:setup',
], ],
......
...@@ -26,10 +26,6 @@ ...@@ -26,10 +26,6 @@
ConfigurationType="1" ConfigurationType="1"
InheritedPropertySheets=".\mini_installer_debug.vsprops;$(SolutionDir)..\testing\using_gtest.vsprops" InheritedPropertySheets=".\mini_installer_debug.vsprops;$(SolutionDir)..\testing\using_gtest.vsprops"
> >
<Tool
Name="VCPreBuildEventTool"
CommandLine="IF NOT EXIST &quot;$(OutDir)\Extensions&quot; mkdir &quot;$(OutDir)\Extensions&quot; &amp;&amp; copy /Y &quot;$(SolutionDir)browser\extensions\external_extensions.json&quot; &quot;$(OutDir)\Extensions&quot;"
/>
<Tool <Tool
Name="Create Installer Archive" Name="Create Installer Archive"
LastChromeInstaller="$(LAST_CHROME_INSTALLER)" LastChromeInstaller="$(LAST_CHROME_INSTALLER)"
...@@ -58,10 +54,6 @@ ...@@ -58,10 +54,6 @@
ConfigurationType="1" ConfigurationType="1"
InheritedPropertySheets=".\mini_installer_release.vsprops;$(SolutionDir)..\testing\using_gtest.vsprops" InheritedPropertySheets=".\mini_installer_release.vsprops;$(SolutionDir)..\testing\using_gtest.vsprops"
> >
<Tool
Name="VCPreBuildEventTool"
CommandLine="IF NOT EXIST &quot;$(OutDir)\Extensions&quot; mkdir &quot;$(OutDir)\Extensions&quot; &amp;&amp; copy /Y &quot;$(SolutionDir)browser\extensions\external_extensions.json&quot; &quot;$(OutDir)\Extensions&quot;"
/>
<Tool <Tool
Name="Create Installer Archive" Name="Create Installer Archive"
LastChromeInstaller="$(LAST_CHROME_INSTALLER)" LastChromeInstaller="$(LAST_CHROME_INSTALLER)"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment