summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-23 22:30:19 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-23 22:30:19 +0000
commit479fbf8eb594bbb15c9aca315017ee1eb2533e4d (patch)
tree74dfcf17b6c72e9bdb36a8f93b56511e10ac0670 /chrome
parent3b816b916c6ff7870f1b4ec4653fd3eed38916b6 (diff)
downloadchromium_src-479fbf8eb594bbb15c9aca315017ee1eb2533e4d.zip
chromium_src-479fbf8eb594bbb15c9aca315017ee1eb2533e4d.tar.gz
chromium_src-479fbf8eb594bbb15c9aca315017ee1eb2533e4d.tar.bz2
Add chrome/browser/ui/views to GN build.
R=thestig@chromium.org Review URL: https://codereview.chromium.org/329943007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279203 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/ui/views/BUILD.gn41
-rw-r--r--chrome/chrome_browser_ui_views.gyp1
2 files changed, 42 insertions, 0 deletions
diff --git a/chrome/browser/ui/views/BUILD.gn b/chrome/browser/ui/views/BUILD.gn
new file mode 100644
index 0000000..6239dc0
--- /dev/null
+++ b/chrome/browser/ui/views/BUILD.gn
@@ -0,0 +1,41 @@
+# 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")
+
+assert(!is_android)
+
+component("views") {
+ output_name = "browser_ui_views"
+ sources = [
+ "accelerator_table.cc",
+ "accelerator_table.h",
+ "browser_dialogs.h",
+ "chrome_views_export.h",
+ "event_utils.cc",
+ "event_utils.h",
+ "tab_icon_view_model.h",
+ "tabs/tab_renderer_data.cc",
+ "tabs/tab_renderer_data.h",
+ "tabs/tab_strip_observer.cc",
+ "tabs/tab_strip_observer.h",
+ "tabs/tab_strip_types.h",
+ ]
+
+ defines = [ "CHROME_VIEWS_IMPLEMENTATION" ]
+
+ deps = [
+ "//base",
+ "//skia",
+ "//ui/base",
+ "//ui/events",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ "//url",
+ ]
+
+ if (use_ash) {
+ #deps += [ "//ash" ] TODO(GYP)
+ }
+}
diff --git a/chrome/chrome_browser_ui_views.gyp b/chrome/chrome_browser_ui_views.gyp
index c36344a..160148c 100644
--- a/chrome/chrome_browser_ui_views.gyp
+++ b/chrome/chrome_browser_ui_views.gyp
@@ -8,6 +8,7 @@
},
'targets': [
{
+ # GN version: //chrome/browser/ui/views
'target_name': 'browser_ui_views',
'type': '<(component)',
'dependencies': [