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

Side by Side Diff: extensions/BUILD.gn

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
OLDNEW
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 # TODO(rockot) bug 505926: Don't include chrome files from here. 5 # TODO(rockot) bug 505926: Don't include chrome files from here.
6 # See chrome_browser_tests_extensions_sources below 6 # See chrome_browser_tests_extensions_sources below
7 import("//chrome/chrome_tests.gni") 7 import("//chrome/chrome_tests.gni")
8 import("//extensions/extensions.gni") 8 import("//extensions/extensions.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 import("//tools/grit/grit_rule.gni") 10 import("//tools/grit/grit_rule.gni")
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 "//extensions/common", 189 "//extensions/common",
190 "//extensions/common/api/cast_channel:cast_channel_proto", 190 "//extensions/common/api/cast_channel:cast_channel_proto",
191 "//extensions/renderer", 191 "//extensions/renderer",
192 "//extensions/strings", 192 "//extensions/strings",
193 "//extensions/utility", 193 "//extensions/utility",
194 "//mojo/application/public/interfaces", 194 "//mojo/application/public/interfaces",
195 "//mojo/environment:chromium", 195 "//mojo/environment:chromium",
196 "//testing/gmock", 196 "//testing/gmock",
197 "//testing/gtest", 197 "//testing/gtest",
198 "//third_party/leveldatabase", 198 "//third_party/leveldatabase",
199 "//third_party/mojo/src/mojo/edk/js",
200 "//third_party/mojo/src/mojo/edk/system",
201 "//third_party/mojo/src/mojo/public/cpp/bindings", 199 "//third_party/mojo/src/mojo/public/cpp/bindings",
202 ] 200 ]
203 201
202 if (use_chrome_edk) {
203 deps += [
204 "//mojo/edk/js",
205 "//mojo/edk/system",
206 ]
207 } else {
208 deps += [
209 "//third_party/mojo/src/mojo/edk/js",
210 "//third_party/mojo/src/mojo/edk/system",
211 ]
212 }
213
204 data_deps = [ "//third_party/mesa:osmesa" ] 214 data_deps = [ "//third_party/mesa:osmesa" ]
205 215
206 if (is_win) { 216 if (is_win) {
207 deps += [ "//base/allocator" ] 217 deps += [ "//base/allocator" ]
208 } 218 }
209 219
210 if (is_chromeos) { 220 if (is_chromeos) {
211 sources += [ 221 sources += [
212 # TODO(rockot): There are two implementations of VpnServiceFactory, a 222 # TODO(rockot): There are two implementations of VpnServiceFactory, a
213 # stub in app_shell and a real one in Chrome. This is wrong. 223 # stub in app_shell and a real one in Chrome. This is wrong.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 "//base", 263 "//base",
254 "//base:prefs_test_support", 264 "//base:prefs_test_support",
255 "//base/test:test_support", 265 "//base/test:test_support",
256 "//components/storage_monitor:test_support", 266 "//components/storage_monitor:test_support",
257 "//content/test:test_support", 267 "//content/test:test_support",
258 "//device/bluetooth:mocks", 268 "//device/bluetooth:mocks",
259 "//device/usb:mocks", 269 "//device/usb:mocks",
260 "//mojo/environment:chromium", 270 "//mojo/environment:chromium",
261 "//testing/gmock", 271 "//testing/gmock",
262 "//testing/gtest", 272 "//testing/gtest",
263 "//third_party/mojo/src/mojo/edk/js",
264 "//third_party/mojo/src/mojo/edk/system",
265 "//third_party/mojo/src/mojo/public/cpp/bindings", 273 "//third_party/mojo/src/mojo/public/cpp/bindings",
266 ] 274 ]
267 275
276 if (use_chrome_edk) {
277 deps += [
278 "//mojo/edk/js",
279 "//mojo/edk/system",
280 ]
281 } else {
282 deps += [
283 "//third_party/mojo/src/mojo/edk/js",
284 "//third_party/mojo/src/mojo/edk/system",
285 ]
286 }
287
268 data_deps = [ "//third_party/mesa:osmesa" ] 288 data_deps = [ "//third_party/mesa:osmesa" ]
269 289
270 if (is_win) { 290 if (is_win) {
271 deps += [ "//base/allocator" ] 291 deps += [ "//base/allocator" ]
272 292
273 if (target_cpu == "x86") { 293 if (target_cpu == "x86") {
274 data_deps += [ 294 data_deps += [
275 # "$root_out_dir/wow_helper.exe" # TODO(GYP) 295 # "$root_out_dir/wow_helper.exe" # TODO(GYP)
276 ] 296 ]
277 } 297 }
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 "//testing/gtest", 406 "//testing/gtest",
387 "//third_party/hunspell", 407 "//third_party/hunspell",
388 "//third_party/icu", 408 "//third_party/icu",
389 "//third_party/libpng", 409 "//third_party/libpng",
390 "//third_party/zlib", 410 "//third_party/zlib",
391 "//ui/base:test_support", 411 "//ui/base:test_support",
392 "//ui/resources:ui_test_pak", 412 "//ui/resources:ui_test_pak",
393 "//ui/web_dialogs:test_support", 413 "//ui/web_dialogs:test_support",
394 ] 414 ]
395 } 415 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698