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

Issue 1065743003: Reland: Web MIDI: split build rules for media/midi (Closed)

Created:
5 years, 8 months ago by Takashi Toyoshima
Modified:
5 years, 7 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, toyoshim+midi_chromium.org, yhirano
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/c6475779990f6ffdfa33d42b0bd97818df5e8d3c Cr-Commit-Position: refs/heads/master@{#327712}

Patch Set 1 : GN can build libmidi and midi_unittests #

Patch Set 2 : GN can build chrome #

Patch Set 3 : GN can build on Android #

Patch Set 4 : windows build fix #

Patch Set 5 : Mac build fix #

Patch Set 6 : GN fix to avoid is_android assert #

Patch Set 7 : gyp works if I'm really lucky #

Patch Set 8 : win build, component build, test isolation fixes #

Patch Set 9 : android build fix #

Patch Set 10 : remove usb midi code from non-android productions #

Patch Set 11 : finished? #

Patch Set 12 : revert PS11, use variables for the usb source list, and make midi static library #

Patch Set 13 : rebase #

Patch Set 14 : gyp bug fix #

Patch Set 15 : static_library=>component #

Patch Set 16 : Android fix to build Java sources #

Patch Set 17 : gyp fix #

Total comments: 10

Patch Set 18 : remove MIDI_IMPLEMENTATION TODOs #

Total comments: 2

Patch Set 19 : use visibility #

Patch Set 20 : (rebased original CL to make the second review easy) #

Patch Set 21 : fixed patch set #

Unified diffs Side-by-side diffs Delta from patch set Stats (+731 lines, -785 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +3 lines, -1 line 0 comments Download
M android_webview/android_webview.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
M build/all.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 14 chunks +15 lines, -0 lines 0 comments Download
M build/android/pylib/gtest/gtest_config.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
M build/android/pylib/gtest/setup.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
M build/gn_migration.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +2 lines, -0 lines 0 comments Download
M chromecast/chromecast_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +2 lines, -0 lines 0 comments Download
M content/app/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/app/android/library_loader_hooks.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M content/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -0 lines 0 comments Download
M media/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 8 chunks +2 lines, -63 lines 0 comments Download
M media/OWNERS View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -5 lines 0 comments Download
M media/base/android/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +0 lines, -2 lines 0 comments Download
D media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +0 lines, -327 lines 0 comments Download
D media/base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroid.java View 1 2 1 chunk +0 lines, -264 lines 0 comments Download
M media/base/android/media_jni_registrar.cc View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 7 chunks +0 lines, -60 lines 0 comments Download
A media/midi/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +172 lines, -0 lines 0 comments Download
A + media/midi/java/src/org/chromium/media/midi/UsbMidiDeviceAndroid.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +11 lines, -12 lines 0 comments Download
A + media/midi/java/src/org/chromium/media/midi/UsbMidiDeviceFactoryAndroid.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 8 chunks +10 lines, -10 lines 0 comments Download
A media/midi/midi.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +235 lines, -0 lines 0 comments Download
A media/midi/midi_jni_registrar.h View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
A media/midi/midi_jni_registrar.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +29 lines, -0 lines 0 comments Download
M media/midi/midi_manager_usb.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +5 lines, -5 lines 0 comments Download
M media/midi/midi_manager_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +3 lines, -3 lines 0 comments Download
M media/midi/midi_scheduler.h View 1 2 3 4 5 6 9 2 chunks +2 lines, -1 line 0 comments Download
A + media/midi/midi_unittests.isolate View 1 2 3 4 5 6 7 4 chunks +12 lines, -12 lines 0 comments Download
M media/midi/usb_midi_device_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 5 chunks +9 lines, -9 lines 0 comments Download
M media/midi/usb_midi_device_factory_android.cc View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M media/midi/usb_midi_output_stream.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M testing/buildbot/chromium.chromiumos.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +9 lines, -0 lines 0 comments Download
M testing/buildbot/chromium.fyi.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 19 chunks +57 lines, -0 lines 0 comments Download
M testing/buildbot/chromium.linux.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +18 lines, -0 lines 0 comments Download
M testing/buildbot/chromium.mac.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +24 lines, -0 lines 0 comments Download
M testing/buildbot/chromium.memory.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +12 lines, -0 lines 0 comments Download
M testing/buildbot/chromium.memory.fyi.json View 1 2 3 4 5 6 3 chunks +9 lines, -0 lines 0 comments Download
M testing/buildbot/chromium.webkit.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +6 lines, -0 lines 0 comments Download
M testing/buildbot/chromium.win.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 5 chunks +30 lines, -0 lines 0 comments Download
M testing/buildbot/chromium_memory_trybot.json View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M testing/buildbot/chromium_trybot.json View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M tools/valgrind/chrome_tests.py View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (15 generated)
Takashi Toyoshima
Dale, can you start reviewing this? This will need other owners' reviews, but I'd start ...
5 years, 8 months ago (2015-04-20 15:52:58 UTC) #2
DaleCurtis
Looks great, thanks for doing this! I wonder if we want a top level midi/ ...
5 years, 8 months ago (2015-04-20 16:23:37 UTC) #3
Takashi Toyoshima
I'd keep it inside media for now. https://codereview.chromium.org/1065743003/diff/300001/media/midi/BUILD.gn File media/midi/BUILD.gn (right): https://codereview.chromium.org/1065743003/diff/300001/media/midi/BUILD.gn#newcode41 media/midi/BUILD.gn:41: defines = ...
5 years, 8 months ago (2015-04-21 06:50:46 UTC) #4
Takashi Toyoshima
+phajdan.jr Since there are not major concerns in media/, can you start reviewing testing/buildbot/ that ...
5 years, 8 months ago (2015-04-21 06:59:09 UTC) #6
Takashi Toyoshima
Dale: FYI, the next CL to change the namespace is https://codereview.chromium.org/1086073004/
5 years, 8 months ago (2015-04-21 08:46:04 UTC) #7
Paweł Hajdan Jr.
testing/buildbot LGTM
5 years, 8 months ago (2015-04-21 15:50:08 UTC) #8
DaleCurtis
Thanks for the details! lgtm
5 years, 8 months ago (2015-04-21 15:58:30 UTC) #9
Takashi Toyoshima
+dpranke for gn and gyp files. Can you take a look?
5 years, 8 months ago (2015-04-21 18:43:05 UTC) #12
Takashi Toyoshima
+boliu for android_webview
5 years, 8 months ago (2015-04-21 18:43:56 UTC) #14
Takashi Toyoshima
+damienv for chromecast/
5 years, 8 months ago (2015-04-21 18:44:49 UTC) #16
Takashi Toyoshima
+jam for content/
5 years, 8 months ago (2015-04-21 18:45:45 UTC) #18
Takashi Toyoshima
+thestig for tools/valgrind/
5 years, 8 months ago (2015-04-21 18:46:43 UTC) #20
jam
On 2015/04/21 18:45:45, Takashi Toyoshima (chromium) wrote: > +jam for content/ content lgtm
5 years, 8 months ago (2015-04-21 19:10:24 UTC) #21
boliu
android_webview rs lgtm
5 years, 8 months ago (2015-04-21 19:43:26 UTC) #22
Dirk Pranke
lgtm. https://codereview.chromium.org/1065743003/diff/320001/media/midi/BUILD.gn File media/midi/BUILD.gn (right): https://codereview.chromium.org/1065743003/diff/320001/media/midi/BUILD.gn#newcode16 media/midi/BUILD.gn:16: # NOT for exporting. You can use ' ...
5 years, 8 months ago (2015-04-21 20:31:27 UTC) #25
Lei Zhang
On 2015/04/21 18:46:43, Takashi Toyoshima (chromium) wrote: > +thestig for tools/valgrind/ lgtm You may want ...
5 years, 8 months ago (2015-04-21 21:10:18 UTC) #26
Takashi Toyoshima
Lei: Does master.chrome.memory.fyi exist in an internal repository? I could not find it both in ...
5 years, 8 months ago (2015-04-22 05:37:18 UTC) #27
Lei Zhang
On 2015/04/22 05:37:18, Takashi Toyoshima (chromium) wrote: > Lei: Does master.chrome.memory.fyi exist in an internal ...
5 years, 8 months ago (2015-04-22 05:40:47 UTC) #28
Takashi Toyoshima
Thanks. I find it, and will send out a CL separately.
5 years, 8 months ago (2015-04-22 06:56:30 UTC) #29
Takashi Toyoshima
CC: yhirano to avoid merge conflict that may be happening from java source files replacement.
5 years, 8 months ago (2015-04-22 08:13:02 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1065743003/340001
5 years, 8 months ago (2015-04-22 08:13:31 UTC) #33
commit-bot: I haz the power
Committed patchset #19 (id:340001)
5 years, 8 months ago (2015-04-22 08:50:30 UTC) #34
commit-bot: I haz the power
Patchset 19 (id:??) landed as https://crrev.com/31624cad1a3b5cf26950b864837ba44b3aa38331 Cr-Commit-Position: refs/heads/master@{#326247}
5 years, 8 months ago (2015-04-22 08:51:37 UTC) #35
aboxhall
A revert of this CL (patchset #19 id:340001) has been created in https://codereview.chromium.org/1085843003/ by aboxhall@chromium.org. ...
5 years, 8 months ago (2015-04-22 18:22:42 UTC) #36
Takashi Toyoshima
The problem was fixed (TEST=ninja midi_unittests_apk && ./build/android/test_runner.py gtest midi_unittests). Add yhirano@ for the second ...
5 years, 7 months ago (2015-04-30 11:37:42 UTC) #38
yhirano
lgtm
5 years, 7 months ago (2015-04-30 11:40:13 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1065743003/380001
5 years, 7 months ago (2015-04-30 14:46:06 UTC) #42
commit-bot: I haz the power
Committed patchset #21 (id:380001)
5 years, 7 months ago (2015-04-30 14:52:24 UTC) #43
commit-bot: I haz the power
5 years, 7 months ago (2015-04-30 14:53:06 UTC) #44
Message was sent while issue was closed.
Patchset 21 (id:??) landed as
https://crrev.com/c6475779990f6ffdfa33d42b0bd97818df5e8d3c
Cr-Commit-Position: refs/heads/master@{#327712}

Powered by Google App Engine
This is Rietveld 408576698