Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Side by Side Diff: sandbox/linux/BUILD.gn

Issue 1134993003: ozone: Implement zero/one-copy texture for Ozone GBM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/ui.gni")
7 import("//build/config/linux/pkg_config.gni")
6 import("//testing/test.gni") 8 import("//testing/test.gni")
7 9
8 declare_args() { 10 declare_args() {
9 compile_suid_client = is_linux 11 compile_suid_client = is_linux
10 12
11 compile_credentials = is_linux 13 compile_credentials = is_linux
12 14
13 compile_seccomp_bpf_demo = 15 compile_seccomp_bpf_demo =
14 is_linux && (current_cpu == "x86" || current_cpu == "x64") 16 is_linux && (current_cpu == "x86" || current_cpu == "x64")
15 } 17 }
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 "seccomp-bpf-helpers/syscall_sets.cc", 207 "seccomp-bpf-helpers/syscall_sets.cc",
206 "seccomp-bpf-helpers/syscall_sets.h", 208 "seccomp-bpf-helpers/syscall_sets.h",
207 ] 209 ]
208 defines = [ "SANDBOX_IMPLEMENTATION" ] 210 defines = [ "SANDBOX_IMPLEMENTATION" ]
209 211
210 deps = [ 212 deps = [
211 "//base", 213 "//base",
212 ":sandbox_services", 214 ":sandbox_services",
213 ":seccomp_bpf", 215 ":seccomp_bpf",
214 ] 216 ]
217
218 if (ozone_platform_gbm) {
219 defines += [ "USE_OZONE_GBM" ]
220 pkg_config("libdrm") {
221 packages = [ "libdrm" ]
222 }
223 public_configs = [ ":libdrm" ]
224 }
215 } 225 }
216 226
217 if (is_linux) { 227 if (is_linux) {
218 # The setuid sandbox for Linux. 228 # The setuid sandbox for Linux.
219 executable("chrome_sandbox") { 229 executable("chrome_sandbox") {
220 sources = [ 230 sources = [
221 "suid/common/sandbox.h", 231 "suid/common/sandbox.h",
222 "suid/common/suid_unsafe_environment_variables.h", 232 "suid/common/suid_unsafe_environment_variables.h",
223 "suid/process_util.h", 233 "suid/process_util.h",
224 "suid/process_util_linux.c", 234 "suid/process_util_linux.c",
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 # 'type': 'none', 369 # 'type': 'none',
360 # 'variables': { 370 # 'variables': {
361 # 'test_suite_name': 'sandbox_linux_jni_unittests', 371 # 'test_suite_name': 'sandbox_linux_jni_unittests',
362 # }, 372 # },
363 # 'dependencies': [ 373 # 'dependencies': [
364 # 'sandbox_linux_jni_unittests', 374 # 'sandbox_linux_jni_unittests',
365 # ], 375 # ],
366 # 'includes': [ '../../build/apk_test.gypi' ], 376 # 'includes': [ '../../build/apk_test.gypi' ],
367 # } 377 # }
368 } 378 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698