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

Unified Diff: gpu/config/BUILD.gn

Issue 300973003: Add CC to the GN build, work on GPU more (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/client/BUILD.gn ('k') | gpu/skia_bindings/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/BUILD.gn
diff --git a/ui/native_theme/BUILD.gn b/gpu/config/BUILD.gn
similarity index 17%
copy from ui/native_theme/BUILD.gn
copy to gpu/config/BUILD.gn
index 8807bdef1268717545068d29005ffd3d16f2de48..9ace1237a397af08ee18f88f593eb119feffcffd 100644
--- a/ui/native_theme/BUILD.gn
+++ b/gpu/config/BUILD.gn
@@ -4,53 +4,66 @@
import("//build/config/ui.gni")
-component("native_theme") {
+source_set("config") {
sources = [
- "common_theme.cc",
- "common_theme.h",
- "fallback_theme.cc",
- "fallback_theme.h",
- "native_theme.cc",
- "native_theme.h",
- "native_theme_android.cc",
- "native_theme_android.h",
- "native_theme_base.cc",
- "native_theme_base.h",
- "native_theme_mac.h",
- "native_theme_mac.mm",
- "native_theme_observer.cc",
- "native_theme_observer.h",
- "native_theme_switches.cc",
- "native_theme_switches.h",
- "native_theme_win.cc",
- "native_theme_win.h",
+ "dx_diag_node.cc",
+ "dx_diag_node.h",
+ "gpu_blacklist.cc",
+ "gpu_blacklist.h",
+ "gpu_control_list_jsons.h",
+ "gpu_control_list.cc",
+ "gpu_control_list.h",
+ "gpu_driver_bug_list_json.cc",
+ "gpu_driver_bug_list.cc",
+ "gpu_driver_bug_list.h",
+ "gpu_driver_bug_workaround_type.h",
+ "gpu_dx_diagnostics_win.cc",
+ "gpu_feature_type.h",
+ "gpu_info.cc",
+ "gpu_info.h",
+ "gpu_info_collector_android.cc",
+ "gpu_info_collector_mac.mm",
+ "gpu_info_collector_ozone.cc",
+ "gpu_info_collector_win.cc",
+ "gpu_info_collector_x11.cc",
+ "gpu_info_collector.cc",
+ "gpu_info_collector.h",
+ "gpu_performance_stats.h",
+ "gpu_test_config.cc",
+ "gpu_test_config.h",
+ "gpu_test_expectations_parser.cc",
+ "gpu_test_expectations_parser.h",
+ "gpu_util.cc",
+ "gpu_util.h",
+ "software_rendering_list_json.cc",
]
- if (use_aura) {
- sources += [
- "native_theme_aura.cc",
- "native_theme_aura.h",
- ]
+ deps = [
+ "//base",
+ "//third_party/re2",
+ "//ui/gl",
+ ]
- if (is_win) {
+ if (is_win) {
+ deps += [ "//third_party/libxml" ]
+ libs = [ "dxguid.lib", "setupapi.lib" ]
+
+ if (is_chrome_branded) {
sources += [
- "native_theme_aurawin.cc",
- "native_theme_aurawin.h",
+ "//third_party/amd/AmdCfxPxExt.h",
+ "//third_party/amd/amd_videocard_info_win.cc",
]
}
}
-
- defines = [
- "NATIVE_THEME_IMPLEMENTATION",
- ]
-
- deps = [
- "//base",
- "//base/third_party/dynamic_annotations",
- "//skia",
- "//ui/base:ui_base",
- "//ui/gfx",
- "//ui/gfx/geometry",
- "//ui/resources",
- ]
+ if (is_linux && use_x11) {
+ configs += [
+ "//build/config/linux:x11",
+ "//build/config/linux:xext",
+ ]
+ deps += [
+ "//build/config/linux:libpci",
+ "//third_party/libXNVCtrl",
+ ]
+ }
}
+
« no previous file with comments | « gpu/command_buffer/client/BUILD.gn ('k') | gpu/skia_bindings/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698