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 1403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1561 "media/capture/window_activity_tracker_mac.mm", | 1562 "media/capture/window_activity_tracker_mac.mm", |
1562 ] | 1563 ] |
1563 } | 1564 } |
1564 if (enable_webrtc) { | 1565 if (enable_webrtc) { |
1565 sources += [ | 1566 sources += [ |
1566 "media/capture/desktop_capture_device.cc", | 1567 "media/capture/desktop_capture_device.cc", |
1567 "media/capture/desktop_capture_device.h", | 1568 "media/capture/desktop_capture_device.h", |
1568 ] | 1569 ] |
1569 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | 1570 deps += [ "//third_party/webrtc/modules/desktop_capture" ] |
1570 } | 1571 } |
| 1572 |
| 1573 # SwiftShader only supports x86 or x64 architectures |
| 1574 # On Linux, only x11 is supported |
| 1575 if ((target_cpu == "x86" || target_cpu == "x64") && (use_x11 || !is_linux))
{ |
| 1576 deps += [ "//third_party/swiftshader" ] |
| 1577 } |
1571 } | 1578 } |
1572 | 1579 |
1573 if (is_win) { | 1580 if (is_win) { |
1574 defines += [ | 1581 defines += [ |
1575 # This prevents the inclusion of atlhost.h which paired | 1582 # This prevents the inclusion of atlhost.h which paired |
1576 # with the windows 8 sdk it does the wrong thing. | 1583 # with the windows 8 sdk it does the wrong thing. |
1577 "__ATLHOST_H__", | 1584 "__ATLHOST_H__", |
1578 ] | 1585 ] |
1579 deps += [ | 1586 deps += [ |
1580 "//third_party/iaccessible2", | 1587 "//third_party/iaccessible2", |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2025 if (!is_component_build) { | 2032 if (!is_component_build) { |
2026 public_deps = [ | 2033 public_deps = [ |
2027 ":browser", | 2034 ":browser", |
2028 ] | 2035 ] |
2029 } else { | 2036 } else { |
2030 public_deps = [ | 2037 public_deps = [ |
2031 "//third_party/leveldatabase", | 2038 "//third_party/leveldatabase", |
2032 ] | 2039 ] |
2033 } | 2040 } |
2034 } | 2041 } |
OLD | NEW |