summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjamesr <jamesr@chromium.org>2014-10-02 19:17:44 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-03 02:18:09 +0000
commitc01b00fd4c309ef0b0154540714eba45922997f5 (patch)
tree5f29f92ee1a812d8bb1096cee48d906506efb2f2
parentd13162c7e375a4741fb9b75eb488b3e5832d57c3 (diff)
downloadchromium_src-c01b00fd4c309ef0b0154540714eba45922997f5.zip
chromium_src-c01b00fd4c309ef0b0154540714eba45922997f5.tar.gz
chromium_src-c01b00fd4c309ef0b0154540714eba45922997f5.tar.bz2
Move C++ js bindings tests to mojo/bindings/js/tests
The C++ code used to implement these bindings tests is not part of the SDK. R=abarth@chromium.org TBR=darin@chromium.org for moving a DEPS file around Review URL: https://codereview.chromium.org/622943002 Cr-Commit-Position: refs/heads/master@{#297971}
-rw-r--r--mojo/BUILD.gn2
-rw-r--r--mojo/bindings/js/tests/BUILD.gn (renamed from mojo/public/js/bindings/tests/BUILD.gn)0
-rw-r--r--mojo/bindings/js/tests/DEPS (renamed from mojo/public/js/bindings/tests/DEPS)0
-rw-r--r--mojo/bindings/js/tests/run_js_tests.cc (renamed from mojo/public/js/bindings/tests/run_js_tests.cc)0
-rw-r--r--mojo/mojo.gyp35
-rw-r--r--mojo/mojo_base.gyp18
-rw-r--r--mojo/mojo_public_tests.gypi17
7 files changed, 36 insertions, 36 deletions
diff --git a/mojo/BUILD.gn b/mojo/BUILD.gn
index 45d91fd..9d1761c 100644
--- a/mojo/BUILD.gn
+++ b/mojo/BUILD.gn
@@ -38,6 +38,7 @@ group("tests") {
deps = [
"//mojo/application_manager:mojo_application_manager_unittests",
"//mojo/apps/js/test:mojo_apps_js_unittests",
+ "//mojo/bindings/js/tests:mojo_js_unittests",
"//mojo/common:mojo_common_unittests",
"//mojo/public/c/system/tests:perftests",
"//mojo/public/cpp/application/tests:mojo_public_application_unittests",
@@ -45,7 +46,6 @@ group("tests") {
"//mojo/public/cpp/environment/tests:mojo_public_environment_unittests",
"//mojo/public/cpp/system/tests:mojo_public_system_unittests",
"//mojo/public/cpp/utility/tests:mojo_public_utility_unittests",
- "//mojo/public/js/bindings/tests:mojo_js_unittests",
"//mojo/services/clipboard:mojo_clipboard_unittests",
"//mojo/services/public/cpp/surfaces/tests:mojo_surfaces_lib_unittests",
"//mojo/shell:mojo_external_application_tests",
diff --git a/mojo/public/js/bindings/tests/BUILD.gn b/mojo/bindings/js/tests/BUILD.gn
index e2fc48f..e2fc48f 100644
--- a/mojo/public/js/bindings/tests/BUILD.gn
+++ b/mojo/bindings/js/tests/BUILD.gn
diff --git a/mojo/public/js/bindings/tests/DEPS b/mojo/bindings/js/tests/DEPS
index 2424ea1..2424ea1 100644
--- a/mojo/public/js/bindings/tests/DEPS
+++ b/mojo/bindings/js/tests/DEPS
diff --git a/mojo/public/js/bindings/tests/run_js_tests.cc b/mojo/bindings/js/tests/run_js_tests.cc
index 54d9806..54d9806 100644
--- a/mojo/public/js/bindings/tests/run_js_tests.cc
+++ b/mojo/bindings/js/tests/run_js_tests.cc
diff --git a/mojo/mojo.gyp b/mojo/mojo.gyp
index 9e91ccf..30ffcf2 100644
--- a/mojo/mojo.gyp
+++ b/mojo/mojo.gyp
@@ -41,6 +41,7 @@
'mojo_html_viewer',
'mojo_js_content_handler',
'mojo_js_standalone',
+ 'mojo_js_unittests',
'mojo_native_viewport_service',
'mojo_network_service',
'mojo_pepper_container_app',
@@ -373,6 +374,23 @@
'cc/output_surface_mojo.h',
],
},
+ {
+ # GN version: //mojo/bindings/js/tests:mojo_js_unittests
+ 'target_name': 'mojo_js_unittests',
+ 'type': 'executable',
+ 'dependencies': [
+ '../gin/gin.gyp:gin_test',
+ 'mojo_base.gyp:mojo_common_test_support',
+ 'mojo_base.gyp:mojo_environment_standalone',
+ 'mojo_base.gyp:mojo_js_bindings_lib',
+ 'mojo_base.gyp:mojo_public_test_interfaces',
+ 'mojo_base.gyp:mojo_run_all_unittests',
+ 'mojo_base.gyp:mojo_utility',
+ ],
+ 'sources': [
+ 'bindings/js/tests/run_js_tests.cc',
+ ],
+ },
],
'conditions': [
['OS=="android"', {
@@ -665,5 +683,22 @@
},
],
}],
+ ['test_isolation_mode != "noop"', {
+ 'targets': [
+ {
+ 'target_name': 'mojo_js_unittests_run',
+ 'type': 'none',
+ 'dependencies': [
+ 'mojo_js_unittests',
+ ],
+ 'includes': [
+ '../build/isolate.gypi',
+ ],
+ 'sources': [
+ 'mojo_js_unittests.isolate',
+ ],
+ },
+ ],
+ }],
],
}
diff --git a/mojo/mojo_base.gyp b/mojo/mojo_base.gyp
index 03d7948..6e21ddd 100644
--- a/mojo/mojo_base.gyp
+++ b/mojo/mojo_base.gyp
@@ -25,7 +25,6 @@
'mojo_common_unittests',
'mojo_cpp_bindings',
'mojo_js_bindings',
- 'mojo_js_unittests',
'mojo_message_generator',
'mojo_message_pipe_perftests',
'mojo_public_application_unittests',
@@ -639,22 +638,5 @@
},
]
}],
- ['test_isolation_mode != "noop"', {
- 'targets': [
- {
- 'target_name': 'mojo_js_unittests_run',
- 'type': 'none',
- 'dependencies': [
- 'mojo_js_unittests',
- ],
- 'includes': [
- '../build/isolate.gypi',
- ],
- 'sources': [
- 'mojo_js_unittests.isolate',
- ],
- },
- ],
- }],
]
}
diff --git a/mojo/mojo_public_tests.gypi b/mojo/mojo_public_tests.gypi
index 69d8cf7..6cf4730 100644
--- a/mojo/mojo_public_tests.gypi
+++ b/mojo/mojo_public_tests.gypi
@@ -213,22 +213,5 @@
'mojo_cpp_bindings',
],
},
- {
- # GN version: //mojo/public/js/bindings/tests:mojo_js_unittests
- 'target_name': 'mojo_js_unittests',
- 'type': 'executable',
- 'dependencies': [
- '../gin/gin.gyp:gin_test',
- 'mojo_common_test_support',
- 'mojo_environment_standalone',
- 'mojo_js_bindings_lib',
- 'mojo_public_test_interfaces',
- 'mojo_run_all_unittests',
- 'mojo_utility',
- ],
- 'sources': [
- 'public/js/bindings/tests/run_js_tests.cc',
- ],
- },
],
}