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

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

Issue 2920383004: Reland 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")
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 ] 16 ]
16 17
17 deps = [ 18 deps = [
18 "//mojo/public/cpp/system", 19 "//mojo/public/cpp/system",
19 ] 20 ]
20 } 21 }
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