summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorrginda@chromium.org <rginda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 19:26:20 +0000
committerrginda@chromium.org <rginda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 19:26:20 +0000
commite47c3203f0a02d58d0288254cfaffe05f864498a (patch)
treeb92f1aa2a1ab4fc9213a1ed9219fe84ec999e540 /build
parentc52ea7cfb37d45a6ad14d8ab61ab3ca5fc0ad46a (diff)
downloadchromium_src-e47c3203f0a02d58d0288254cfaffe05f864498a.zip
chromium_src-e47c3203f0a02d58d0288254cfaffe05f864498a.tar.gz
chromium_src-e47c3203f0a02d58d0288254cfaffe05f864498a.tar.bz2
Initial landing of file_manager component extension (not yet enabled)
This is the initial landing of a component extension to handle file open, save-as, and file management user interfaces. This is just the basic plumbing, minus any useful functionality. I've tested this by building with... $ export GYP_DEFINES='file_manager_extension=1' $ make chrome -j16 Then launch the result and visit chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj/main.html, and verify that the <h1> tab is blue, and the document contains "Hello World". BUG=chromium-os:11988 TEST= Review URL: http://codereview.chromium.org/6588053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76408 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi12
1 files changed, 12 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index effdbfe..08d9097 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -23,10 +23,14 @@
# 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
@@ -61,6 +65,7 @@
# 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)',
@@ -176,6 +181,7 @@
'enable_flapper_hacks%': '<(enable_flapper_hacks)',
'chromeos%': '<(chromeos)',
'touchui%': '<(touchui)',
+ 'file_manager_extension%': '<(file_manager_extension)',
'inside_chromium_build%': '<(inside_chromium_build)',
'fastbuild%': '<(fastbuild)',
'python_ver%': '<(python_ver)',
@@ -485,6 +491,9 @@
['touchui==1', {
'grit_defines': ['-D', 'touchui'],
}],
+ ['file_manager_extension==1', {
+ 'grit_defines': ['-D', 'file_manager_extension'],
+ }],
['remoting==1', {
'grit_defines': ['-D', 'remoting'],
}],
@@ -564,6 +573,9 @@
['touchui==1', {
'defines': ['TOUCH_UI=1'],
}],
+ ['file_manager_extension==1', {
+ 'defines': ['FILE_MANAGER_EXTENSION=1'],
+ }],
['profiling==1', {
'defines': ['ENABLE_PROFILING=1'],
}],