summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-05 02:05:11 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-05 02:05:11 +0000
commit9929da90886e2df0c91810766cf09b4b110218c6 (patch)
treee94f246a0c6305e7d2f9e594d0c73191fe5ac3b1 /chrome/chrome.gyp
parent58956203f3268d5b4642a8ad586fdd66ad7d9375 (diff)
downloadchromium_src-9929da90886e2df0c91810766cf09b4b110218c6.zip
chromium_src-9929da90886e2df0c91810766cf09b4b110218c6.tar.gz
chromium_src-9929da90886e2df0c91810766cf09b4b110218c6.tar.bz2
Adds toplevel app/ directory and moves ResourceBundle into it.
No changes to resource bundle yet, just the move to keep this CL as compact as possible. Adds new vcproj and gyp file for app dir. http://crbug.com/11387 Review URL: http://codereview.chromium.org/100354 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15264 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r--chrome/chrome.gyp38
1 files changed, 33 insertions, 5 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index e52bbce..c2afd27 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -108,6 +108,35 @@
},
},
{
+ 'target_name': 'app_base',
+ 'type': '<(library)',
+ 'msvs_guid': '4631946D-7D5F-44BD-A5A8-504C0A7033BE',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../base/base.gyp:base_gfx',
+ '../net/net.gyp:net',
+ '../skia/skia.gyp:skia',
+ '../third_party/icu38/icu38.gyp:icui18n',
+ '../third_party/icu38/icu38.gyp:icuuc',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ # All .cc, .h, and .mm files under app/ except for tests.
+ '../app/resource_bundle.cc',
+ '../app/resource_bundle.h',
+ '../app/resource_bundle_win.cc',
+ '../app/resource_bundle_linux.cc',
+ '../app/resource_bundle_mac.mm',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '..',
+ ],
+ },
+ },
+ {
# theme_resources also generates a .cc file, so it can't use the rules above.
'target_name': 'theme_resources',
'type': 'none',
@@ -145,6 +174,7 @@
'target_name': 'common',
'type': '<(library)',
'dependencies': [
+ 'app_base',
'chrome_resources',
'chrome_strings',
'../base/base.gyp:base',
@@ -331,11 +361,6 @@
'common/ref_counted_util.h',
'common/render_messages.h',
'common/render_messages_internal.h',
- 'common/resource_bundle.cc',
- 'common/resource_bundle.h',
- 'common/resource_bundle_linux.cc',
- 'common/resource_bundle_mac.mm',
- 'common/resource_bundle_win.cc',
'common/resource_dispatcher.cc',
'common/resource_dispatcher.h',
'common/result_codes.h',
@@ -388,6 +413,9 @@
'..',
],
},
+ 'export_dependent_settings': [
+ 'app_base',
+ ],
'conditions': [
['OS=="linux"', {
'dependencies': [