diff options
-rw-r--r-- | BUILD.gn | 11 | ||||
-rw-r--r-- | components/favicon_base/BUILD.gn | 20 | ||||
-rw-r--r-- | components/query_parser/BUILD.gn | 18 | ||||
-rw-r--r-- | ui/metro_viewer/BUILD.gn | 17 | ||||
-rw-r--r-- | ui/native_theme/BUILD.gn | 56 |
5 files changed, 121 insertions, 1 deletions
@@ -19,13 +19,15 @@ group("root") { "//apps/common/api:apps_api", #"//chrome", + "//components/favicon_base", "//components/language_usage_metrics", "//components/metrics", "//components/navigation_metrics", "//components/onc", "//components/os_crypt", - "//components/startup_metric_utils", + "//components/query_parser", "//components/resources:components_resources", + "//components/startup_metric_utils", "//components/tracing", "//components/translate:translate_core_browser", "//components/translate:translate_core_common", @@ -70,6 +72,7 @@ group("root") { "//ui/events", "//ui/gfx", "//ui/gl", + "//ui/native_theme", "//ui/resources", "//ui/strings", "//ui/surface", @@ -83,6 +86,12 @@ group("root") { ] } + if (is_win) { + deps += [ + "//ui/metro_viewer", + ] + } + if (is_android) { deps -= [ "//content/public/common", diff --git a/components/favicon_base/BUILD.gn b/components/favicon_base/BUILD.gn new file mode 100644 index 0000000..3d4f638 --- /dev/null +++ b/components/favicon_base/BUILD.gn @@ -0,0 +1,20 @@ +# Copyright 2014 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +source_set("favicon_base") { + sources = [ + "favicon_callback.h", + "favicon_types.cc", + "favicon_types.h", + "select_favicon_frames.cc", + "select_favicon_frames.h", + ] + + deps = [ + "//base", + "//skia", + "//ui/gfx", + "//url", + ] +} diff --git a/components/query_parser/BUILD.gn b/components/query_parser/BUILD.gn new file mode 100644 index 0000000..9b00546 --- /dev/null +++ b/components/query_parser/BUILD.gn @@ -0,0 +1,18 @@ +# Copyright 2014 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +source_set("query_parser") { + sources = [ + "query_parser.cc", + "query_parser.h", + "snippet.cc", + "snippet.h", + ] + + deps = [ + "//base", + "//base:i18n", + "//third_party/icu", + ] +} diff --git a/ui/metro_viewer/BUILD.gn b/ui/metro_viewer/BUILD.gn new file mode 100644 index 0000000..c2a623d --- /dev/null +++ b/ui/metro_viewer/BUILD.gn @@ -0,0 +1,17 @@ +# Copyright 2014 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +source_set("metro_viewer") { + sources = [ + "ime_types.cc", + "ime_types.h", + "metro_viewer_message_generator.cc", + "metro_viewer_message_generator.h", + "metro_viewer_messages.h", + ] + + deps = [ + "//base", + ] +} diff --git a/ui/native_theme/BUILD.gn b/ui/native_theme/BUILD.gn new file mode 100644 index 0000000..2398ed9 --- /dev/null +++ b/ui/native_theme/BUILD.gn @@ -0,0 +1,56 @@ +# Copyright 2014 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import ("//build/config/ui.gni") + +component("native_theme") { + 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", + ] + + if (use_aura) { + sources += [ + "native_theme_aura.cc", + "native_theme_aura.h", + ] + + if (is_win) { + sources += [ + "native_theme_aurawin.cc", + "native_theme_aurawin.h", + ] + } + } + + defines = [ + "NATIVE_THEME_IMPLEMENTATION", + ] + + deps = [ + "//base", + "//base/third_party/dynamic_annotations", + "//skia", + "//ui/base:ui_base", + "//ui/gfx", + "//ui/gfx/geometry", + "//ui/resources", + ] +} |