Skip to content

Commit

Permalink
Move mojo gypfiles to toplevel mojo
Browse files Browse the repository at this point in the history
These files are owned by chromium now. It would not only be weird
to inject them into the rolled mojo directory structure, but doing
so would unnecessarily complicate the mojo up-rev procedure.

BUG=None

TBR=darin@chromium.org

Review URL: https://codereview.chromium.org/807773002

Cr-Commit-Position: refs/heads/master@{#308622}
  • Loading branch information
krockot authored and Commit bot committed Dec 16, 2014
1 parent 7e9b46e commit 829dc9a
Show file tree
Hide file tree
Showing 37 changed files with 1,004 additions and 1,004 deletions.
20 changes: 10 additions & 10 deletions build/all.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,18 @@
# NOTE: This list of targets is present because
# mojo_base.gyp:mojo_base cannot be built on iOS, as
# javascript-related targets cause v8 to be built.
'../mojo/edk/mojo_edk_tests.gyp:mojo_public_bindings_unittests',
'../mojo/edk/mojo_edk_tests.gyp:mojo_public_environment_unittests',
'../mojo/edk/mojo_edk_tests.gyp:mojo_public_system_perftests',
'../mojo/edk/mojo_edk_tests.gyp:mojo_public_system_unittests',
'../mojo/edk/mojo_edk_tests.gyp:mojo_public_utility_unittests',
'../mojo/edk/mojo_edk.gyp:mojo_system_impl',
'../mojo/edk/mojo_edk_tests.gyp:mojo_system_unittests',
'../mojo/mojo_base.gyp:mojo_common_lib',
'../mojo/mojo_base.gyp:mojo_common_unittests',
'../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/public/mojo_public.gyp:mojo_public_test_utils',
'../mojo/public/mojo_public.gyp:mojo_system',
'../mojo/mojo_edk.gyp:mojo_system_impl',
'../mojo/mojo_edk_tests.gyp:mojo_public_bindings_unittests',
'../mojo/mojo_edk_tests.gyp:mojo_public_environment_unittests',
'../mojo/mojo_edk_tests.gyp:mojo_public_system_perftests',
'../mojo/mojo_edk_tests.gyp:mojo_public_system_unittests',
'../mojo/mojo_edk_tests.gyp:mojo_public_utility_unittests',
'../mojo/mojo_edk_tests.gyp:mojo_system_unittests',
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/mojo_public.gyp:mojo_public_test_utils',
'../mojo/mojo_public.gyp:mojo_system',
'../google_apis/google_apis.gyp:google_apis_unittests',
'../ui/base/ui_base_tests.gyp:ui_base_unittests',
'../ui/ios/ui_ios_tests.gyp:ui_ios_unittests',
Expand Down
6 changes: 3 additions & 3 deletions chrome/chrome_browser.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -3021,11 +3021,11 @@
'../content/app/resources/content_resources.gyp:content_resources',
'../media/cast/cast.gyp:cast_net',
'../media/media.gyp:media',
'../mojo/edk/mojo_edk.gyp:mojo_system_impl',
'../mojo/mojo_base.gyp:mojo_common_lib',
'../mojo/mojo_base.gyp:mojo_environment_chromium',
'../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/public/mojo_public.gyp:mojo_js_bindings',
'../mojo/mojo_edk.gyp:mojo_system_impl',
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/mojo_public.gyp:mojo_js_bindings',
'../net/net.gyp:net_extras',
'../net/net.gyp:net_with_v8',
'../storage/storage_browser.gyp:storage',
Expand Down
2 changes: 1 addition & 1 deletion chrome/chrome_browser_ui.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -2696,7 +2696,7 @@
'../components/components.gyp:translate_content_common',
'../content/app/resources/content_resources.gyp:content_resources',
'../media/media.gyp:media',
'../mojo/edk/mojo_edk.gyp:mojo_system_impl',
'../mojo/mojo_edk.gyp:mojo_system_impl',
'../net/net.gyp:net_with_v8',
'../storage/storage_browser.gyp:storage',
'../storage/storage_common.gyp:storage_common',
Expand Down
2 changes: 1 addition & 1 deletion chrome/chrome_tests_unit.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -1921,8 +1921,8 @@
'common',
'test_support_common',
'../base/base.gyp:base',
'../mojo/edk/mojo_edk.gyp:mojo_system_impl',
'../mojo/mojo_base.gyp:mojo_environment_chromium',
'../mojo/mojo_edk.gyp:mojo_system_impl',
'../skia/skia.gyp:skia',
'../sync/sync.gyp:sync',
'../testing/gmock.gyp:gmock',
Expand Down
2 changes: 1 addition & 1 deletion chrome/chrome_web_ui_mojo_bindings.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
'sources': [
'browser/ui/webui/omnibox/omnibox.mojom',
],
'includes': [ '../mojo/public/tools/bindings/mojom_bindings_generator.gypi' ],
'includes': [ '../mojo/mojom_bindings_generator.gypi' ],
},
],
}
4 changes: 2 additions & 2 deletions content/content.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@
'../device/vibration/vibration.gyp:device_vibration_java',
'../media/media.gyp:media_java',
'../mojo/mojo_base.gyp:mojo_system_java',
'../mojo/public/mojo_public.gyp:mojo_application_bindings',
'../mojo/public/mojo_public.gyp:mojo_bindings_java',
'../mojo/mojo_public.gyp:mojo_application_bindings',
'../mojo/mojo_public.gyp:mojo_bindings_java',
'../net/net.gyp:net',
'../ui/android/ui_android.gyp:ui_java',
'../ui/touch_selection/ui_touch_selection.gyp:selection_event_type_java',
Expand Down
2 changes: 1 addition & 1 deletion content/content_app.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
'../crypto/crypto.gyp:crypto',
'../mojo/edk/mojo_edk.gyp:mojo_system_impl',
'../mojo/mojo_base.gyp:mojo_environment_chromium',
'../mojo/mojo_edk.gyp:mojo_system_impl',
'../ui/base/ui_base.gyp:ui_base',
'../ui/gfx/gfx.gyp:gfx',
'../ui/gfx/gfx.gyp:gfx_geometry',
Expand Down
6 changes: 3 additions & 3 deletions content/content_browser.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -1659,8 +1659,8 @@
'browser/devtools/devtools.gyp:devtools_protocol_handler',
'../cc/cc.gyp:cc',
'../cc/cc.gyp:cc_surfaces',
'../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/public/mojo_public.gyp:mojo_js_bindings',
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/mojo_public.gyp:mojo_js_bindings',
'../net/net.gyp:http_server',
'../storage/storage_browser.gyp:storage',
'../storage/storage_common.gyp:storage_common',
Expand All @@ -1670,7 +1670,7 @@
'../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection',
],
'export_dependent_settings': [
'../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
],
}],
['enable_basic_printing==1 or enable_print_preview==1', {
Expand Down
10 changes: 5 additions & 5 deletions content/content_common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -570,19 +570,19 @@
'../ipc/mojo/ipc_mojo.gyp:ipc_mojo',
'../media/media.gyp:media',
'../media/media.gyp:shared_memory_support',
'../mojo/edk/mojo_edk.gyp:mojo_system_impl',
'../mojo/mojo_base.gyp:mojo_environment_chromium',
'../mojo/public/mojo_public.gyp:mojo_application_bindings',
'../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/mojo_edk.gyp:mojo_system_impl',
'../mojo/mojo_public.gyp:mojo_application_bindings',
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
'../storage/storage_browser.gyp:storage',
'../storage/storage_common.gyp:storage_common',
'../third_party/WebKit/public/blink.gyp:blink',
'../ui/gl/gl.gyp:gl',
'../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
],
'export_dependent_settings' : [
'../mojo/public/mojo_public.gyp:mojo_application_bindings',
'../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/mojo_public.gyp:mojo_application_bindings',
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
],
'actions': [
{
Expand Down
6 changes: 3 additions & 3 deletions content/content_common_mojo_bindings.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
'public/common/permission_status.mojom',
],
},
'includes': [ '../mojo/public/tools/bindings/mojom_bindings_generator_explicit.gypi' ],
'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
},
{
'target_name': 'content_common_mojo_bindings',
Expand All @@ -29,8 +29,8 @@
'dependencies': [
'content_common_mojo_bindings_mojom',
'../mojo/mojo_base.gyp:mojo_environment_chromium',
'../mojo/public/mojo_public.gyp:mojo_application_bindings',
'../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/mojo_public.gyp:mojo_application_bindings',
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
]
},
]
Expand Down
2 changes: 1 addition & 1 deletion content/content_renderer.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
'../jingle/jingle.gyp:jingle_glue',
'../media/blink/media_blink.gyp:media_blink',
'../media/media.gyp:media',
'../mojo/edk/mojo_edk.gyp:mojo_js_lib',
'../mojo/mojo_base.gyp:mojo_environment_chromium',
'../mojo/mojo_edk.gyp:mojo_js_lib',
'../net/net.gyp:net',
'../skia/skia.gyp:skia',
'../storage/storage_common.gyp:storage_common',
Expand Down
22 changes: 11 additions & 11 deletions content/content_tests.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@
'target_name': 'test_support_content',
'type': 'static_library',
'dependencies': [
'../mojo/edk/mojo_edk.gyp:mojo_system_impl',
'../mojo/mojo_base.gyp:mojo_environment_chromium',
'../mojo/mojo_edk.gyp:mojo_system_impl',
'../net/net.gyp:net_test_support',
'../skia/skia.gyp:skia',
'../storage/storage_common.gyp:storage_common',
Expand Down Expand Up @@ -387,9 +387,9 @@
'../crypto/crypto.gyp:crypto',
'../device/battery/battery.gyp:device_battery',
'../device/battery/battery.gyp:device_battery_mojo_bindings',
'../mojo/edk/mojo_edk.gyp:mojo_common_test_support',
'../mojo/mojo_base.gyp:mojo_environment_chromium',
'../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/mojo_edk.gyp:mojo_common_test_support',
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
'../net/net.gyp:net_test_support',
'../skia/skia.gyp:skia',
'../sql/sql.gyp:sql',
Expand Down Expand Up @@ -1143,14 +1143,14 @@
'target_name': 'web_ui_test_mojo_bindings',
'type': 'static_library',
'dependencies': [
'../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
],
'sources': [
'test/data/web_ui_test_mojo_bindings.mojom',
],
'includes': [ '../mojo/public/tools/bindings/mojom_bindings_generator.gypi' ],
'includes': [ '../mojo/mojom_bindings_generator.gypi' ],
'export_dependent_settings': [
'../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
],
},
{
Expand All @@ -1176,11 +1176,11 @@
'../ipc/ipc.gyp:test_support_ipc',
'../media/media.gyp:media_test_support',
'../media/media.gyp:shared_memory_support',
'../mojo/edk/mojo_edk.gyp:mojo_common_test_support',
'../mojo/edk/mojo_edk.gyp:mojo_system_impl',
'../mojo/mojo_base.gyp:mojo_environment_chromium',
'../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/public/mojo_public.gyp:mojo_js_bindings',
'../mojo/mojo_edk.gyp:mojo_common_test_support',
'../mojo/mojo_edk.gyp:mojo_system_impl',
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/mojo_public.gyp:mojo_js_bindings',
'../net/net.gyp:net_test_support',
'../ppapi/ppapi_internal.gyp:ppapi_host',
'../ppapi/ppapi_internal.gyp:ppapi_ipc',
Expand Down Expand Up @@ -1909,7 +1909,7 @@
'../device/battery/battery.gyp:device_battery_javatests',
'../media/media.gyp:media_java',
'../media/media.gyp:media_test_support',
'../mojo/public/mojo_public.gyp:mojo_public_test_interfaces',
'../mojo/mojo_public.gyp:mojo_public_test_interfaces',
'../net/net.gyp:net_java',
'../net/net.gyp:net_javatests',
'../net/net.gyp:net_java_test_support',
Expand Down
6 changes: 3 additions & 3 deletions device/battery/battery.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'target_name': 'device_battery_mojo_bindings',
'type': 'static_library',
'includes': [
'../../mojo/public/tools/bindings/mojom_bindings_generator.gypi',
'../../mojo/mojom_bindings_generator.gypi',
],
'sources': [
'battery_monitor.mojom',
Expand All @@ -26,9 +26,9 @@
'dependencies': [
'../../base/base.gyp:base',
'../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'../../mojo/edk/mojo_edk.gyp:mojo_system_impl',
'../../mojo/mojo_base.gyp:mojo_environment_chromium',
'../../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../../mojo/mojo_edk.gyp:mojo_system_impl',
'../../mojo/mojo_public.gyp:mojo_cpp_bindings',
'device_battery_mojo_bindings',
],
'defines': [
Expand Down
4 changes: 2 additions & 2 deletions device/device_tests.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
'type': '<(gtest_target_type)',
'dependencies': [
'../base/base.gyp:test_support_base',
'../mojo/edk/mojo_edk.gyp:mojo_system_impl',
'../mojo/mojo_base.gyp:mojo_environment_chromium',
'../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/mojo_edk.gyp:mojo_system_impl',
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
'../tools/usb_gadget/usb_gadget.gyp:usb_gadget',
Expand Down
6 changes: 3 additions & 3 deletions device/serial/serial.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# generated cpp files must be listed explicitly in device_serial
'type': 'none',
'includes': [
'../../mojo/public/tools/bindings/mojom_bindings_generator.gypi',
'../../mojo/mojom_bindings_generator.gypi',
],
'sources': [
'data_stream.mojom',
Expand All @@ -42,12 +42,12 @@
],
'dependencies': [
'device_serial_mojo',
'../../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../../mojo/mojo_public.gyp:mojo_cpp_bindings',
'../../net/net.gyp:net',
],
'export_dependent_settings': [
'device_serial_mojo',
'../../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../../mojo/mojo_public.gyp:mojo_cpp_bindings',
],
'sources': [
'<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.cc',
Expand Down
6 changes: 3 additions & 3 deletions device/vibration/vibration.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'target_name': 'device_vibration_mojo_bindings',
'type': 'static_library',
'includes': [
'../../mojo/public/tools/bindings/mojom_bindings_generator.gypi',
'../../mojo/mojom_bindings_generator.gypi',
],
'sources': [
'vibration_manager.mojom',
Expand All @@ -25,9 +25,9 @@
'dependencies': [
'../../base/base.gyp:base',
'../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'../../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../../mojo/mojo_base.gyp:mojo_environment_chromium',
'../../mojo/edk/mojo_edk.gyp:mojo_system_impl',
'../../mojo/mojo_edk.gyp:mojo_system_impl',
'../../mojo/mojo_public.gyp:mojo_cpp_bindings',
'device_vibration_mojo_bindings',
],
'defines': [
Expand Down
10 changes: 5 additions & 5 deletions extensions/extensions.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# generated cpp files must be listed explicitly in extensions_common
'type': 'none',
'includes': [
'../mojo/public/tools/bindings/mojom_bindings_generator.gypi',
'../mojo/mojom_bindings_generator.gypi',
],
'sources': [
'common/mojo/keep_alive.mojom',
Expand Down Expand Up @@ -858,7 +858,7 @@
'extensions_resources.gyp:extensions_resources',
'../content/content.gyp:content_resources',
'../gin/gin.gyp:gin',
'../mojo/public/mojo_public.gyp:mojo_js_bindings',
'../mojo/mojo_public.gyp:mojo_js_bindings',
'../third_party/WebKit/public/blink.gyp:blink',
],
'include_dirs': [
Expand Down Expand Up @@ -1168,10 +1168,10 @@
'../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks',
'../device/serial/serial.gyp:device_serial',
'../device/serial/serial.gyp:device_serial_test_util',
'../mojo/edk/mojo_edk.gyp:mojo_js_lib',
'../mojo/edk/mojo_edk.gyp:mojo_system_impl',
'../mojo/mojo_base.gyp:mojo_environment_chromium',
'../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../mojo/mojo_edk.gyp:mojo_js_lib',
'../mojo/mojo_edk.gyp:mojo_system_impl',
'../mojo/mojo_public.gyp:mojo_cpp_bindings',
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
'../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
Expand Down
2 changes: 1 addition & 1 deletion extensions/shell/app_shell.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
'<(DEPTH)/extensions/extensions_resources.gyp:extensions_resources',
'<(DEPTH)/extensions/shell/browser/api/api_registration.gyp:shell_api_registration',
'<(DEPTH)/extensions/shell/common/api/api.gyp:shell_api',
'<(DEPTH)/mojo/edk/mojo_edk.gyp:mojo_system_impl',
'<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
'<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl',
'<(DEPTH)/skia/skia.gyp:skia',
'<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
'<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
Expand Down
14 changes: 7 additions & 7 deletions ipc/mojo/ipc_mojo.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
'defines': [
'IPC_MOJO_IMPLEMENTATION',
],
'includes': [ '../../mojo/public/tools/bindings/mojom_bindings_generator.gypi' ],
'includes': [ '../../mojo/mojom_bindings_generator.gypi' ],
'dependencies': [
'../ipc.gyp:ipc',
'../../base/base.gyp:base',
'../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'../../mojo/edk/mojo_edk.gyp:mojo_system_impl',
'../../mojo/mojo_base.gyp:mojo_environment_chromium',
'../../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../../mojo/mojo_edk.gyp:mojo_system_impl',
'../../mojo/mojo_public.gyp:mojo_cpp_bindings',
],
'sources': [
'client_channel.mojom',
Expand Down Expand Up @@ -54,9 +54,9 @@
'../../base/base.gyp:base',
'../../base/base.gyp:base_i18n',
'../../base/base.gyp:test_support_base',
'../../mojo/edk/mojo_edk.gyp:mojo_system_impl',
'../../mojo/mojo_base.gyp:mojo_environment_chromium',
'../../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../../mojo/mojo_edk.gyp:mojo_system_impl',
'../../mojo/mojo_public.gyp:mojo_cpp_bindings',
'../../testing/gtest.gyp:gtest',
'ipc_mojo',
],
Expand All @@ -81,9 +81,9 @@
'../../base/base.gyp:base_i18n',
'../../base/base.gyp:test_support_base',
'../../base/base.gyp:test_support_perf',
'../../mojo/edk/mojo_edk.gyp:mojo_system_impl',
'../../mojo/mojo_base.gyp:mojo_environment_chromium',
'../../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
'../../mojo/mojo_edk.gyp:mojo_system_impl',
'../../mojo/mojo_public.gyp:mojo_cpp_bindings',
'../../testing/gtest.gyp:gtest',
'ipc_mojo',
],
Expand Down
Loading

0 comments on commit 829dc9a

Please sign in to comment.