| 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("//ppapi/features/features.gni") | 8 import("//ppapi/features/features.gni") |
| 9 import("//printing/features/features.gni") | 9 import("//printing/features/features.gni") |
| 10 import("//third_party/WebKit/public/public_features.gni") | 10 import("//third_party/WebKit/public/public_features.gni") |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 "//ui/base/ime", | 138 "//ui/base/ime", |
| 139 "//ui/display", | 139 "//ui/display", |
| 140 "//ui/display/types", | 140 "//ui/display/types", |
| 141 "//ui/events", | 141 "//ui/events", |
| 142 "//ui/events:gesture_detection", | 142 "//ui/events:gesture_detection", |
| 143 "//ui/events/blink", | 143 "//ui/events/blink", |
| 144 "//ui/gfx", | 144 "//ui/gfx", |
| 145 "//ui/gfx/geometry", | 145 "//ui/gfx/geometry", |
| 146 "//ui/gfx/geometry/mojo", | 146 "//ui/gfx/geometry/mojo", |
| 147 "//ui/gl", | 147 "//ui/gl", |
| 148 "//ui/gl:gl_features", |
| 148 "//ui/native_theme", | 149 "//ui/native_theme", |
| 149 "//ui/resources", | 150 "//ui/resources", |
| 150 "//ui/shell_dialogs", | 151 "//ui/shell_dialogs", |
| 151 "//ui/snapshot", | 152 "//ui/snapshot", |
| 152 "//ui/touch_selection", | 153 "//ui/touch_selection", |
| 153 "//v8:v8_version", | 154 "//v8:v8_version", |
| 154 ] | 155 ] |
| 155 | 156 |
| 156 public_deps = [ | 157 public_deps = [ |
| 157 "//media/mojo/interfaces:remoting", | 158 "//media/mojo/interfaces:remoting", |
| (...skipping 1395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1553 "media/capture/window_activity_tracker_mac.mm", | 1554 "media/capture/window_activity_tracker_mac.mm", |
| 1554 ] | 1555 ] |
| 1555 } | 1556 } |
| 1556 if (enable_webrtc) { | 1557 if (enable_webrtc) { |
| 1557 sources += [ | 1558 sources += [ |
| 1558 "media/capture/desktop_capture_device.cc", | 1559 "media/capture/desktop_capture_device.cc", |
| 1559 "media/capture/desktop_capture_device.h", | 1560 "media/capture/desktop_capture_device.h", |
| 1560 ] | 1561 ] |
| 1561 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | 1562 deps += [ "//third_party/webrtc/modules/desktop_capture" ] |
| 1562 } | 1563 } |
| 1564 |
| 1565 # SwiftShader only supports x86 or x64 architectures |
| 1566 # On Linux, only x11 is supported |
| 1567 if ((target_cpu == "x86" || target_cpu == "x64") && (use_x11 || !is_linux))
{ |
| 1568 deps += [ "//third_party/swiftshader" ] |
| 1569 } |
| 1563 } | 1570 } |
| 1564 | 1571 |
| 1565 if (is_win) { | 1572 if (is_win) { |
| 1566 defines += [ | 1573 defines += [ |
| 1567 # This prevents the inclusion of atlhost.h which paired | 1574 # This prevents the inclusion of atlhost.h which paired |
| 1568 # with the windows 8 sdk it does the wrong thing. | 1575 # with the windows 8 sdk it does the wrong thing. |
| 1569 "__ATLHOST_H__", | 1576 "__ATLHOST_H__", |
| 1570 ] | 1577 ] |
| 1571 deps += [ | 1578 deps += [ |
| 1572 "//third_party/iaccessible2", | 1579 "//third_party/iaccessible2", |
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2017 if (!is_component_build) { | 2024 if (!is_component_build) { |
| 2018 public_deps = [ | 2025 public_deps = [ |
| 2019 ":browser", | 2026 ":browser", |
| 2020 ] | 2027 ] |
| 2021 } else { | 2028 } else { |
| 2022 public_deps = [ | 2029 public_deps = [ |
| 2023 "//third_party/leveldatabase", | 2030 "//third_party/leveldatabase", |
| 2024 ] | 2031 ] |
| 2025 } | 2032 } |
| 2026 } | 2033 } |
| OLD | NEW |