| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |