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

Unified Diff: third_party/mojo/mojo_edk.gyp

Issue 814543006: Move //mojo/{public, edk} underneath //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/mojo/README.chromium ('k') | third_party/mojo/mojo_edk_system_impl.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mojo/mojo_edk.gyp
diff --git a/mojo/mojo_edk.gyp b/third_party/mojo/mojo_edk.gyp
similarity index 53%
rename from mojo/mojo_edk.gyp
rename to third_party/mojo/mojo_edk.gyp
index 68b2affd914528dfd4d14f24e276efe0bfc89e17..01edb62f99a96e28014c4363400342d218a2366d 100644
--- a/mojo/mojo_edk.gyp
+++ b/third_party/mojo/mojo_edk.gyp
@@ -6,14 +6,24 @@
'includes': [
'mojo_variables.gypi',
],
+ 'target_defaults' : {
+ 'include_dirs': [
+ 'src',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ 'src',
+ ],
+ },
+ },
'targets': [
{
# GN version: //mojo/edk/system
'target_name': 'mojo_system_impl',
'type': '<(component)',
'dependencies': [
- '../base/base.gyp:base',
- '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
+ '../../base/base.gyp:base',
+ '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
],
'includes': [
'mojo_edk_system_impl.gypi',
@@ -24,31 +34,31 @@
'target_name': 'mojo_js_lib',
'type': 'static_library',
'dependencies': [
- '../base/base.gyp:base',
- '../gin/gin.gyp:gin',
- '../v8/tools/gyp/v8.gyp:v8',
+ '../../base/base.gyp:base',
+ '../../gin/gin.gyp:gin',
+ '../../v8/tools/gyp/v8.gyp:v8',
],
'export_dependent_settings': [
- '../base/base.gyp:base',
- '../gin/gin.gyp:gin',
+ '../../base/base.gyp:base',
+ '../../gin/gin.gyp:gin',
],
'sources': [
# Sources list duplicated in GN build.
- 'edk/js/core.cc',
- 'edk/js/core.h',
- 'edk/js/drain_data.cc',
- 'edk/js/drain_data.h',
- 'edk/js/handle.cc',
- 'edk/js/handle.h',
- 'edk/js/handle_close_observer.h',
- 'edk/js/mojo_runner_delegate.cc',
- 'edk/js/mojo_runner_delegate.h',
- 'edk/js/support.cc',
- 'edk/js/support.h',
- 'edk/js/threading.cc',
- 'edk/js/threading.h',
- 'edk/js/waiting_callback.cc',
- 'edk/js/waiting_callback.h',
+ 'src/mojo/edk/js/core.cc',
+ 'src/mojo/edk/js/core.h',
+ 'src/mojo/edk/js/drain_data.cc',
+ 'src/mojo/edk/js/drain_data.h',
+ 'src/mojo/edk/js/handle.cc',
+ 'src/mojo/edk/js/handle.h',
+ 'src/mojo/edk/js/handle_close_observer.h',
+ 'src/mojo/edk/js/mojo_runner_delegate.cc',
+ 'src/mojo/edk/js/mojo_runner_delegate.h',
+ 'src/mojo/edk/js/support.cc',
+ 'src/mojo/edk/js/support.h',
+ 'src/mojo/edk/js/threading.cc',
+ 'src/mojo/edk/js/threading.h',
+ 'src/mojo/edk/js/waiting_callback.cc',
+ 'src/mojo/edk/js/waiting_callback.h',
],
},
{
@@ -56,11 +66,11 @@
'target_name': 'mojo_test_support_impl',
'type': 'static_library',
'dependencies': [
- '../base/base.gyp:base',
+ '../../base/base.gyp:base',
],
'sources': [
- 'edk/test/test_support_impl.cc',
- 'edk/test/test_support_impl.h',
+ 'src/mojo/edk/test/test_support_impl.cc',
+ 'src/mojo/edk/test/test_support_impl.h',
],
},
{
@@ -68,22 +78,22 @@
'target_name': 'mojo_common_test_support',
'type': 'static_library',
'dependencies': [
- '../base/base.gyp:base',
- '../base/base.gyp:test_support_base',
- '../testing/gtest.gyp:gtest',
+ '../../base/base.gyp:base',
+ '../../base/base.gyp:test_support_base',
+ '../../testing/gtest.gyp:gtest',
'mojo_system_impl',
],
'sources': [
- 'edk/test/multiprocess_test_helper.cc',
- 'edk/test/multiprocess_test_helper.h',
- 'edk/test/test_utils.h',
- 'edk/test/test_utils_posix.cc',
- 'edk/test/test_utils_win.cc',
+ 'src/mojo/edk/test/multiprocess_test_helper.cc',
+ 'src/mojo/edk/test/multiprocess_test_helper.h',
+ 'src/mojo/edk/test/test_utils.h',
+ 'src/mojo/edk/test/test_utils_posix.cc',
+ 'src/mojo/edk/test/test_utils_win.cc',
],
'conditions': [
['OS=="ios"', {
'sources!': [
- 'edk/test/multiprocess_test_helper.cc',
+ 'src/mojo/edk/test/multiprocess_test_helper.cc',
],
}],
],
@@ -93,15 +103,15 @@
'target_name': 'mojo_run_all_unittests',
'type': 'static_library',
'dependencies': [
- '../base/base.gyp:base',
- '../base/base.gyp:test_support_base',
- '../testing/gtest.gyp:gtest',
+ '../../base/base.gyp:base',
+ '../../base/base.gyp:test_support_base',
+ '../../testing/gtest.gyp:gtest',
'mojo_system_impl',
'mojo_public.gyp:mojo_test_support',
'mojo_test_support_impl',
],
'sources': [
- 'edk/test/run_all_unittests.cc',
+ 'src/mojo/edk/test/run_all_unittests.cc',
],
},
{
@@ -109,13 +119,13 @@
'target_name': 'mojo_run_all_perftests',
'type': 'static_library',
'dependencies': [
- '../base/base.gyp:test_support_base',
+ '../../base/base.gyp:test_support_base',
'mojo_edk.gyp:mojo_system_impl',
'mojo_public.gyp:mojo_test_support',
'mojo_test_support_impl',
],
'sources': [
- 'edk/test/run_all_perftests.cc',
+ 'src/mojo/edk/test/run_all_perftests.cc',
],
},
],
@@ -126,8 +136,8 @@
'target_name': 'mojo_system_impl_win64',
'type': '<(component)',
'dependencies': [
- '../base/base.gyp:base_win64',
- '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
+ '../../base/base.gyp:base_win64',
+ '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
],
'includes': [
'mojo_edk_system_impl.gypi',
« no previous file with comments | « third_party/mojo/README.chromium ('k') | third_party/mojo/mojo_edk_system_impl.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698