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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 } | 140 } |
141 | 141 |
142 # This target is the shared library used by Android APK (i.e. | 142 # This target is the shared library used by Android APK (i.e. |
143 # JNI-friendly) tests. | 143 # JNI-friendly) tests. |
144 shared_library("sandbox_linux_jni_unittests") { | 144 shared_library("sandbox_linux_jni_unittests") { |
145 testonly = true | 145 testonly = true |
146 deps = [ | 146 deps = [ |
147 ":sandbox_linux_unittests_sources", | 147 ":sandbox_linux_unittests_sources", |
148 ] | 148 ] |
149 if (is_android) { | 149 if (is_android) { |
150 deps += [ "//testing/android:native_test_native_code" ] | 150 deps += [ "//testing/android/native_test:native_test_native_code" ] |
151 } | 151 } |
152 } | 152 } |
153 | 153 |
154 component("seccomp_bpf") { | 154 component("seccomp_bpf") { |
155 sources = [ | 155 sources = [ |
156 "bpf_dsl/bpf_dsl.cc", | 156 "bpf_dsl/bpf_dsl.cc", |
157 "bpf_dsl/bpf_dsl.h", | 157 "bpf_dsl/bpf_dsl.h", |
158 "bpf_dsl/bpf_dsl_forward.h", | 158 "bpf_dsl/bpf_dsl_forward.h", |
159 "bpf_dsl/bpf_dsl_impl.h", | 159 "bpf_dsl/bpf_dsl_impl.h", |
160 "bpf_dsl/codegen.cc", | 160 "bpf_dsl/codegen.cc", |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 # 'type': 'none', | 357 # 'type': 'none', |
358 # 'variables': { | 358 # 'variables': { |
359 # 'test_suite_name': 'sandbox_linux_jni_unittests', | 359 # 'test_suite_name': 'sandbox_linux_jni_unittests', |
360 # }, | 360 # }, |
361 # 'dependencies': [ | 361 # 'dependencies': [ |
362 # 'sandbox_linux_jni_unittests', | 362 # 'sandbox_linux_jni_unittests', |
363 # ], | 363 # ], |
364 # 'includes': [ '../../build/apk_test.gypi' ], | 364 # 'includes': [ '../../build/apk_test.gypi' ], |
365 # } | 365 # } |
366 } | 366 } |
OLD | NEW |