summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_browser.gypi
diff options
context:
space:
mode:
authorfeldstein@chromium.org <feldstein@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-17 19:48:51 +0000
committerfeldstein@chromium.org <feldstein@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-17 19:48:51 +0000
commitb7b9e034719610e59a4577043f326dd5b6a27640 (patch)
tree2964b6caa39ef4e0f2e9754308b9d51c46491624 /chrome/chrome_browser.gypi
parent3cb4fcb29392b9c45fc367cf52981e88437e095f (diff)
downloadchromium_src-b7b9e034719610e59a4577043f326dd5b6a27640.zip
chromium_src-b7b9e034719610e59a4577043f326dd5b6a27640.tar.gz
chromium_src-b7b9e034719610e59a4577043f326dd5b6a27640.tar.bz2
Refactor the bookmark_manager copying target
Fix the "mystery target" solution from the last CL, move everything into chrome_browser.gypi and have the browser target dependent on component_extensions. Fixes the confusion introduced in http://codereview.chromium.org/775001/show Review URL: http://codereview.chromium.org/985005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41862 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_browser.gypi')
-rwxr-xr-xchrome/chrome_browser.gypi84
1 files changed, 84 insertions, 0 deletions
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index 8c33067..8d06735 100755
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -12,6 +12,7 @@
'common',
'chrome_resources',
'chrome_strings',
+ 'component_extensions',
'platform_locale_settings',
'sync_proto',
'theme_resources',
@@ -2984,6 +2985,89 @@
}],
],
},
+ {
+ 'target_name': 'component_extensions',
+ 'type': 'none',
+ 'msvs_guid': '50B52703-525F-404C-BFE2-C46D3375D73E',
+ # TODO(aa): Once the msvs port supports it, change this to recursively
+ # copy the entire directory instead of listing the files.
+ # http://code.google.com/p/gyp/issues/detail?id=143.
+ 'copies': [
+ {
+ 'destination': '<(PRODUCT_DIR)/resources/bookmark_manager',
+ 'files': [
+ 'browser/resources/bookmark_manager/main.html',
+ 'browser/resources/bookmark_manager/manifest.json',
+ ]
+ },
+ {
+ 'destination': '<(PRODUCT_DIR)/resources/bookmark_manager/css',
+ 'files': [
+ 'browser/resources/bookmark_manager/css/bmm.css',
+ 'browser/resources/bookmark_manager/css/bmm.css.js',
+ 'browser/resources/bookmark_manager/css/list.css',
+ 'browser/resources/bookmark_manager/css/menu.css',
+ 'browser/resources/bookmark_manager/css/tree.css',
+ 'browser/resources/bookmark_manager/css/tree.css.js',
+ ]
+ },
+ {
+ 'destination': '<(PRODUCT_DIR)/resources/bookmark_manager/js',
+ 'files': [
+ 'browser/resources/bookmark_manager/js/bmm.js',
+ 'browser/resources/bookmark_manager/js/cr.js',
+ 'browser/resources/bookmark_manager/js/i18ntemplate.js',
+ 'browser/resources/bookmark_manager/js/localstrings.js',
+ 'browser/resources/bookmark_manager/js/util.js',
+ ]
+ },
+ {
+ 'destination': '<(PRODUCT_DIR)/resources/bookmark_manager/js/cr',
+ 'files': [
+ 'browser/resources/bookmark_manager/js/cr/event.js',
+ 'browser/resources/bookmark_manager/js/cr/eventtarget.js',
+ 'browser/resources/bookmark_manager/js/cr/promise.js',
+ 'browser/resources/bookmark_manager/js/cr/ui.js',
+ ]
+ },
+ {
+ 'destination': '<(PRODUCT_DIR)/resources/bookmark_manager/js/cr/ui',
+ 'files': [
+ 'browser/resources/bookmark_manager/js/cr/ui/menuitem.js',
+ 'browser/resources/bookmark_manager/js/cr/ui/command.js',
+ 'browser/resources/bookmark_manager/js/cr/ui/menubutton.js',
+ 'browser/resources/bookmark_manager/js/cr/ui/list.js',
+ 'browser/resources/bookmark_manager/js/cr/ui/tree.js',
+ 'browser/resources/bookmark_manager/js/cr/ui/listselectionmodel.js',
+ 'browser/resources/bookmark_manager/js/cr/ui/menu.js',
+ 'browser/resources/bookmark_manager/js/cr/ui/listitem.js',
+ 'browser/resources/bookmark_manager/js/cr/ui/contextmenuhandler.js',
+ ]
+ },
+ {
+ 'destination': '<(PRODUCT_DIR)/resources/bookmark_manager/js/bmm',
+ 'files': [
+ 'browser/resources/bookmark_manager/js/bmm/bookmarklist.js',
+ 'browser/resources/bookmark_manager/js/bmm/bookmarktree.js',
+ 'browser/resources/bookmark_manager/js/bmm/treeiterator.js',
+ ]
+ },
+ {
+ 'destination': '<(PRODUCT_DIR)/resources/bookmark_manager/images',
+ 'files': [
+ 'browser/resources/bookmark_manager/images/folder_open_rtl.png',
+ 'browser/resources/bookmark_manager/images/folder_open.png',
+ 'browser/resources/bookmark_manager/images/bookmark_manager_recent.png',
+ 'browser/resources/bookmark_manager/images/bookmark_bar_folder_mac.png',
+ 'browser/resources/bookmark_manager/images/bookmarks_favicon.png',
+ 'browser/resources/bookmark_manager/images/bookmarks_section.png',
+ 'browser/resources/bookmark_manager/images/folder_closed.png',
+ 'browser/resources/bookmark_manager/images/bookmark_manager_search.png',
+ 'browser/resources/bookmark_manager/images/folder_closed_rtl.png',
+ ]
+ },
+ ]
+ },
],
}