Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3101)

Unified Diff: chrome/chrome_exe.gypi

Issue 9307019: Cleanup: Merge some OS specific sections in chrome/*.gypi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_exe.gypi
===================================================================
--- chrome/chrome_exe.gypi (revision 119941)
+++ chrome/chrome_exe.gypi (working copy)
@@ -162,6 +162,29 @@
'app/chrome_main_delegate.h',
],
}],
+ ['OS=="linux"', {
+ 'conditions': [
+ ['branding=="Chrome"', {
+ 'dependencies': [
+ 'linux_installer_configs',
+ ],
+ }],
+ ['selinux==0', {
+ 'dependencies': [
+ '../sandbox/sandbox.gyp:sandbox',
+ ],
+ }],
+ # For now, do not build nacl_helper when disable_nacl=1
+ # or when arm is enabled
+ # http://code.google.com/p/gyp/issues/detail?id=239
+ ['disable_nacl==0 and target_arch!="arm"', {
+ 'dependencies': [
+ '../native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gyp:nacl_helper_bootstrap',
+ 'nacl_helper',
+ ],
+ }],
+ ],
+ }],
['OS=="mac"', {
# 'branding' is a variable defined in common.gypi
# (e.g. "Chromium", "Chrome")
@@ -241,6 +264,9 @@
'CHROMIUM_SHORT_NAME': '<(branding)',
},
'dependencies': [
+ # On Mac, make sure we've built chrome_dll, which contains all of
+ # the library code with Chromium functionality.
+ 'chrome_dll',
'helper_app',
'infoplist_strings_tool',
'interpose_dependency_shim',
@@ -381,23 +407,8 @@
],
},
], # postbuilds
- }],
- ['OS=="linux"', {
+ }, { # OS != "mac"
'conditions': [
- ['branding=="Chrome"', {
- 'dependencies': [
- 'linux_installer_configs',
- ],
- }],
- ['selinux==0', {
- 'dependencies': [
- '../sandbox/sandbox.gyp:sandbox',
- ],
- }],
- ],
- }],
- ['OS != "mac"', {
- 'conditions': [
# TODO: add a:
# 'product_name': 'chromium'
# whenever we convert the rest of the infrastructure
@@ -422,26 +433,6 @@
'../third_party/adobe/flash/flash_player.gyp:flash_player',
],
}],
- ['OS=="linux"', {
- 'conditions': [
- # For now, do not build nacl_helper when disable_nacl=1
- # or when arm is enabled
- # http://code.google.com/p/gyp/issues/detail?id=239
- ['disable_nacl==0 and target_arch!="arm"', {
- 'dependencies': [
- '../native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gyp:nacl_helper_bootstrap',
- 'nacl_helper',
- ],
- }],
- ],
- }],
- ['OS=="mac"', {
- 'dependencies': [
- # On Mac, make sure we've built chrome_dll, which contains all of
- # the library code with Chromium functionality.
- 'chrome_dll',
- ],
- }],
['OS=="mac" and asan==1', {
'xcode_settings': {
# Override the outer definition of CHROMIUM_STRIP_SAVE_FILE.
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698