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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 | 7 |
8 assert(enable_extensions) | 8 assert(enable_extensions) |
9 | 9 |
10 gypi_values = | 10 gypi_values = |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 "//components/onc", | 48 "//components/onc", |
49 "//components/proximity_auth", | 49 "//components/proximity_auth", |
50 "//components/strings", | 50 "//components/strings", |
51 "//components/update_client", | 51 "//components/update_client", |
52 "//components/url_matcher", | 52 "//components/url_matcher", |
53 "//content/app/resources", | 53 "//content/app/resources", |
54 "//content/public/common", | 54 "//content/public/common", |
55 "//crypto", | 55 "//crypto", |
56 "//device/bluetooth", | 56 "//device/bluetooth", |
57 "//device/hid", | 57 "//device/hid", |
| 58 "//extensions:extensions_resources", |
58 "//extensions/browser", | 59 "//extensions/browser", |
59 "//extensions/common/api", | 60 "//extensions/common/api", |
60 "//extensions/common/api:api_registration", | 61 "//extensions/common/api:api_registration", |
61 "//extensions/strings", | 62 "//extensions/strings", |
62 "//extensions:extensions_resources", | |
63 "//net", | 63 "//net", |
64 "//skia", | 64 "//skia", |
| 65 "//storage/browser", |
65 "//storage/common", | 66 "//storage/common", |
66 "//sync", | 67 "//sync", |
67 "//third_party/WebKit/public:image_resources", | 68 "//third_party/WebKit/public:image_resources", |
68 "//third_party/WebKit/public:resources", | 69 "//third_party/WebKit/public:resources", |
69 "//third_party/cacheinvalidation", | 70 "//third_party/cacheinvalidation", |
70 "//third_party/icu", | 71 "//third_party/icu", |
71 "//third_party/leveldatabase", | 72 "//third_party/leveldatabase", |
72 "//third_party/libaddressinput:util", | 73 "//third_party/libaddressinput:util", |
73 "//third_party/re2", | 74 "//third_party/re2", |
74 "//third_party/webrtc/modules/desktop_capture", | 75 "//third_party/webrtc/modules/desktop_capture", |
75 "//ui/accessibility:ax_gen", | 76 "//ui/accessibility:ax_gen", |
76 "//ui/base", | 77 "//ui/base", |
77 "//ui/base/ime", | 78 "//ui/base/ime", |
78 "//ui/gfx", | 79 "//ui/gfx", |
79 "//ui/gfx/geometry", | 80 "//ui/gfx/geometry", |
80 "//ui/resources", | 81 "//ui/resources", |
81 "//ui/strings", | 82 "//ui/strings", |
82 "//url", | 83 "//url", |
83 "//storage/browser", | |
84 ] | 84 ] |
85 | 85 |
86 if (is_chromeos) { | 86 if (is_chromeos) { |
87 sources += | 87 sources += |
88 rebase_path(gypi_values.chrome_browser_extensions_chromeos_sources, | 88 rebase_path(gypi_values.chrome_browser_extensions_chromeos_sources, |
89 ".", | 89 ".", |
90 "//chrome") | 90 "//chrome") |
91 sources -= [ "api/music_manager_private/device_id_linux.cc" ] | 91 sources -= [ "api/music_manager_private/device_id_linux.cc" ] |
92 configs += [ "//build/config/linux:dbus" ] | 92 configs += [ "//build/config/linux:dbus" ] |
93 deps += [ | 93 deps += [ |
94 "//third_party/protobuf:protobuf_lite", | |
95 "//chromeos/ime:gencode", | 94 "//chromeos/ime:gencode", |
96 "//components/chrome_apps", | 95 "//components/chrome_apps", |
97 "//remoting/host/it2me:common", | 96 "//remoting/host/it2me:common", |
| 97 "//third_party/protobuf:protobuf_lite", |
98 ] | 98 ] |
99 } else { | 99 } else { |
100 sources += [ | 100 sources += [ |
101 "default_apps.cc", | 101 "default_apps.cc", |
102 "default_apps.h'", | 102 "default_apps.h'", |
103 ] | 103 ] |
104 sources += | 104 sources += |
105 rebase_path(gypi_values.chrome_browser_extensions_non_chromeos_sources, | 105 rebase_path(gypi_values.chrome_browser_extensions_non_chromeos_sources, |
106 ".", | 106 ".", |
107 "//chrome") | 107 "//chrome") |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 "//chrome") | 206 "//chrome") |
207 } | 207 } |
208 | 208 |
209 if (is_chromeos && use_ozone) { | 209 if (is_chromeos && use_ozone) { |
210 sources -= [ "global_shortcut_listener_chromeos.cc" ] | 210 sources -= [ "global_shortcut_listener_chromeos.cc" ] |
211 } | 211 } |
212 if (!use_ozone) { | 212 if (!use_ozone) { |
213 sources -= [ "global_shortcut_listener_ozone.cc" ] | 213 sources -= [ "global_shortcut_listener_ozone.cc" ] |
214 } | 214 } |
215 } | 215 } |
OLD | NEW |