| 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 # GYP version: components/dom_distiller.gyp:dom_distiller_webui | 5 import("//build/config/ui.gni") |
| 6 static_library("webui") { | 6 |
| 7 static_library("sad_tab") { |
| 7 sources = [ | 8 sources = [ |
| 8 "dom_distiller_handler.cc", | 9 "sad_tab.cc", |
| 9 "dom_distiller_handler.h", | 10 "sad_tab.h", |
| 10 "dom_distiller_ui.cc", | 11 "sad_tab_client.h", |
| 11 "dom_distiller_ui.h", | 12 "sad_tab_helper.cc", |
| 13 "sad_tab_helper.h", |
| 14 "sad_tab_types.h", |
| 15 "url_constants.cc", |
| 16 "url_constants.h", |
| 12 ] | 17 ] |
| 13 | 18 |
| 14 deps = [ | 19 deps = [ |
| 15 "//base", | 20 "//base", |
| 16 "//components/dom_distiller/core", | |
| 17 "//components/dom_distiller/core/proto", | |
| 18 "//components/resources", | 21 "//components/resources", |
| 19 "//components/strings", | 22 "//components/strings", |
| 20 "//content/public/browser", | 23 "//content/public/browser", |
| 21 "//skia", | 24 "//ui/base", |
| 22 "//sync", | 25 "//url", |
| 23 ] | 26 ] |
| 27 |
| 28 if (toolkit_views) { |
| 29 sources += [ |
| 30 "views/sad_tab_view.cc", |
| 31 "views/sad_tab_view.h", |
| 32 ] |
| 33 deps += [ |
| 34 "//ui/views", |
| 35 ] |
| 36 } |
| 24 } | 37 } |
| OLD | NEW |