Reland: Web MIDI: split build rules for media/midi
commitc6475779990f6ffdfa33d42b0bd97818df5e8d3c
authortoyoshim <toyoshim@chromium.org>
Thu, 30 Apr 2015 14:52:02 +0000 (30 07:52 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 30 Apr 2015 14:52:36 +0000 (30 14:52 +0000)
tree8d7993b714b48c21c570833127f06c3e6a0c545f
parent3140c7194502109de2f7803d00e68fc10c94d2b6
Reland: Web MIDI: split build rules for media/midi

Changes from the first coommit.
- Define right dependencies to xdisplaycheck
- Fix build rules for midi_unittests_apk to run on Android
- Rebase error fixes (build rule deopendency adjustments)

Original commit is:
https://crrev.com/31624cad1a3b5cf26950b864837ba44b3aa38331

Original description follows:

Split MIDI related stuffs from media as a component in build files.
Also, MIDI related unit tests are split into midi_unittests.

BUG=475869
TEST=git cl try
TEST=ninja midi_unittests_apk && ./build/android/test_runner.py gtest midi_unittests

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

Cr-Commit-Position: refs/heads/master@{#327712}
42 files changed:
BUILD.gn
android_webview/android_webview.gyp
build/all.gyp
build/android/pylib/gtest/gtest_config.py
build/android/pylib/gtest/setup.py
build/gn_migration.gypi
chromecast/chromecast_tests.gypi
content/app/DEPS
content/app/android/library_loader_hooks.cc
content/common/BUILD.gn
content/content_common.gypi
content/content_tests.gypi
content/test/BUILD.gn
media/BUILD.gn
media/OWNERS
media/base/android/BUILD.gn
media/base/android/media_jni_registrar.cc
media/media.gyp
media/midi/BUILD.gn [new file with mode: 0644]
media/midi/java/src/org/chromium/media/midi/UsbMidiDeviceAndroid.java [moved from media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java with 95% similarity]
media/midi/java/src/org/chromium/media/midi/UsbMidiDeviceFactoryAndroid.java [moved from media/base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroid.java with 93% similarity]
media/midi/midi.gyp [new file with mode: 0644]
media/midi/midi_jni_registrar.cc [new file with mode: 0644]
media/midi/midi_jni_registrar.h [new file with mode: 0644]
media/midi/midi_manager_usb.cc
media/midi/midi_manager_win.cc
media/midi/midi_scheduler.h
media/midi/midi_unittests.isolate [new file with mode: 0644]
media/midi/usb_midi_device_android.cc
media/midi/usb_midi_device_factory_android.cc
media/midi/usb_midi_output_stream.cc
testing/buildbot/chromium.chromiumos.json
testing/buildbot/chromium.fyi.json
testing/buildbot/chromium.linux.json
testing/buildbot/chromium.mac.json
testing/buildbot/chromium.memory.fyi.json
testing/buildbot/chromium.memory.json
testing/buildbot/chromium.webkit.json
testing/buildbot/chromium.win.json
testing/buildbot/chromium_memory_trybot.json
testing/buildbot/chromium_trybot.json
tools/valgrind/chrome_tests.py