Made full tab file browser to open automatically when a new disk device is properly mounted.
BUG=chromium-os:14215
TEST=plug in SD card or USB key, observe file browser opens and navigates to that new device
Review URL: http://codereview.chromium.org/6865033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81881 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/build/common.gypi b/build/common.gypi
index 3eab5ac..63331603 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -23,14 +23,10 @@
# Disable touch support by default.
'touchui%': 0,
-
- # Disable file manager component extension by default.
- 'file_manager_extension%': 0,
},
# Copy conditionally-set variables out one scope.
'chromeos%': '<(chromeos)',
'touchui%': '<(touchui)',
- 'file_manager_extension%': '<(file_manager_extension)',
# To do a shared build on linux we need to be able to choose between
# type static_library and shared_library. We default to doing a static
@@ -65,7 +61,6 @@
# Copy conditionally-set variables out one scope.
'chromeos%': '<(chromeos)',
'touchui%': '<(touchui)',
- 'file_manager_extension%': '<(file_manager_extension)',
'host_arch%': '<(host_arch)',
'library%': '<(library)',
'toolkit_views%': '<(toolkit_views)',
@@ -96,6 +91,9 @@
# compilation.
'fastbuild%': 0,
+ # Disable file manager component extension by default.
+ 'file_manager_extension%': 0,
+
# Python version.
'python_ver%': '2.5',
@@ -167,6 +165,13 @@
}, {
'enable_flapper_hacks%': 0,
}],
+
+ # Enable file manager extension by default on Chrome OS.
+ ['chromeos==1', {
+ 'file_manager_extension%': 1,
+ }, {
+ 'file_manager_extension%': 0,
+ }],
],
},