Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'includes': [ | 9 'includes': [ |
| 10 'nacl/nacl_defines.gypi', | 10 'nacl/nacl_defines.gypi', |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 136 'defines': [ | 136 'defines': [ |
| 137 '<@(nacl_defines)', | 137 '<@(nacl_defines)', |
| 138 ], | 138 ], |
| 139 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 139 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 140 'msvs_disabled_warnings': [4267, ], | 140 'msvs_disabled_warnings': [4267, ], |
| 141 }, | 141 }, |
| 142 { | 142 { |
| 143 'target_name': 'nacl_renderer', | 143 'target_name': 'nacl_renderer', |
| 144 'type': 'static_library', | 144 'type': 'static_library', |
| 145 'sources': [ | 145 'sources': [ |
| 146 'nacl/renderer/manifest_service_channel.cc', | 146 'nacl/renderer/manifest_service_channel.cc', |
|
hamaji
2014/04/17 18:25:36
Merged hidehiko@'s change.
| |
| 147 'nacl/renderer/manifest_service_channel.h', | 147 'nacl/renderer/manifest_service_channel.h', |
| 148 'nacl/renderer/nexe_load_manager.cc', | 148 'nacl/renderer/nexe_load_manager.cc', |
| 149 'nacl/renderer/nexe_load_manager.h', | 149 'nacl/renderer/nexe_load_manager.h', |
| 150 'nacl/renderer/pnacl_translation_resource_host.cc', | 150 'nacl/renderer/pnacl_translation_resource_host.cc', |
| 151 'nacl/renderer/pnacl_translation_resource_host.h', | 151 'nacl/renderer/pnacl_translation_resource_host.h', |
| 152 'nacl/renderer/ppb_nacl_private_impl.cc', | 152 'nacl/renderer/ppb_nacl_private_impl.cc', |
| 153 'nacl/renderer/ppb_nacl_private_impl.h', | 153 'nacl/renderer/ppb_nacl_private_impl.h', |
| 154 'nacl/renderer/sandbox_arch.cc', | 154 'nacl/renderer/sandbox_arch.cc', |
| 155 'nacl/renderer/sandbox_arch.h', | 155 'nacl/renderer/sandbox_arch.h', |
| 156 'nacl/renderer/trusted_plugin_channel.cc', | 156 'nacl/renderer/trusted_plugin_channel.cc', |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 184 ], | 184 ], |
| 185 'conditions': [ | 185 'conditions': [ |
| 186 ['OS=="linux"', { | 186 ['OS=="linux"', { |
| 187 'targets': [ | 187 'targets': [ |
| 188 { | 188 { |
| 189 'target_name': 'nacl_helper', | 189 'target_name': 'nacl_helper', |
| 190 'type': 'executable', | 190 'type': 'executable', |
| 191 'include_dirs': [ | 191 'include_dirs': [ |
| 192 '..', | 192 '..', |
| 193 ], | 193 ], |
| 194 'sources': [ | |
| 195 'nacl/loader/nacl_helper_linux.cc', | |
| 196 'nacl/loader/nacl_helper_linux.h', | |
| 197 ], | |
| 194 'dependencies': [ | 198 'dependencies': [ |
| 195 'nacl', | 199 'nacl_loader', |
| 196 'nacl_common', | |
| 197 'nacl_switches', | |
| 198 '../components/tracing.gyp:tracing', | |
| 199 '../crypto/crypto.gyp:crypto', | |
| 200 '../sandbox/sandbox.gyp:libc_urandom_override', | |
| 201 '../sandbox/sandbox.gyp:sandbox', | |
| 202 '../ppapi/ppapi_internal.gyp:ppapi_proxy', | |
| 203 ], | 200 ], |
| 201 'cflags': ['-fPIE'], | |
| 204 'ldflags!': [ | 202 'ldflags!': [ |
| 205 # Do not pick the default ASan options from | 203 # Do not pick the default ASan options from |
| 206 # base/debug/sanitizer_options.cc to avoid a conflict with those | 204 # base/debug/sanitizer_options.cc to avoid a conflict with those |
| 207 # in nacl/nacl_helper_linux.cc. | 205 # in nacl/nacl_helper_linux.cc. |
| 208 '-Wl,-u_sanitizer_options_link_helper', | 206 '-Wl,-u_sanitizer_options_link_helper', |
| 209 ], | 207 ], |
| 208 'link_settings': { | |
| 209 'ldflags': ['-pie'], | |
| 210 }, | |
| 211 }, { | |
| 212 'target_name': 'nacl_loader', | |
| 213 'type': 'static_library', | |
| 214 'include_dirs': [ | |
| 215 '..', | |
| 216 ], | |
| 210 'defines': [ | 217 'defines': [ |
| 211 '<@(nacl_defines)', | 218 '<@(nacl_defines)', |
| 212 # Allow .cc files to know if they're being compiled as part | 219 # Allow .cc files to know if they're being compiled as part |
| 213 # of nacl_helper. | 220 # of nacl_helper. |
| 214 'IN_NACL_HELPER=1', | 221 'IN_NACL_HELPER=1', |
| 215 ], | 222 ], |
| 216 'sources': [ | 223 'sources': [ |
| 217 'nacl/loader/nacl_helper_linux.cc', | |
| 218 'nacl/loader/nacl_helper_linux.h', | |
| 219 'nacl/loader/nacl_sandbox_linux.cc', | 224 'nacl/loader/nacl_sandbox_linux.cc', |
| 220 'nacl/loader/nonsfi/abi_conversion.cc', | 225 'nacl/loader/nonsfi/abi_conversion.cc', |
| 221 'nacl/loader/nonsfi/abi_conversion.h', | 226 'nacl/loader/nonsfi/abi_conversion.h', |
| 222 'nacl/loader/nonsfi/elf_loader.cc', | 227 'nacl/loader/nonsfi/elf_loader.cc', |
| 223 'nacl/loader/nonsfi/elf_loader.h', | 228 'nacl/loader/nonsfi/elf_loader.h', |
| 224 'nacl/loader/nonsfi/irt_basic.cc', | 229 'nacl/loader/nonsfi/irt_basic.cc', |
| 225 'nacl/loader/nonsfi/irt_clock.cc', | 230 'nacl/loader/nonsfi/irt_clock.cc', |
| 226 'nacl/loader/nonsfi/irt_fdio.cc', | 231 'nacl/loader/nonsfi/irt_fdio.cc', |
| 227 'nacl/loader/nonsfi/irt_futex.cc', | 232 'nacl/loader/nonsfi/irt_futex.cc', |
| 228 'nacl/loader/nonsfi/irt_interfaces.cc', | 233 'nacl/loader/nonsfi/irt_interfaces.cc', |
| 229 'nacl/loader/nonsfi/irt_interfaces.h', | 234 'nacl/loader/nonsfi/irt_interfaces.h', |
| 230 'nacl/loader/nonsfi/irt_memory.cc', | 235 'nacl/loader/nonsfi/irt_memory.cc', |
| 231 'nacl/loader/nonsfi/irt_ppapi.cc', | 236 'nacl/loader/nonsfi/irt_ppapi.cc', |
| 232 'nacl/loader/nonsfi/irt_random.cc', | 237 'nacl/loader/nonsfi/irt_random.cc', |
| 233 'nacl/loader/nonsfi/irt_thread.cc', | 238 'nacl/loader/nonsfi/irt_thread.cc', |
| 234 'nacl/loader/nonsfi/irt_util.h', | 239 'nacl/loader/nonsfi/irt_util.h', |
| 235 'nacl/loader/nonsfi/nonsfi_main.cc', | 240 'nacl/loader/nonsfi/nonsfi_main.cc', |
| 236 'nacl/loader/nonsfi/nonsfi_main.h', | 241 'nacl/loader/nonsfi/nonsfi_main.h', |
| 242 'nacl/loader/nonsfi/nonsfi_sandbox.cc', | |
| 243 'nacl/loader/nonsfi/nonsfi_sandbox.h', | |
| 237 '../ppapi/nacl_irt/manifest_service.cc', | 244 '../ppapi/nacl_irt/manifest_service.cc', |
| 238 '../ppapi/nacl_irt/manifest_service.h', | 245 '../ppapi/nacl_irt/manifest_service.h', |
| 239 '../ppapi/nacl_irt/plugin_main.cc', | 246 '../ppapi/nacl_irt/plugin_main.cc', |
| 240 '../ppapi/nacl_irt/plugin_main.h', | 247 '../ppapi/nacl_irt/plugin_main.h', |
| 241 '../ppapi/nacl_irt/plugin_startup.cc', | 248 '../ppapi/nacl_irt/plugin_startup.cc', |
| 242 '../ppapi/nacl_irt/plugin_startup.h', | 249 '../ppapi/nacl_irt/plugin_startup.h', |
| 243 '../ppapi/nacl_irt/ppapi_dispatcher.cc', | 250 '../ppapi/nacl_irt/ppapi_dispatcher.cc', |
| 244 '../ppapi/nacl_irt/ppapi_dispatcher.h', | 251 '../ppapi/nacl_irt/ppapi_dispatcher.h', |
| 245 ], | 252 ], |
| 253 'dependencies': [ | |
| 254 'nacl', | |
| 255 'nacl_common', | |
| 256 'nacl_switches', | |
| 257 '../components/tracing.gyp:tracing', | |
| 258 '../crypto/crypto.gyp:crypto', | |
| 259 '../sandbox/sandbox.gyp:libc_urandom_override', | |
| 260 '../sandbox/sandbox.gyp:sandbox', | |
| 261 '../ppapi/ppapi_internal.gyp:ppapi_proxy', | |
| 262 ], | |
| 246 'conditions': [ | 263 'conditions': [ |
| 247 ['toolkit_uses_gtk == 1', { | 264 ['toolkit_uses_gtk == 1', { |
| 248 'dependencies': [ | 265 'dependencies': [ |
| 249 '../build/linux/system.gyp:gtk', | 266 '../build/linux/system.gyp:gtk', |
| 250 ], | 267 ], |
| 251 }], | 268 }], |
| 252 ['use_glib == 1', { | 269 ['use_glib == 1', { |
| 253 'dependencies': [ | 270 'dependencies': [ |
| 254 '../build/linux/system.gyp:glib', | 271 '../build/linux/system.gyp:glib', |
| 255 ], | 272 ], |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 267 ['use_seccomp_bpf == 0', { | 284 ['use_seccomp_bpf == 0', { |
| 268 'sources!': [ | 285 'sources!': [ |
| 269 '../content/common/sandbox_linux/sandbox_bpf_base_policy_lin ux.cc', | 286 '../content/common/sandbox_linux/sandbox_bpf_base_policy_lin ux.cc', |
| 270 '../content/common/sandbox_linux/sandbox_init_linux.cc', | 287 '../content/common/sandbox_linux/sandbox_init_linux.cc', |
| 271 ], | 288 ], |
| 272 }, { | 289 }, { |
| 273 'defines': ['USE_SECCOMP_BPF'], | 290 'defines': ['USE_SECCOMP_BPF'], |
| 274 }], | 291 }], |
| 275 ], | 292 ], |
| 276 'cflags': ['-fPIE'], | 293 'cflags': ['-fPIE'], |
| 277 'link_settings': { | |
| 278 'ldflags': ['-pie'], | |
| 279 }, | |
| 280 }, | 294 }, |
| 281 ], | 295 ], |
| 282 }], | 296 }], |
| 283 ['OS=="win" and target_arch=="ia32"', { | 297 ['OS=="win" and target_arch=="ia32"', { |
| 284 'targets': [ | 298 'targets': [ |
| 285 { | 299 { |
| 286 'target_name': 'nacl_win64', | 300 'target_name': 'nacl_win64', |
| 287 'type': 'static_library', | 301 'type': 'static_library', |
| 288 'variables': { | 302 'variables': { |
| 289 'nacl_target': 1, | 303 'nacl_target': 1, |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 421 ], | 435 ], |
| 422 'include_dirs': [ | 436 'include_dirs': [ |
| 423 '..', | 437 '..', |
| 424 ], | 438 ], |
| 425 'dependencies': [ | 439 'dependencies': [ |
| 426 '../content/content.gyp:content_common', | 440 '../content/content.gyp:content_common', |
| 427 ], | 441 ], |
| 428 }, | 442 }, |
| 429 ] | 443 ] |
| 430 } | 444 } |
| OLD | NEW |