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

Side by Side Diff: build/common.gypi

Issue 149689: Linux: move hardcoded paths to GYP variables. (Closed)
Patch Set: ... Created 11 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/zygote_host_linux.cc » ('j') | chrome/browser/zygote_host_linux.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 # .gyp files should set chromium_code to 1 if they build Chromium-specific 7 # .gyp files should set chromium_code to 1 if they build Chromium-specific
8 # code, as opposed to external code. This variable is used to control 8 # code, as opposed to external code. This variable is used to control
9 # such things as the set of warnings to enable, and whether warnings are 9 # such things as the set of warnings to enable, and whether warnings are
10 # treated as errors. 10 # treated as errors.
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 'chromeos%': 0, 83 'chromeos%': 0,
84 84
85 'chrome_personalization%': 0, 85 'chrome_personalization%': 0,
86 86
87 # Set the restrictions on the SUID sandbox binary. 87 # Set the restrictions on the SUID sandbox binary.
88 # Path: only exec the hard coded chrome binary path 88 # Path: only exec the hard coded chrome binary path
89 # User: only exec binaries owned by the running user. 89 # User: only exec binaries owned by the running user.
90 # 90 #
91 # Developers should read 91 # Developers should read
92 # http://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment 92 # http://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment
93 'linux_suid_sandbox_restrictions': 'Path', 93 'linux_suid_sandbox_restrictions%': 'Path',
94
95 # This is the location of the sandbox binary. Chrome looks for this before
96 # running the zygote process. If found, and SUID, it will be used to
97 # sandbox the zygote process and, thus, all renderer processes.
98 'linux_sandbox_path%': '',
99
100 # If |linux_suid_sandbox_restrictions|, above, is 'Path' then only a single
101 # path is allowed to be exec'ed by the sandbox for security reasons. That
102 # path is set here. It should be the final location of the Chromium binary
103 # on the system.
104 'linux_sandbox_chrome_path%': '/opt/google/chrome/chrome',
94 }, 105 },
95 'target_defaults': { 106 'target_defaults': {
96 'conditions': [ 107 'conditions': [
97 ['branding=="Chrome"', { 108 ['branding=="Chrome"', {
98 'defines': ['GOOGLE_CHROME_BUILD'], 109 'defines': ['GOOGLE_CHROME_BUILD'],
99 'conditions': [ 110 'conditions': [
100 ['OS=="linux"', { 111 ['OS=="linux"', {
101 'cflags': [ '-gstabs' ], 112 'cflags': [ '-gstabs' ],
102 }], 113 }],
103 ], 114 ],
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 # settings in target dicts. SYMROOT is a special case, because many other 614 # settings in target dicts. SYMROOT is a special case, because many other
604 # Xcode variables depend on it, including variables such as 615 # Xcode variables depend on it, including variables such as
605 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 616 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
606 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 617 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
607 # files to appear (when present) in the UI as actual files and not red 618 # files to appear (when present) in the UI as actual files and not red
608 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 619 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
609 # and therefore SYMROOT, needs to be set at the project level. 620 # and therefore SYMROOT, needs to be set at the project level.
610 'SYMROOT': '<(DEPTH)/xcodebuild', 621 'SYMROOT': '<(DEPTH)/xcodebuild',
611 }, 622 },
612 } 623 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/zygote_host_linux.cc » ('j') | chrome/browser/zygote_host_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698