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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 source_set("browser") { | 7 source_set("browser") { |
8 sources = [ | 8 sources = [ |
9 "base_bookmark_model_observer.cc", | 9 "base_bookmark_model_observer.cc", |
10 "base_bookmark_model_observer.h", | 10 "base_bookmark_model_observer.h", |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 "//third_party/icu", | 59 "//third_party/icu", |
60 "//ui/base", | 60 "//ui/base", |
61 "//ui/gfx", | 61 "//ui/gfx", |
62 "//url", | 62 "//url", |
63 ] | 63 ] |
64 | 64 |
65 if (toolkit_views) { | 65 if (toolkit_views) { |
66 sources += [ "bookmark_node_data_views.cc" ] | 66 sources += [ "bookmark_node_data_views.cc" ] |
67 deps += [ "//ui/views" ] | 67 deps += [ "//ui/views" ] |
68 } | 68 } |
| 69 |
| 70 if (is_mac) { |
| 71 libs = [ |
| 72 "AppKit.framework", |
| 73 "Foundation.framework", |
| 74 ] |
| 75 } |
69 } | 76 } |
70 | 77 |
71 bundle_data("unit_tests_bundle_data") { | 78 bundle_data("unit_tests_bundle_data") { |
72 visibility = [ ":unit_tests" ] | 79 visibility = [ ":unit_tests" ] |
73 testonly = true | 80 testonly = true |
74 sources = [ | 81 sources = [ |
75 "//components/test/data/bookmarks/meta_info_as_string.json", | 82 "//components/test/data/bookmarks/meta_info_as_string.json", |
76 "//components/test/data/bookmarks/model_without_sync.json", | 83 "//components/test/data/bookmarks/model_without_sync.json", |
77 ] | 84 ] |
78 outputs = [ | 85 outputs = [ |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 "//url", | 118 "//url", |
112 ] | 119 ] |
113 | 120 |
114 if (use_x11) { | 121 if (use_x11) { |
115 deps += [ | 122 deps += [ |
116 "//ui/events/platform/x11", | 123 "//ui/events/platform/x11", |
117 "//ui/gfx/x", | 124 "//ui/gfx/x", |
118 ] | 125 ] |
119 } | 126 } |
120 } | 127 } |
OLD | NEW |