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

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

Issue 1511783002: Mojo JS bindings: fix the unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « mojo/BUILD.gn ('k') | mojo/edk/js/test/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 # TODO(hansmuller): The organization of tests in this directory is weird: 5 # TODO(hansmuller): The organization of tests in this directory is weird:
6 # * Really, js_unittests tests public stuff, so that should live in public 6 # * Really, js_unittests tests public stuff, so that should live in public
7 # and be reworked as some sort of apptest. 7 # and be reworked as some sort of apptest.
8 # * Both js_unittests and js_integration_tests should auto-generate their 8 # * Both js_unittests and js_integration_tests should auto-generate their
9 # tests somehow. The .cc files are just test runner stubs, including 9 # tests somehow. The .cc files are just test runner stubs, including
10 # explicit lists of .js files. 10 # explicit lists of .js files.
11 group("tests") { 11 group("tests") {
12 testonly = true 12 testonly = true
13 deps = [ 13 deps = [
14 # TODO(use_chrome_edk): remove "2" 14 # TODO(use_chrome_edk): remove "2"
15 "test:js_integration_tests2", 15 "test:js_integration_tests2",
16 "test:js_unittests2", 16 "test:js_unittests",
17 ] 17 ]
18 } 18 }
19 19
20 source_set("js") { 20 source_set("js") {
21 sources = [ 21 sources = [
22 "core.cc", 22 "core.cc",
23 "core.h", 23 "core.h",
24 "drain_data.cc", 24 "drain_data.cc",
25 "drain_data.h", 25 "drain_data.h",
26 "handle.cc", 26 "handle.cc",
(...skipping 13 matching lines...) Expand all
40 "//base", 40 "//base",
41 "//gin", 41 "//gin",
42 "//v8", 42 "//v8",
43 ] 43 ]
44 44
45 deps = [ 45 deps = [
46 "//mojo/public/cpp/environment", 46 "//mojo/public/cpp/environment",
47 "//mojo/public/cpp/system", 47 "//mojo/public/cpp/system",
48 ] 48 ]
49 } 49 }
50
51 source_set("js_unittests") {
52 testonly = true
53 sources = [
54 "handle_unittest.cc",
55 ]
56
57 deps = [
58 "//mojo/edk/js",
59 "//mojo/edk/test:test_support",
60 "//mojo/public/cpp/system",
61 "//testing/gtest",
62 ]
63 }
OLDNEW
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/edk/js/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698