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

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

Issue 2939663002: Revert of Moves mojo_js_integration_tests into blink. (Closed)
Patch Set: 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")
6 import("//third_party/WebKit/Source/core/core.gni") 5 import("//third_party/WebKit/Source/core/core.gni")
7 6
8 blink_core_sources("mojo") { 7 blink_core_sources("mojo") {
9 sources = [ 8 sources = [
10 "Mojo.cpp", 9 "Mojo.cpp",
11 "Mojo.h", 10 "Mojo.h",
12 "MojoHandle.cpp", 11 "MojoHandle.cpp",
13 "MojoHandle.h", 12 "MojoHandle.h",
14 "MojoWatcher.cpp", 13 "MojoWatcher.cpp",
15 "MojoWatcher.h", 14 "MojoWatcher.h",
16 ] 15 ]
17 16
18 deps = [ 17 deps = [
19 "//mojo/public/cpp/system", 18 "//mojo/public/cpp/system",
20 ] 19 ]
21 } 20 }
22
23 source_set("unit_tests") {
24 testonly = true
25 sources = [
26 "tests/JsToCppTest.cpp",
27 ]
28
29 data = [
30 "tests/JsToCppTest.js",
31 ]
32
33 configs += [
34 "//third_party/WebKit/Source/core:blink_core_pch",
35 "//third_party/WebKit/Source:config",
36 "//third_party/WebKit/Source:inside_blink",
37 ]
38
39 deps = [
40 ":test_bindings_blink",
41 "//mojo/public/cpp/bindings",
42 "//testing/gtest",
43 "//third_party/WebKit/Source/core:core",
44 "//third_party/WebKit/Source/core:testing",
45 ]
46
47 data_deps = [
48 ":test_bindings", # For JS bindings: crbug.com/729649.
49 "//mojo/public/js:new_bindings",
50 ]
51 }
52
53 mojom("test_bindings") {
54 sources = [
55 "tests/JsToCpp.mojom",
56 ]
57 }
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