diff options
author | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-03 23:18:25 +0000 |
---|---|---|
committer | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-03 23:18:25 +0000 |
commit | de3d0b0af047bf9247437a814878afa827c4eb00 (patch) | |
tree | 46107d21527af3a7269d37cd12d6d9c8c52298a1 | |
parent | 58775bc4b0f749915a7669fd29273526cfa6aec5 (diff) | |
download | chromium_src-de3d0b0af047bf9247437a814878afa827c4eb00.zip chromium_src-de3d0b0af047bf9247437a814878afa827c4eb00.tar.gz chromium_src-de3d0b0af047bf9247437a814878afa827c4eb00.tar.bz2 |
[Mojo] Move JS bindings out of public
This CL moves the implementation of Mojo's JavaScript bindings out of the
"public" directory. The public directory is intended to be free of dependencies
on other parts of Chromium, but the JavaScript bindings depend on V8 and base.
Now, the bindings are just a subdirectory of mojo/apps/js, which is their only
client. This makes mojo.js more of a self-contained app.
R=darin@chromium.org
Review URL: https://codereview.chromium.org/100573003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238476 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | mojo/apps/js/bindings/codec.js (renamed from mojo/public/bindings/js/codec.js) | 0 | ||||
-rw-r--r-- | mojo/apps/js/bindings/codec_unittests.js (renamed from mojo/public/bindings/js/codec_unittests.js) | 2 | ||||
-rw-r--r-- | mojo/apps/js/bindings/connector.js (renamed from mojo/public/bindings/js/connector.js) | 6 | ||||
-rw-r--r-- | mojo/apps/js/bindings/connector_unittests.js (renamed from mojo/public/bindings/js/connector_unittests.js) | 8 | ||||
-rw-r--r-- | mojo/apps/js/bindings/core.cc (renamed from mojo/public/bindings/js/core.cc) | 6 | ||||
-rw-r--r-- | mojo/apps/js/bindings/core.h (renamed from mojo/public/bindings/js/core.h) | 6 | ||||
-rw-r--r-- | mojo/apps/js/bindings/core_unittests.js (renamed from mojo/public/bindings/js/core_unittests.js) | 2 | ||||
-rw-r--r-- | mojo/apps/js/bindings/handle.cc (renamed from mojo/public/bindings/js/handle.cc) | 2 | ||||
-rw-r--r-- | mojo/apps/js/bindings/handle.h (renamed from mojo/public/bindings/js/handle.h) | 6 | ||||
-rw-r--r-- | mojo/apps/js/bindings/support.cc (renamed from mojo/public/bindings/js/support.cc) | 8 | ||||
-rw-r--r-- | mojo/apps/js/bindings/support.h (renamed from mojo/public/bindings/js/support.h) | 6 | ||||
-rw-r--r-- | mojo/apps/js/bindings/threading.cc (renamed from mojo/apps/js/threading.cc) | 6 | ||||
-rw-r--r-- | mojo/apps/js/bindings/threading.h (renamed from mojo/apps/js/threading.h) | 0 | ||||
-rw-r--r-- | mojo/apps/js/bindings/waiting_callback.cc (renamed from mojo/public/bindings/js/waiting_callback.cc) | 2 | ||||
-rw-r--r-- | mojo/apps/js/bindings/waiting_callback.h (renamed from mojo/public/bindings/js/waiting_callback.h) | 6 | ||||
-rw-r--r-- | mojo/apps/js/main.js | 6 | ||||
-rw-r--r-- | mojo/apps/js/mojo_runner_delegate.cc | 6 | ||||
-rw-r--r-- | mojo/apps/js/test/hexdump.js (renamed from mojo/public/bindings/js/test/hexdump.js) | 0 | ||||
-rw-r--r-- | mojo/apps/js/test/run_js_tests.cc (renamed from mojo/public/bindings/js/test/run_js_tests.cc) | 6 | ||||
-rw-r--r-- | mojo/mojo.gyp | 23 | ||||
-rw-r--r-- | mojo/mojo_apps.gypi | 59 | ||||
-rw-r--r-- | mojo/mojo_public.gypi | 37 | ||||
-rw-r--r-- | mojo/public/bindings/generators/js_templates/module.js.tmpl | 4 | ||||
-rw-r--r-- | mojo/public/bindings/js/DEPS | 6 | ||||
-rw-r--r-- | mojo/public/bindings/sample/sample_service_unittests.js | 2 | ||||
-rwxr-xr-x | mojo/tools/mojob.sh | 2 |
26 files changed, 107 insertions, 110 deletions
diff --git a/mojo/public/bindings/js/codec.js b/mojo/apps/js/bindings/codec.js index 0245de4..0245de4 100644 --- a/mojo/public/bindings/js/codec.js +++ b/mojo/apps/js/bindings/codec.js diff --git a/mojo/public/bindings/js/codec_unittests.js b/mojo/apps/js/bindings/codec_unittests.js index 01ab143..d8d8ba0 100644 --- a/mojo/public/bindings/js/codec_unittests.js +++ b/mojo/apps/js/bindings/codec_unittests.js @@ -4,7 +4,7 @@ define([ "gin/test/expect", - "mojo/public/bindings/js/codec", + "mojo/apps/js/bindings/codec", "mojom/sample_service", ], function(expect, codec, sample) { testBar(); diff --git a/mojo/public/bindings/js/connector.js b/mojo/apps/js/bindings/connector.js index 06c351b..42f2f9d 100644 --- a/mojo/public/bindings/js/connector.js +++ b/mojo/apps/js/bindings/connector.js @@ -3,9 +3,9 @@ // found in the LICENSE file. define([ - "mojo/public/bindings/js/codec", - "mojo/public/bindings/js/core", - "mojo/public/bindings/js/support", + "mojo/apps/js/bindings/codec", + "mojo/apps/js/bindings/core", + "mojo/apps/js/bindings/support", ], function(codec, core, support) { function Connector(handle) { diff --git a/mojo/public/bindings/js/connector_unittests.js b/mojo/apps/js/bindings/connector_unittests.js index b3d1638..8aa533f 100644 --- a/mojo/public/bindings/js/connector_unittests.js +++ b/mojo/apps/js/bindings/connector_unittests.js @@ -3,7 +3,7 @@ // found in the LICENSE file. // Mock out the support module to avoid depending on the message loop. -define("mojo/public/bindings/js/support", function() { +define("mojo/apps/js/bindings/support", function() { var waitingCallbacks = []; function WaitCookie(id) { @@ -46,9 +46,9 @@ define("mojo/public/bindings/js/support", function() { define([ "gin/test/expect", - "mojo/public/bindings/js/support", - "mojo/public/bindings/js/core", - "mojo/public/bindings/js/connector", + "mojo/apps/js/bindings/support", + "mojo/apps/js/bindings/core", + "mojo/apps/js/bindings/connector", "mojom/sample_service", ], function(expect, mockSupport, core, connector, sample) { diff --git a/mojo/public/bindings/js/core.cc b/mojo/apps/js/bindings/core.cc index 86c821f..ddca980 100644 --- a/mojo/public/bindings/js/core.cc +++ b/mojo/apps/js/bindings/core.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "mojo/public/bindings/js/core.h" +#include "mojo/apps/js/bindings/core.h" #include "base/bind.h" #include "base/logging.h" @@ -14,7 +14,7 @@ #include "gin/object_template_builder.h" #include "gin/per_isolate_data.h" #include "gin/public/wrapper_info.h" -#include "mojo/public/bindings/js/handle.h" +#include "mojo/apps/js/bindings/handle.h" namespace mojo { namespace js { @@ -86,7 +86,7 @@ gin::WrapperInfo g_wrapper_info = { gin::kEmbedderNativeGin }; } // namespace -const char Core::kModuleName[] = "mojo/public/bindings/js/core"; +const char Core::kModuleName[] = "mojo/apps/js/bindings/core"; v8::Local<v8::ObjectTemplate> Core::GetTemplate(v8::Isolate* isolate) { gin::PerIsolateData* data = gin::PerIsolateData::From(isolate); diff --git a/mojo/public/bindings/js/core.h b/mojo/apps/js/bindings/core.h index 3f4c818..0b5f02e 100644 --- a/mojo/public/bindings/js/core.h +++ b/mojo/apps/js/bindings/core.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef MOJO_PUBLIC_BINDINGS_JS_CORE_H_ -#define MOJO_PUBLIC_BINDINGS_JS_CORE_H_ +#ifndef MOJO_APPS_JS_BINDINGS_CORE_H_ +#define MOJO_APPS_JS_BINDINGS_CORE_H_ #include "v8/include/v8.h" @@ -19,4 +19,4 @@ class Core { } // namespace js } // namespace mojo -#endif // MOJO_PUBLIC_BINDINGS_JS_CORE_H_ +#endif // MOJO_APPS_JS_BINDINGS_CORE_H_ diff --git a/mojo/public/bindings/js/core_unittests.js b/mojo/apps/js/bindings/core_unittests.js index bc3b55e..5b900a0 100644 --- a/mojo/public/bindings/js/core_unittests.js +++ b/mojo/apps/js/bindings/core_unittests.js @@ -4,7 +4,7 @@ define([ "gin/test/expect", - "mojo/public/bindings/js/core", + "mojo/apps/js/bindings/core", ], function(expect, core) { runWithPipe(testNop); runWithPipe(testReadAndWriteMessage); diff --git a/mojo/public/bindings/js/handle.cc b/mojo/apps/js/bindings/handle.cc index b0ef697..068be2d 100644 --- a/mojo/public/bindings/js/handle.cc +++ b/mojo/apps/js/bindings/handle.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "mojo/public/bindings/js/handle.h" +#include "mojo/apps/js/bindings/handle.h" namespace gin { diff --git a/mojo/public/bindings/js/handle.h b/mojo/apps/js/bindings/handle.h index 4f3f615..8bae517 100644 --- a/mojo/public/bindings/js/handle.h +++ b/mojo/apps/js/bindings/handle.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef MOJO_PUBLIC_BINDINGS_JS_HANDLE_H_ -#define MOJO_PUBLIC_BINDINGS_JS_HANDLE_H_ +#ifndef MOJO_APPS_JS_BINDINGS_HANDLE_H_ +#define MOJO_APPS_JS_BINDINGS_HANDLE_H_ #include "gin/converter.h" #include "mojo/public/system/core_cpp.h" @@ -20,4 +20,4 @@ struct Converter<mojo::Handle> { } // namespace gin -#endif // MOJO_PUBLIC_BINDINGS_JS_HANDLE_H_ +#endif // MOJO_APPS_JS_BINDINGS_HANDLE_H_ diff --git a/mojo/public/bindings/js/support.cc b/mojo/apps/js/bindings/support.cc index cf2f1c8..e07cc09 100644 --- a/mojo/public/bindings/js/support.cc +++ b/mojo/apps/js/bindings/support.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "mojo/public/bindings/js/support.h" +#include "mojo/apps/js/bindings/support.h" #include "base/bind.h" #include "gin/arguments.h" @@ -12,8 +12,8 @@ #include "gin/per_isolate_data.h" #include "gin/public/wrapper_info.h" #include "gin/wrappable.h" -#include "mojo/public/bindings/js/handle.h" -#include "mojo/public/bindings/js/waiting_callback.h" +#include "mojo/apps/js/bindings/handle.h" +#include "mojo/apps/js/bindings/waiting_callback.h" #include "mojo/public/bindings/lib/bindings_support.h" namespace mojo { @@ -46,7 +46,7 @@ gin::WrapperInfo g_wrapper_info = { gin::kEmbedderNativeGin }; } // namespace -const char Support::kModuleName[] = "mojo/public/bindings/js/support"; +const char Support::kModuleName[] = "mojo/apps/js/bindings/support"; v8::Local<v8::ObjectTemplate> Support::GetTemplate(v8::Isolate* isolate) { gin::PerIsolateData* data = gin::PerIsolateData::From(isolate); diff --git a/mojo/public/bindings/js/support.h b/mojo/apps/js/bindings/support.h index e5736592..e8ec33e 100644 --- a/mojo/public/bindings/js/support.h +++ b/mojo/apps/js/bindings/support.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef MOJO_PUBLIC_BINDINGS_JS_SUPPORT_H_ -#define MOJO_PUBLIC_BINDINGS_JS_SUPPORT_H_ +#ifndef MOJO_APPS_JS_BINDINGS_SUPPORT_H_ +#define MOJO_APPS_JS_BINDINGS_SUPPORT_H_ #include "v8/include/v8.h" @@ -19,4 +19,4 @@ class Support { } // namespace js } // namespace mojo -#endif // MOJO_PUBLIC_BINDINGS_JS_SUPPORT_H_ +#endif // MOJO_APPS_JS_BINDINGS_SUPPORT_H_ diff --git a/mojo/apps/js/threading.cc b/mojo/apps/js/bindings/threading.cc index e86c6e4..b704ac8 100644 --- a/mojo/apps/js/threading.cc +++ b/mojo/apps/js/bindings/threading.cc @@ -2,14 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "mojo/apps/js/threading.h" +#include "mojo/apps/js/bindings/threading.h" #include "base/bind.h" #include "base/message_loop/message_loop.h" #include "gin/function_template.h" #include "gin/object_template_builder.h" #include "gin/per_isolate_data.h" -#include "mojo/public/bindings/js/handle.h" +#include "mojo/apps/js/bindings/handle.h" namespace mojo { namespace apps { @@ -24,7 +24,7 @@ gin::WrapperInfo g_wrapper_info = { gin::kEmbedderNativeGin }; } // namespace -const char Threading::kModuleName[] = "mojo/apps/js/threading"; +const char Threading::kModuleName[] = "mojo/apps/js/bindings/threading"; v8::Local<v8::ObjectTemplate> Threading::GetTemplate(v8::Isolate* isolate) { gin::PerIsolateData* data = gin::PerIsolateData::From(isolate); diff --git a/mojo/apps/js/threading.h b/mojo/apps/js/bindings/threading.h index 356d1e7..356d1e7 100644 --- a/mojo/apps/js/threading.h +++ b/mojo/apps/js/bindings/threading.h diff --git a/mojo/public/bindings/js/waiting_callback.cc b/mojo/apps/js/bindings/waiting_callback.cc index f9d209b..2832685 100644 --- a/mojo/public/bindings/js/waiting_callback.cc +++ b/mojo/apps/js/bindings/waiting_callback.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "mojo/public/bindings/js/waiting_callback.h" +#include "mojo/apps/js/bindings/waiting_callback.h" #include "gin/per_context_data.h" #include "gin/per_isolate_data.h" diff --git a/mojo/public/bindings/js/waiting_callback.h b/mojo/apps/js/bindings/waiting_callback.h index 4a5e3e4..2e1653d 100644 --- a/mojo/public/bindings/js/waiting_callback.h +++ b/mojo/apps/js/bindings/waiting_callback.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef MOJO_PUBLIC_BINDINGS_JS_WAITING_CALLBACK_H_ -#define MOJO_PUBLIC_BINDINGS_JS_WAITING_CALLBACK_H_ +#ifndef MOJO_APPS_JS_BINDINGS_WAITING_CALLBACK_H_ +#define MOJO_APPS_JS_BINDINGS_WAITING_CALLBACK_H_ #include "gin/runner.h" #include "gin/wrappable.h" @@ -53,4 +53,4 @@ struct Converter<mojo::js::WaitingCallback*> } // namespace gin -#endif // MOJO_PUBLIC_BINDINGS_JS_WAITING_CALLBACK_H_ +#endif // MOJO_APPS_JS_BINDINGS_WAITING_CALLBACK_H_ diff --git a/mojo/apps/js/main.js b/mojo/apps/js/main.js index 2592422..5f596c3 100644 --- a/mojo/apps/js/main.js +++ b/mojo/apps/js/main.js @@ -4,10 +4,10 @@ define([ "console", - "mojo/apps/js/threading", - "mojo/public/bindings/js/connector", + "mojo/apps/js/bindings/connector", + "mojo/apps/js/bindings/threading", "mojom/hello_world_service", -], function(console, threading, connector, hello) { +], function(console, connector, threading, hello) { function HelloWorldClientImpl() { } diff --git a/mojo/apps/js/mojo_runner_delegate.cc b/mojo/apps/js/mojo_runner_delegate.cc index c74bf50..871e5b7 100644 --- a/mojo/apps/js/mojo_runner_delegate.cc +++ b/mojo/apps/js/mojo_runner_delegate.cc @@ -10,9 +10,9 @@ #include "gin/modules/console.h" #include "gin/modules/module_registry.h" #include "gin/try_catch.h" -#include "mojo/apps/js/threading.h" -#include "mojo/public/bindings/js/core.h" -#include "mojo/public/bindings/js/support.h" +#include "mojo/apps/js/bindings/core.h" +#include "mojo/apps/js/bindings/support.h" +#include "mojo/apps/js/bindings/threading.h" namespace mojo { namespace apps { diff --git a/mojo/public/bindings/js/test/hexdump.js b/mojo/apps/js/test/hexdump.js index b36c47f..b36c47f 100644 --- a/mojo/public/bindings/js/test/hexdump.js +++ b/mojo/apps/js/test/hexdump.js diff --git a/mojo/public/bindings/js/test/run_js_tests.cc b/mojo/apps/js/test/run_js_tests.cc index 0fc6e0c..ffcfa1f 100644 --- a/mojo/public/bindings/js/test/run_js_tests.cc +++ b/mojo/apps/js/test/run_js_tests.cc @@ -7,7 +7,7 @@ #include "gin/modules/module_registry.h" #include "gin/test/file_runner.h" #include "gin/test/gtest.h" -#include "mojo/public/bindings/js/core.h" +#include "mojo/apps/js/bindings/core.h" #include "testing/gtest/include/gtest/gtest.h" namespace mojo { @@ -28,9 +28,9 @@ void RunTest(std::string test) { base::FilePath path; PathService::Get(base::DIR_SOURCE_ROOT, &path); path = path.AppendASCII("mojo") - .AppendASCII("public") - .AppendASCII("bindings") + .AppendASCII("apps") .AppendASCII("js") + .AppendASCII("bindings") .AppendASCII(test); TestRunnerDelegate delegate; gin::RunTestFromFile(path, &delegate); diff --git a/mojo/mojo.gyp b/mojo/mojo.gyp index 7cb5bec..1f0f013 100644 --- a/mojo/mojo.gyp +++ b/mojo/mojo.gyp @@ -7,6 +7,7 @@ 'chromium_code': 1, }, 'includes': [ + 'mojo_apps.gypi', 'mojo_examples.gypi', 'mojo_public.gypi', 'mojo_services.gypi', @@ -22,8 +23,7 @@ 'mojo_common_lib', 'mojo_common_unittests', 'mojo_js', - 'mojo_js_bindings', - 'mojo_js_bindings_unittests', + 'mojo_js_unittests', 'mojo_public_perftests', 'mojo_public_test_support', 'mojo_public_unittests', @@ -262,25 +262,6 @@ }], ], }, - { - 'target_name': 'mojo_js', - 'type': 'shared_library', - 'dependencies': [ - '../base/base.gyp:base', - '../gin/gin.gyp:gin', - 'hello_world_service', - 'mojo_common_lib', - 'mojo_js_bindings', - 'mojo_system', - ], - 'sources': [ - 'apps/js/main.cc', - 'apps/js/mojo_runner_delegate.cc', - 'apps/js/mojo_runner_delegate.h', - 'apps/js/threading.cc', - 'apps/js/threading.h', - ], - }, ], 'conditions': [ ['OS=="android"', { diff --git a/mojo/mojo_apps.gypi b/mojo/mojo_apps.gypi new file mode 100644 index 0000000..5d5605f --- /dev/null +++ b/mojo/mojo_apps.gypi @@ -0,0 +1,59 @@ +{ + 'targets': [ + { + 'target_name': 'mojo_js_lib', + 'type': 'static_library', + 'dependencies': [ + '../base/base.gyp:base', + '../gin/gin.gyp:gin', + 'hello_world_service', + 'mojo_common_lib', + 'mojo_system', + ], + 'export_dependent_settings': [ + '../base/base.gyp:base', + '../gin/gin.gyp:gin', + 'hello_world_service', + 'mojo_common_lib', + 'mojo_system', + ], + 'sources': [ + 'apps/js/mojo_runner_delegate.cc', + 'apps/js/mojo_runner_delegate.h', + 'apps/js/bindings/threading.cc', + 'apps/js/bindings/threading.h', + 'apps/js/bindings/core.cc', + 'apps/js/bindings/core.h', + 'apps/js/bindings/handle.cc', + 'apps/js/bindings/handle.h', + 'apps/js/bindings/support.cc', + 'apps/js/bindings/support.h', + 'apps/js/bindings/waiting_callback.cc', + 'apps/js/bindings/waiting_callback.h', + ], + }, + { + 'target_name': 'mojo_js_unittests', + 'type': 'executable', + 'dependencies': [ + '../gin/gin.gyp:gin_test', + 'mojo_js_lib', + 'mojo_run_all_unittests', + 'sample_service', + ], + 'sources': [ + 'apps/js/test/run_js_tests.cc', + ], + }, + { + 'target_name': 'mojo_js', + 'type': 'shared_library', + 'dependencies': [ + 'mojo_js_lib', + ], + 'sources': [ + 'apps/js/main.cc', + ], + }, + ], +} diff --git a/mojo/mojo_public.gypi b/mojo/mojo_public.gypi index 9248949..d916d10 100644 --- a/mojo/mojo_public.gypi +++ b/mojo/mojo_public.gypi @@ -78,30 +78,6 @@ ], }, { - 'target_name': 'mojo_js_bindings', - 'type': 'static_library', - 'include_dirs': [ - '..' - ], - 'dependencies': [ - '../gin/gin.gyp:gin', - 'mojo_system', - ], - 'export_dependent_settings': [ - '../gin/gin.gyp:gin', - ], - 'sources': [ - 'public/bindings/js/core.cc', - 'public/bindings/js/core.h', - 'public/bindings/js/handle.cc', - 'public/bindings/js/handle.h', - 'public/bindings/js/support.cc', - 'public/bindings/js/support.h', - 'public/bindings/js/waiting_callback.cc', - 'public/bindings/js/waiting_callback.h', - ], - }, - { 'target_name': 'sample_service', 'type': 'static_library', 'sources': [ @@ -127,19 +103,6 @@ ], }, { - 'target_name': 'mojo_js_bindings_unittests', - 'type': 'executable', - 'dependencies': [ - '../gin/gin.gyp:gin_test', - 'mojo_js_bindings', - 'mojo_run_all_unittests', - 'sample_service', - ], - 'sources': [ - 'public/bindings/js/test/run_js_tests.cc', - ], - }, - { 'target_name': 'gles2_client_impl', 'type': 'static_library', 'dependencies': [ diff --git a/mojo/public/bindings/generators/js_templates/module.js.tmpl b/mojo/public/bindings/generators/js_templates/module.js.tmpl index 9394d8b..fb1f934 100644 --- a/mojo/public/bindings/generators/js_templates/module.js.tmpl +++ b/mojo/public/bindings/generators/js_templates/module.js.tmpl @@ -3,8 +3,8 @@ // found in the LICENSE file. define([ - "mojo/public/bindings/js/core", - "mojo/public/bindings/js/codec", + "mojo/apps/js/bindings/core", + "mojo/apps/js/bindings/codec", ], function(core, codec) { {%- for struct in structs %} diff --git a/mojo/public/bindings/js/DEPS b/mojo/public/bindings/js/DEPS deleted file mode 100644 index c4f3ab9..0000000 --- a/mojo/public/bindings/js/DEPS +++ /dev/null @@ -1,6 +0,0 @@ -include_rules = [ - "+base", - "+gin", - "+testing", - "+v8", -] diff --git a/mojo/public/bindings/sample/sample_service_unittests.js b/mojo/public/bindings/sample/sample_service_unittests.js index 65e64e1..0adae31 100644 --- a/mojo/public/bindings/sample/sample_service_unittests.js +++ b/mojo/public/bindings/sample/sample_service_unittests.js @@ -4,7 +4,7 @@ define([ "console", - "mojo/public/bindings/js/test/hexdump", + "mojo/apps/js/test/hexdump", "gin/test/expect", "mojom/sample_service" ], function(console, hexdump, expect, sample) { diff --git a/mojo/tools/mojob.sh b/mojo/tools/mojob.sh index 26ed2cc..5871887 100755 --- a/mojo/tools/mojob.sh +++ b/mojo/tools/mojob.sh @@ -50,7 +50,7 @@ do_unittests() { "out/$1/mojo_system_unittests" || exit 1 "out/$1/mojo_public_unittests" || exit 1 "out/$1/mojo_bindings_unittests" || exit 1 - "out/$1/mojo_js_bindings_unittests" || exit 1 + "out/$1/mojo_js_unittests" || exit 1 "out/$1/mojo_common_unittests" || exit 1 "out/$1/mojo_shell_unittests" || exit 1 } |