| 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("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 declare_args() { | 8 declare_args() { |
| 9 compile_suid_client = is_linux | 9 compile_suid_client = is_linux |
| 10 | 10 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 if (use_base_test_suite) { | 139 if (use_base_test_suite) { |
| 140 # Tests that use advanced features not available in stock GTest. | 140 # Tests that use advanced features not available in stock GTest. |
| 141 sources += [ "services/namespace_sandbox_unittest.cc" ] | 141 sources += [ "services/namespace_sandbox_unittest.cc" ] |
| 142 } | 142 } |
| 143 | 143 |
| 144 # For credentials_unittest.cc | 144 # For credentials_unittest.cc |
| 145 configs += [ "//build/config/linux:libcap" ] | 145 configs += [ "//build/config/linux:libcap" ] |
| 146 } | 146 } |
| 147 } | 147 } |
| 148 | 148 |
| 149 # TODO(GYP): Delete this after we've converted everything to GN. |
| 150 # The _run targets exist only for compatibility w/ GYP. |
| 151 group("sandbox_linux_unittests_run") { |
| 152 testonly = true |
| 153 deps = [ |
| 154 ":sandbox_linux_unittests", |
| 155 ] |
| 156 } |
| 157 |
| 149 # The main sandboxing test target. | 158 # The main sandboxing test target. |
| 150 test("sandbox_linux_unittests") { | 159 test("sandbox_linux_unittests") { |
| 151 deps = [ | 160 deps = [ |
| 152 ":sandbox_linux_unittests_sources", | 161 ":sandbox_linux_unittests_sources", |
| 153 ] | 162 ] |
| 154 } | 163 } |
| 155 | 164 |
| 156 # This target is the shared library used by Android APK (i.e. | 165 # This target is the shared library used by Android APK (i.e. |
| 157 # JNI-friendly) tests. | 166 # JNI-friendly) tests. |
| 158 shared_library("sandbox_linux_jni_unittests") { | 167 shared_library("sandbox_linux_jni_unittests") { |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 # 'type': 'none', | 382 # 'type': 'none', |
| 374 # 'variables': { | 383 # 'variables': { |
| 375 # 'test_suite_name': 'sandbox_linux_jni_unittests', | 384 # 'test_suite_name': 'sandbox_linux_jni_unittests', |
| 376 # }, | 385 # }, |
| 377 # 'dependencies': [ | 386 # 'dependencies': [ |
| 378 # 'sandbox_linux_jni_unittests', | 387 # 'sandbox_linux_jni_unittests', |
| 379 # ], | 388 # ], |
| 380 # 'includes': [ '../../build/apk_test.gypi' ], | 389 # 'includes': [ '../../build/apk_test.gypi' ], |
| 381 # } | 390 # } |
| 382 } | 391 } |
| OLD | NEW |