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

Side by Side Diff: third_party/WebKit/Source/core/mojo/BUILD.gn

Issue 2945483002: Reland of Moves mojo_js_integration_tests into blink. (Closed)
Patch Set: cleanup Created 3 years, 6 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 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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("//mojo/public/tools/bindings/mojom.gni")
5 import("//third_party/WebKit/Source/core/core.gni") 6 import("//third_party/WebKit/Source/core/core.gni")
6 7
7 blink_core_sources("mojo") { 8 blink_core_sources("mojo") {
8 sources = [ 9 sources = [
9 "Mojo.cpp", 10 "Mojo.cpp",
10 "Mojo.h", 11 "Mojo.h",
11 "MojoHandle.cpp", 12 "MojoHandle.cpp",
12 "MojoHandle.h", 13 "MojoHandle.h",
13 "MojoWatcher.cpp", 14 "MojoWatcher.cpp",
14 "MojoWatcher.h", 15 "MojoWatcher.h",
15 "testing/MojoInterfaceInterceptor.cpp", 16 "testing/MojoInterfaceInterceptor.cpp",
16 "testing/MojoInterfaceInterceptor.h", 17 "testing/MojoInterfaceInterceptor.h",
17 "testing/MojoInterfaceRequestEvent.cpp", 18 "testing/MojoInterfaceRequestEvent.cpp",
18 "testing/MojoInterfaceRequestEvent.h", 19 "testing/MojoInterfaceRequestEvent.h",
19 ] 20 ]
20 21
21 deps = [ 22 deps = [
22 "//mojo/public/cpp/system", 23 "//mojo/public/cpp/system",
23 "//services/service_manager/public/cpp", 24 "//services/service_manager/public/cpp",
24 ] 25 ]
25 } 26 }
27
28 source_set("unit_tests") {
29 testonly = true
30 sources = [
31 "tests/JsToCppTest.cpp",
32 ]
33
34 data = [
35 "tests/JsToCppTest.js",
36 ]
37
38 configs += [
39 "//third_party/WebKit/Source/core:blink_core_pch",
40 "//third_party/WebKit/Source:config",
41 "//third_party/WebKit/Source:inside_blink",
42 ]
43
44 deps = [
45 ":test_bindings_blink",
46 "//mojo/public/cpp/bindings",
47 "//testing/gtest",
48 "//third_party/WebKit/Source/core:core",
49 "//third_party/WebKit/Source/core:testing",
50 ]
51
52 data_deps = [
53 ":test_bindings", # For JS bindings: crbug.com/729649.
54 "//mojo/public/js:new_bindings",
55 ]
56 }
57
58 mojom("test_bindings") {
59 sources = [
60 "tests/JsToCpp.mojom",
61 ]
62 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/mojo/tests/JsToCpp.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698