| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/nacl/config.gni") | 6 import("//build/config/nacl/config.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 if (is_android) { | 9 if (is_android) { |
| 10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 | 297 |
| 298 cflags = [ | 298 cflags = [ |
| 299 # For ULLONG_MAX | 299 # For ULLONG_MAX |
| 300 "-std=gnu99", | 300 "-std=gnu99", |
| 301 | 301 |
| 302 # These files have a suspicious comparison. | 302 # These files have a suspicious comparison. |
| 303 # TODO fix this and re-enable this warning. | 303 # TODO fix this and re-enable this warning. |
| 304 "-Wno-sign-compare", | 304 "-Wno-sign-compare", |
| 305 ] | 305 ] |
| 306 | 306 |
| 307 import("//build/config/compiler/compiler.gni") |
| 308 import("//build/config/sanitizers/sanitizers.gni") |
| 309 if (is_component_build && !using_sanitizer) { |
| 310 # WARNING! We remove this config so that we don't accidentally |
| 311 # pick up the //build/config:rpath_for_built_shared_libraries |
| 312 # sub-config. However, this means that we need to duplicate any |
| 313 # other flags that executable_config might have. |
| 314 configs -= [ "//build/config:executable_config" ] |
| 315 if (!use_gold) { |
| 316 ldflags += [ "-Wl,--disable-new-dtags" ] |
| 317 } |
| 318 } |
| 319 |
| 307 deps = [ | 320 deps = [ |
| 308 "//build/config/sanitizers:deps", | 321 "//build/config/sanitizers:deps", |
| 309 ] | 322 ] |
| 310 } | 323 } |
| 311 } | 324 } |
| 312 | 325 |
| 313 component("sandbox_services") { | 326 component("sandbox_services") { |
| 314 sources = [ | 327 sources = [ |
| 315 "services/init_process_reaper.cc", | 328 "services/init_process_reaper.cc", |
| 316 "services/init_process_reaper.h", | 329 "services/init_process_reaper.h", |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 | 449 |
| 437 if (is_android) { | 450 if (is_android) { |
| 438 # TODO(GYP_GONE) Delete this after we've converted everything to GN. | 451 # TODO(GYP_GONE) Delete this after we've converted everything to GN. |
| 439 group("sandbox_linux_unittests_deps") { | 452 group("sandbox_linux_unittests_deps") { |
| 440 testonly = true | 453 testonly = true |
| 441 deps = [ | 454 deps = [ |
| 442 ":sandbox_linux_unittests", | 455 ":sandbox_linux_unittests", |
| 443 ] | 456 ] |
| 444 } | 457 } |
| 445 } | 458 } |
| OLD | NEW |