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

Side by Side Diff: mojo/edk/js/tests/BUILD.gn

Issue 2944153002: Mojo JS bindings: introduce new targets "foo_js"/"foo_js_data_deps" for mojom("foo"). (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
« no previous file with comments | « ios/web/test/BUILD.gn ('k') | mojo/public/interfaces/bindings/tests/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 # TODO(hansmuller): The organization of tests in this directory is weird: 8 # TODO(hansmuller): The organization of tests in this directory is weird:
9 # * Really, js_unittests tests public stuff, so that should live in public 9 # * Really, js_unittests tests public stuff, so that should live in public
10 # and be reworked as some sort of apptest. 10 # and be reworked as some sort of apptest.
(...skipping 23 matching lines...) Expand all
34 ] 34 ]
35 35
36 sources = [ 36 sources = [
37 "js_to_cpp_tests.cc", 37 "js_to_cpp_tests.cc",
38 ] 38 ]
39 39
40 data = [ 40 data = [
41 "js_to_cpp_tests.js", 41 "js_to_cpp_tests.js",
42 ] 42 ]
43 43
44 data_deps = [
45 ":js_to_cpp_bindings_js_data_deps",
46 ]
47
44 configs += [ "//v8:external_startup_data" ] 48 configs += [ "//v8:external_startup_data" ]
45 } 49 }
46 50
47 mojom("js_to_cpp_bindings") { 51 mojom("js_to_cpp_bindings") {
48 sources = [ 52 sources = [
49 "js_to_cpp.mojom", 53 "js_to_cpp.mojom",
50 ] 54 ]
51 55
52 # TODO(crbug.com/699569): Convert to use the new JS bindings. 56 # TODO(crbug.com/699569): Convert to use the new JS bindings.
53 use_new_js_bindings = false 57 use_new_js_bindings = false
54 } 58 }
55 59
56 test("mojo_js_unittests") { 60 test("mojo_js_unittests") {
57 deps = [ 61 deps = [
58 "//base", 62 "//base",
59 "//gin:gin_test", 63 "//gin:gin_test",
60 "//mojo/edk/js", 64 "//mojo/edk/js",
61 "//mojo/edk/test:run_all_unittests", 65 "//mojo/edk/test:run_all_unittests",
62 "//mojo/edk/test:test_support", 66 "//mojo/edk/test:test_support",
63 "//mojo/public/cpp/system", 67 "//mojo/public/cpp/system",
64 "//mojo/public/interfaces/bindings/tests:test_associated_interfaces",
65 "//mojo/public/interfaces/bindings/tests:test_interfaces",
66 "//mojo/public/js:tests", 68 "//mojo/public/js:tests",
67 ] 69 ]
68 70
69 sources = [ 71 sources = [
70 "//mojo/edk/js/handle_unittest.cc", 72 "//mojo/edk/js/handle_unittest.cc",
71 "run_js_unittests.cc", 73 "run_js_unittests.cc",
72 ] 74 ]
73 } 75 }
OLDNEW
« no previous file with comments | « ios/web/test/BUILD.gn ('k') | mojo/public/interfaces/bindings/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698