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/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//content/common/common.gni") | 7 import("//content/common/common.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 import("//third_party/WebKit/Source/config.gni") | |
tasak
2015/01/15 04:25:54
I need "declare_args" in //third_party/WebKit/Sour
| |
9 | 10 |
10 if (is_chromeos && cpu_arch != "arm") { | 11 if (is_chromeos && cpu_arch != "arm") { |
11 action("libva_generate_stubs") { | 12 action("libva_generate_stubs") { |
12 extra_header = "gpu/media/va_stub_header.fragment" | 13 extra_header = "gpu/media/va_stub_header.fragment" |
13 | 14 |
14 script = "../../tools/generate_stubs/generate_stubs.py" | 15 script = "../../tools/generate_stubs/generate_stubs.py" |
15 sources = [ | 16 sources = [ |
16 "gpu/media/va.sigs", | 17 "gpu/media/va.sigs", |
17 ] | 18 ] |
18 inputs = [ | 19 inputs = [ |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
355 include_dirs += [ "//third_party/khronos" ] | 356 include_dirs += [ "//third_party/khronos" ] |
356 deps += [ "//ui/gl" ] | 357 deps += [ "//ui/gl" ] |
357 | 358 |
358 # TODO(GYP): extract_xinput action. | 359 # TODO(GYP): extract_xinput action. |
359 } | 360 } |
360 | 361 |
361 if (!is_win || !use_aura) { | 362 if (!is_win || !use_aura) { |
362 sources -= [ "cursors/webcursor_aurawin.cc" ] | 363 sources -= [ "cursors/webcursor_aurawin.cc" ] |
363 } | 364 } |
364 | 365 |
366 if (enable_oilpan) { | |
367 defines += [ "ENABLE_OILPAN=1" ] | |
368 } | |
369 | |
365 if (use_seccomp_bpf) { | 370 if (use_seccomp_bpf) { |
366 defines += [ "USE_SECCOMP_BPF" ] | 371 defines += [ "USE_SECCOMP_BPF" ] |
367 } else { | 372 } else { |
368 if (is_linux) { | 373 if (is_linux) { |
369 sources -= [ | 374 sources -= [ |
370 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc", | 375 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc", |
371 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.h", | 376 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.h", |
372 "sandbox_linux/bpf_gpu_policy_linux.cc", | 377 "sandbox_linux/bpf_gpu_policy_linux.cc", |
373 "sandbox_linux/bpf_gpu_policy_linux.h", | 378 "sandbox_linux/bpf_gpu_policy_linux.h", |
374 "sandbox_linux/bpf_ppapi_policy_linux.cc", | 379 "sandbox_linux/bpf_ppapi_policy_linux.cc", |
(...skipping 20 matching lines...) Expand all Loading... | |
395 "geolocation_service.mojom", | 400 "geolocation_service.mojom", |
396 "permission_service.mojom", | 401 "permission_service.mojom", |
397 "render_frame_setup.mojom", | 402 "render_frame_setup.mojom", |
398 ] | 403 ] |
399 | 404 |
400 deps = [ | 405 deps = [ |
401 "//content/public/common:mojo_bindings", | 406 "//content/public/common:mojo_bindings", |
402 "//mojo/public/interfaces/application:application", | 407 "//mojo/public/interfaces/application:application", |
403 ] | 408 ] |
404 } | 409 } |
OLD | NEW |