| 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("//media/media_options.gni") | 7 import("//media/media_options.gni") |
| 8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
| 9 import("//ppapi/features/features.gni") | 9 import("//ppapi/features/features.gni") |
| 10 import("//sandbox/features.gni") |
| 10 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 11 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
| 11 if (is_mac) { | 12 if (is_mac) { |
| 12 import("//build/config/mac/mac_sdk.gni") | 13 import("//build/config/mac/mac_sdk.gni") |
| 13 } | 14 } |
| 14 | 15 |
| 15 source_set("common") { | 16 source_set("common") { |
| 16 # Targets external to content should always link to the public API. | 17 # Targets external to content should always link to the public API. |
| 17 # In addition, targets outside of the content component (shell and tests) | 18 # In addition, targets outside of the content component (shell and tests) |
| 18 # must not link to this because it will duplicate the code in the component | 19 # must not link to this because it will duplicate the code in the component |
| 19 # build. | 20 # build. |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 "//media/capture/ipc", | 384 "//media/capture/ipc", |
| 384 "//media/gpu/ipc/client", | 385 "//media/gpu/ipc/client", |
| 385 "//media/gpu/ipc/common", | 386 "//media/gpu/ipc/common", |
| 386 "//media/midi", | 387 "//media/midi", |
| 387 "//media/midi:mojo_cpp_sources", | 388 "//media/midi:mojo_cpp_sources", |
| 388 "//mojo/common:common_base", | 389 "//mojo/common:common_base", |
| 389 "//mojo/edk/system", | 390 "//mojo/edk/system", |
| 390 "//net", | 391 "//net", |
| 391 "//ppapi/features", | 392 "//ppapi/features", |
| 392 "//sandbox", | 393 "//sandbox", |
| 394 "//sandbox:sandbox_features", |
| 393 "//services/service_manager", | 395 "//services/service_manager", |
| 394 "//services/service_manager/public/cpp", | 396 "//services/service_manager/public/cpp", |
| 395 "//services/service_manager/public/interfaces", | 397 "//services/service_manager/public/interfaces", |
| 396 "//services/service_manager/runner/common", | 398 "//services/service_manager/runner/common", |
| 397 "//services/ui/public/interfaces", | 399 "//services/ui/public/interfaces", |
| 398 "//services/video_capture/public/interfaces", | 400 "//services/video_capture/public/interfaces", |
| 399 "//skia", | 401 "//skia", |
| 400 "//storage/common", | 402 "//storage/common", |
| 401 "//third_party/WebKit/public:blink_minimal", | 403 "//third_party/WebKit/public:blink_minimal", |
| 402 "//third_party/boringssl", | 404 "//third_party/boringssl", |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 "pepper_renderer_instance_data.h", | 496 "pepper_renderer_instance_data.h", |
| 495 "plugin_list.cc", | 497 "plugin_list.cc", |
| 496 "plugin_list.h", | 498 "plugin_list.h", |
| 497 ] | 499 ] |
| 498 } | 500 } |
| 499 | 501 |
| 500 if (!is_win || !use_aura) { | 502 if (!is_win || !use_aura) { |
| 501 sources -= [ "cursors/webcursor_aurawin.cc" ] | 503 sources -= [ "cursors/webcursor_aurawin.cc" ] |
| 502 } | 504 } |
| 503 | 505 |
| 504 if (use_seccomp_bpf) { | 506 if (!use_seccomp_bpf) { |
| 505 defines += [ "USE_SECCOMP_BPF" ] | |
| 506 } else { | |
| 507 if (is_linux) { | 507 if (is_linux) { |
| 508 sources -= [ | 508 sources -= [ |
| 509 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc", | 509 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc", |
| 510 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.h", | 510 "sandbox_linux/bpf_cros_arm_gpu_policy_linux.h", |
| 511 "sandbox_linux/bpf_gpu_policy_linux.cc", | 511 "sandbox_linux/bpf_gpu_policy_linux.cc", |
| 512 "sandbox_linux/bpf_gpu_policy_linux.h", | 512 "sandbox_linux/bpf_gpu_policy_linux.h", |
| 513 "sandbox_linux/bpf_ppapi_policy_linux.cc", | 513 "sandbox_linux/bpf_ppapi_policy_linux.cc", |
| 514 "sandbox_linux/bpf_ppapi_policy_linux.h", | 514 "sandbox_linux/bpf_ppapi_policy_linux.h", |
| 515 "sandbox_linux/bpf_renderer_policy_linux.cc", | 515 "sandbox_linux/bpf_renderer_policy_linux.cc", |
| 516 "sandbox_linux/bpf_renderer_policy_linux.h", | 516 "sandbox_linux/bpf_renderer_policy_linux.h", |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 "//ui/gfx/geometry/mojo", | 608 "//ui/gfx/geometry/mojo", |
| 609 "//ui/gfx/mojo", | 609 "//ui/gfx/mojo", |
| 610 "//url/mojo:url_mojom_gurl", | 610 "//url/mojo:url_mojom_gurl", |
| 611 "//url/mojo:url_mojom_origin", | 611 "//url/mojo:url_mojom_origin", |
| 612 ] | 612 ] |
| 613 | 613 |
| 614 export_class_attribute = "CONTENT_EXPORT" | 614 export_class_attribute = "CONTENT_EXPORT" |
| 615 export_define = "CONTENT_IMPLEMENTATION=1" | 615 export_define = "CONTENT_IMPLEMENTATION=1" |
| 616 export_header = "content/common/content_export.h" | 616 export_header = "content/common/content_export.h" |
| 617 } | 617 } |
| OLD | NEW |