Skip to content

Commit

Permalink
Add chrome/browser/ui/views to GN build.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
brettw@chromium.org committed Jun 23, 2014
1 parent 3b816b9 commit 479fbf8
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ group("root") {
#"//base(//build/toolchain/nacl:x86_newlib)",

"//cc",
"//chrome/browser/ui/views",
"//chrome/common",
"//chrome/plugin",
"//chrome/renderer",
Expand Down Expand Up @@ -126,6 +127,7 @@ group("root") {
if (is_android) {
deps -= [
"//cc",
"//chrome/browser/ui/views", # Blocked on content.
"//chrome/common", # Blocked on content.
"//chrome/plugin", # Blocked on content.
"//chrome/renderer", # Blocked on content.
Expand Down
41 changes: 41 additions & 0 deletions chrome/browser/ui/views/BUILD.gn
Original file line number Diff line number Diff line change
@@ -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)
}
}
1 change: 1 addition & 0 deletions chrome/chrome_browser_ui_views.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
'targets': [
{
# GN version: //chrome/browser/ui/views
'target_name': 'browser_ui_views',
'type': '<(component)',
'dependencies': [
Expand Down

0 comments on commit 479fbf8

Please sign in to comment.