| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'target_defaults': { | 9 'target_defaults': { |
| 10 'variables': { | 10 'variables': { |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 'cflags': [ | 150 'cflags': [ |
| 151 # For ULLONG_MAX | 151 # For ULLONG_MAX |
| 152 '-std=gnu99', | 152 '-std=gnu99', |
| 153 ], | 153 ], |
| 154 'include_dirs': [ | 154 'include_dirs': [ |
| 155 '..', | 155 '..', |
| 156 ], | 156 ], |
| 157 }, | 157 }, |
| 158 { | 158 { |
| 159 'target_name': 'sandbox', | 159 'target_name': 'sandbox', |
| 160 'type': '<(library)', | 160 'type': 'static_library', |
| 161 'conditions': [ | 161 'conditions': [ |
| 162 ['target_arch!="arm"', { | 162 ['target_arch!="arm"', { |
| 163 'dependencies': [ | 163 'dependencies': [ |
| 164 '../seccompsandbox/seccomp.gyp:seccomp_sandbox', | 164 '../seccompsandbox/seccomp.gyp:seccomp_sandbox', |
| 165 ]}, | 165 ]}, |
| 166 ], | 166 ], |
| 167 ], | 167 ], |
| 168 }, | 168 }, |
| 169 ], | 169 ], |
| 170 }], | 170 }], |
| 171 [ 'OS=="linux" and (selinux==1 or clang==1)', { | 171 [ 'OS=="linux" and (selinux==1 or clang==1)', { |
| 172 # GYP requires that each file have at least one target defined. | 172 # GYP requires that each file have at least one target defined. |
| 173 'targets': [ | 173 'targets': [ |
| 174 { | 174 { |
| 175 'target_name': 'sandbox', | 175 'target_name': 'sandbox', |
| 176 'type': 'settings', | 176 'type': 'settings', |
| 177 }, | 177 }, |
| 178 ], | 178 ], |
| 179 }], | 179 }], |
| 180 [ 'OS=="win"', { | 180 [ 'OS=="win"', { |
| 181 'targets': [ | 181 'targets': [ |
| 182 { | 182 { |
| 183 'target_name': 'sandbox', | 183 'target_name': 'sandbox', |
| 184 'type': '<(library)', | 184 'type': 'static_library', |
| 185 'variables': { | 185 'variables': { |
| 186 'sandbox_windows_target': 1, | 186 'sandbox_windows_target': 1, |
| 187 }, | 187 }, |
| 188 'dependencies': [ | 188 'dependencies': [ |
| 189 '../testing/gtest.gyp:gtest', | 189 '../testing/gtest.gyp:gtest', |
| 190 '../base/base.gyp:base', | 190 '../base/base.gyp:base', |
| 191 '../base/base.gyp:base_static', | 191 '../base/base.gyp:base_static', |
| 192 ], | 192 ], |
| 193 'export_dependent_settings': [ | 193 'export_dependent_settings': [ |
| 194 '../base/base.gyp:base', | 194 '../base/base.gyp:base', |
| (...skipping 29 matching lines...) Expand all Loading... |
| 224 ], | 224 ], |
| 225 'direct_dependent_settings': { | 225 'direct_dependent_settings': { |
| 226 'include_dirs': [ | 226 'include_dirs': [ |
| 227 'src', | 227 'src', |
| 228 '..', | 228 '..', |
| 229 ], | 229 ], |
| 230 }, | 230 }, |
| 231 }, | 231 }, |
| 232 { | 232 { |
| 233 'target_name': 'sandbox_win64', | 233 'target_name': 'sandbox_win64', |
| 234 'type': '<(library)', | 234 'type': 'static_library', |
| 235 'variables': { | 235 'variables': { |
| 236 'sandbox_windows_target': 1, | 236 'sandbox_windows_target': 1, |
| 237 }, | 237 }, |
| 238 'dependencies': [ | 238 'dependencies': [ |
| 239 '../testing/gtest.gyp:gtest', | 239 '../testing/gtest.gyp:gtest', |
| 240 '../base/base.gyp:base_nacl_win64', | 240 '../base/base.gyp:base_nacl_win64', |
| 241 ], | 241 ], |
| 242 'configurations': { | 242 'configurations': { |
| 243 'Common_Base': { | 243 'Common_Base': { |
| 244 'msvs_target_platform': 'x64', | 244 'msvs_target_platform': 'x64', |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 ], | 384 ], |
| 385 }], | 385 }], |
| 386 ], | 386 ], |
| 387 } | 387 } |
| 388 | 388 |
| 389 # Local Variables: | 389 # Local Variables: |
| 390 # tab-width:2 | 390 # tab-width:2 |
| 391 # indent-tabs-mode:nil | 391 # indent-tabs-mode:nil |
| 392 # End: | 392 # End: |
| 393 # vim: set expandtab tabstop=2 shiftwidth=2: | 393 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |