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

Side by Side Diff: ui/shell_dialogs/BUILD.gn

Issue 361373002: components: Add bookmarks to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//build/config/ui.gni")
6
7 component("shell_dialogs") {
8 sources = [
9 "android/shell_dialogs_jni_registrar.cc",
10 "android/shell_dialogs_jni_registrar.h",
11 "base_shell_dialog.cc",
12 "base_shell_dialog.h",
13 "base_shell_dialog_win.cc",
14 "base_shell_dialog_win.h",
15 "linux_shell_dialog.cc",
16 "linux_shell_dialog.h",
17 "select_file_dialog.cc",
18 "select_file_dialog.h",
19 "select_file_dialog_android.cc",
20 "select_file_dialog_android.h",
21 "select_file_dialog_factory.cc",
22 "select_file_dialog_factory.h",
23 "select_file_dialog_mac.h",
24 "select_file_dialog_mac.mm",
25 "select_file_dialog_win.cc",
26 "select_file_dialog_win.h",
27 "select_file_policy.cc",
28 "select_file_policy.h",
29 "selected_file_info.cc",
30 "selected_file_info.h",
31 ]
32
33 defines = [
34 "SHELL_DIALOGS_IMPLEMENTATION",
35 ]
36
37 deps = [
38 "//base",
39 "//base:i18n",
40 "//skia",
41 "//ui/base",
42 "//ui/strings",
43 ]
44
45 if (use_aura) {
46 deps += [
47 "//ui/aura",
48 ]
49 }
50
51 if (is_android) {
52 deps += [
53 "//ui/base:ui_base_jni_headers",
54 ]
55
56 libs += [
57 "jnigraphics",
58 ]
59 }
60
61 #if (is_android && !android_webview_build) {
awong 2014/07/07 21:52:12 Why are these commented out?
tfarina 2014/07/09 01:43:42 Because we don't have their deps yet.
awong 2014/07/09 01:49:40 Can we only comment out the single line in the dep
tfarina 2014/07/09 01:59:01 We can, but I will do it in a separate patch when
62 # deps += [
63 # TOOD(GYP): Convert this target and re-enable this.
64 # "//ui/android:ui_java",
65 # ]
66 #}
67
68 #if (is_win) {
69 # deps += [
70 # "//win8:metro_viewer",
71 # ]
72 #}
73 }
74
75 executable("shell_dialogs_unittests") {
76 sources = [
77 "select_file_dialog_win_unittest.cc",
78 ]
79
80 deps = [
81 ":shell_dialogs",
82 "//base",
83 "//base/test:test_support",
84 "//base/test:run_all_unittests",
85 "//testing/gtest",
86 ]
87 }
OLDNEW
« components/translate/core/browser/BUILD.gn ('K') | « components/translate/core/common/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698