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

Side by Side Diff: chrome/chrome.gyp

Issue 203071: Linux: add support for SELinux. (Closed)
Patch Set: Created 11 years, 3 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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 8
9 # Define the common dependencies that contain all the actual 9 # Define the common dependencies that contain all the actual
10 # Chromium functionality. This list gets pulled in below by 10 # Chromium functionality. This list gets pulled in below by
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 '-lX11', 641 '-lX11',
642 '-lXrender', 642 '-lXrender',
643 '-lXext', 643 '-lXext',
644 ], 644 ],
645 }, 645 },
646 }, { # else: 'OS!="linux"' 646 }, { # else: 'OS!="linux"'
647 'sources!': [ 647 'sources!': [
648 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', 648 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc',
649 ], 649 ],
650 }], 650 }],
651 ['OS=="linux" and selinux==1', {
652 'dependencies': [
653 '../build/linux/system.gyp:selinux',
654 ],
655 }],
651 ['OS=="win"', { 656 ['OS=="win"', {
652 'include_dirs': [ 657 'include_dirs': [
653 'third_party/wtl/include', 658 'third_party/wtl/include',
654 ], 659 ],
655 'sources!': [ 660 'sources!': [
656 'common/temp_scaffolding_stubs.cc', 661 'common/temp_scaffolding_stubs.cc',
657 'common/temp_scaffolding_stubs.h', 662 'common/temp_scaffolding_stubs.h',
658 ], 663 ],
659 }, { # else: OS != "win" 664 }, { # else: OS != "win"
660 'sources!': [ 665 'sources!': [
(...skipping 2717 matching lines...) Expand 10 before | Expand all | Expand 10 after
3378 }], 3383 }],
3379 ], 3384 ],
3380 }], 3385 }],
3381 ['OS=="linux"', { 3386 ['OS=="linux"', {
3382 'conditions': [ 3387 'conditions': [
3383 ['branding=="Chrome"', { 3388 ['branding=="Chrome"', {
3384 'dependencies': [ 3389 'dependencies': [
3385 'installer/installer.gyp:installer_util', 3390 'installer/installer.gyp:installer_util',
3386 ], 3391 ],
3387 }], 3392 }],
3388 ], 3393 ['selinux==0', {
3389 'dependencies': [ 3394 'dependencies': [
3390 '../sandbox/sandbox.gyp:sandbox', 3395 '../sandbox/sandbox.gyp:sandbox',
3396 ],
3397 }],
3391 ], 3398 ],
3392 }], 3399 }],
3393 ['OS=="mac" or OS=="win"', { 3400 ['OS=="mac" or OS=="win"', {
3394 'dependencies': [ 3401 'dependencies': [
3395 # On Windows and Mac, make sure we've built chrome_dll, which 3402 # On Windows and Mac, make sure we've built chrome_dll, which
3396 # contains all of the library code with Chromium functionality. 3403 # contains all of the library code with Chromium functionality.
3397 'chrome_dll', 3404 'chrome_dll',
3398 ], 3405 ],
3399 }], 3406 }],
3400 ['OS=="win"', { 3407 ['OS=="win"', {
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
4231 'test/v8_unit_test.cc', 4238 'test/v8_unit_test.cc',
4232 'test/v8_unit_test.h', 4239 'test/v8_unit_test.h',
4233 '../third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/comp act_lang_det_unittest_small.cc', 4240 '../third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/comp act_lang_det_unittest_small.cc',
4234 ], 4241 ],
4235 'conditions': [ 4242 'conditions': [
4236 ['chromeos==0', { 4243 ['chromeos==0', {
4237 'sources/': [ 4244 'sources/': [
4238 ['exclude', '^browser/chromeos'], 4245 ['exclude', '^browser/chromeos'],
4239 ], 4246 ],
4240 }], 4247 }],
4248 ['OS=="linux" and selinux==0', {
4249 'dependencies': [
4250 '../sandbox/sandbox.gyp:*',
4251 ],
4252 }],
4241 ['OS=="linux"', { 4253 ['OS=="linux"', {
4242 'dependencies': [ 4254 'dependencies': [
4243 '../build/linux/system.gyp:gtk', 4255 '../build/linux/system.gyp:gtk',
4244 '../build/linux/system.gyp:nss', 4256 '../build/linux/system.gyp:nss',
4245 '../sandbox/sandbox.gyp:*',
4246 ], 4257 ],
4247 'sources': [ 4258 'sources': [
4248 'browser/renderer_host/gtk_key_bindings_handler_unittest.cc', 4259 'browser/renderer_host/gtk_key_bindings_handler_unittest.cc',
4249 ], 4260 ],
4250 'sources!': [ 4261 'sources!': [
4251 # This test is mostly about renaming downloads to safe file 4262 # This test is mostly about renaming downloads to safe file
4252 # names. As such we don't need/want to port it to linux. We 4263 # names. As such we don't need/want to port it to linux. We
4253 # might want to write our own tests for the download manager 4264 # might want to write our own tests for the download manager
4254 # on linux, though. 4265 # on linux, though.
4255 'browser/download/download_manager_unittest.cc', 4266 'browser/download/download_manager_unittest.cc',
(...skipping 1851 matching lines...) Expand 10 before | Expand all | Expand 10 after
6107 # Use outputs of this action as inputs for the main target build. 6118 # Use outputs of this action as inputs for the main target build.
6108 # Seems as a misnomer but makes this happy on Linux (scons). 6119 # Seems as a misnomer but makes this happy on Linux (scons).
6109 'process_outputs_as_sources': 1, 6120 'process_outputs_as_sources': 1,
6110 }, 6121 },
6111 ], # 'actions' 6122 ], # 'actions'
6112 }, 6123 },
6113 ] 6124 ]
6114 }], 6125 }],
6115 ], # 'conditions' 6126 ], # 'conditions'
6116 } 6127 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698