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

Issue 1917023003: ScreenCapture for Android phase1, part I (Closed)

Created:
4 years, 7 months ago by braveyao
Modified:
4 years, 5 months ago
CC:
avayvod+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch+vc_chromium.org, mlamouri+watch-media_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ScreenCapture for Android phase1, part I The document about ScreenCapture for Android is here, https://goo.gl/QNH29g. This cl is mainly based on the https://codereview.chromium.org/1140113002/. Only the codes under media/ are included here, which implements the JAVA capture with Android MediaProjection API and JNI connectors, with some issues fixed so it can always work. The control part in content/ and chrome/ will be in the next cl, as part II. BUG=487935 Committed: https://crrev.com/2f731e17983201082d9fc725cf7717868fc1e75d Cr-Commit-Position: refs/heads/master@{#403555}

Patch Set 1 #

Total comments: 64

Patch Set 2 : address review comments #

Total comments: 7

Patch Set 3 : relocate java files, support YUV format and improve JNI operation #

Total comments: 78

Patch Set 4 : address review comments #

Total comments: 13

Patch Set 5 : address review comments #

Total comments: 4

Patch Set 6 : rebase to use the new CreatePowerSaveBlocker() and pass pixelStride to native #

Total comments: 18

Patch Set 7 : correct YUV420 unpacking, add cropping support #

Total comments: 12

Patch Set 8 : address review comments #

Total comments: 23

Patch Set 9 : address comments #

Total comments: 11

Patch Set 10 : correct RGBA frame convert-scale error and rebase #

Total comments: 8

Patch Set 11 : call ObserveEventAndDecideCapture() as early as possible and rebase #

Patch Set 12 : add dependency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+876 lines, -1 line) Patch
M chrome/android/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M content/app/android/library_loader_hooks.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
A content/browser/media/capture/screen_capture_device_android.h View 1 2 3 4 5 6 7 8 9 1 chunk +37 lines, -0 lines 0 comments Download
A content/browser/media/capture/screen_capture_device_android.cc View 1 2 3 4 5 6 7 1 chunk +34 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/android/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -0 lines 0 comments Download
M media/capture/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -1 line 0 comments Download
A media/capture/content/android/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +42 lines, -0 lines 0 comments Download
A media/capture/content/android/java/src/org/chromium/media/ScreenCapture.java View 1 2 3 4 5 6 7 8 9 10 1 chunk +350 lines, -0 lines 0 comments Download
A media/capture/content/android/screen_capture_jni_registrar.h View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A media/capture/content/android/screen_capture_jni_registrar.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +24 lines, -0 lines 0 comments Download
A media/capture/content/android/screen_capture_machine_android.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +77 lines, -0 lines 0 comments Download
A media/capture/content/android/screen_capture_machine_android.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +278 lines, -0 lines 0 comments Download

Messages

Total messages: 83 (21 generated)
braveyao
Hi All, Here is capture part of screen capture for android. Please help to take ...
4 years, 7 months ago (2016-04-27 00:29:30 UTC) #2
mcasas
https://codereview.chromium.org/1917023003/diff/1/media/base/android/java/src/org/chromium/media/ScreenCapture.java File media/base/android/java/src/org/chromium/media/ScreenCapture.java (right): https://codereview.chromium.org/1917023003/diff/1/media/base/android/java/src/org/chromium/media/ScreenCapture.java#newcode1 media/base/android/java/src/org/chromium/media/ScreenCapture.java:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
4 years, 7 months ago (2016-04-27 01:19:27 UTC) #3
miu
Some initial high-level comments: https://codereview.chromium.org/1917023003/diff/1/media/base/android/java/src/org/chromium/media/ScreenCapture.java File media/base/android/java/src/org/chromium/media/ScreenCapture.java (right): https://codereview.chromium.org/1917023003/diff/1/media/base/android/java/src/org/chromium/media/ScreenCapture.java#newcode1 media/base/android/java/src/org/chromium/media/ScreenCapture.java:1: // Copyright 2015 The Chromium ...
4 years, 7 months ago (2016-04-27 05:24:54 UTC) #4
braveyao
Thanks for the review! All comments are addressed or answered(due to some work left for ...
4 years, 7 months ago (2016-05-04 18:49:41 UTC) #5
mcasas
A few more comments, quick reply since you will likely need to shovel files around. ...
4 years, 7 months ago (2016-05-04 19:56:48 UTC) #6
whywhat
Re: the placement of the Java files. CC: Min who might have a better insight ...
4 years, 7 months ago (2016-05-04 20:22:39 UTC) #8
qinmin
On 2016/05/04 20:22:39, whywhat_OOO_April_28_May_2 wrote: > Re: the placement of the Java files. > > ...
4 years, 7 months ago (2016-05-04 21:39:13 UTC) #9
braveyao
On 2016/05/04 21:39:13, qinmin wrote: > On 2016/05/04 20:22:39, whywhat_OOO_April_28_May_2 wrote: > > Re: the ...
4 years, 7 months ago (2016-05-04 21:47:22 UTC) #10
miu
Comments on Patch Set 2: https://codereview.chromium.org/1917023003/diff/1/media/capture/content/android/screen_capture_machine_android.cc File media/capture/content/android/screen_capture_machine_android.cc (right): https://codereview.chromium.org/1917023003/diff/1/media/capture/content/android/screen_capture_machine_android.cc#newcode44 media/capture/content/android/screen_capture_machine_android.cc:44: bool oracle_decision = oracle_proxy_->ObserveEventAndDecideCapture( ...
4 years, 7 months ago (2016-05-10 00:29:00 UTC) #13
braveyao
Thanks a lot for all the comments. Did some major refactoring and got great performance ...
4 years, 7 months ago (2016-05-18 00:41:47 UTC) #14
miu
FYI--Will get to this first thing Thursday (demo'ing at IO today).
4 years, 7 months ago (2016-05-18 22:37:10 UTC) #15
mcasas
https://codereview.chromium.org/1917023003/diff/80001/content/browser/media/capture/screen_capture_device_android.cc File content/browser/media/capture/screen_capture_device_android.cc (right): https://codereview.chromium.org/1917023003/diff/80001/content/browser/media/capture/screen_capture_device_android.cc#newcode24 content/browser/media/capture/screen_capture_device_android.cc:24: return std::unique_ptr<media::VideoCaptureDevice>( Consider base::WrapUnique(), however see my next comment. ...
4 years, 7 months ago (2016-05-19 19:11:42 UTC) #16
braveyao
Thanks so much! All comments are addressed and refactored the screen_capture_machine_android.cc a bit for the ...
4 years, 7 months ago (2016-05-20 22:27:26 UTC) #18
mcasas
https://codereview.chromium.org/1917023003/diff/80001/content/browser/media/capture/screen_capture_device_android.cc File content/browser/media/capture/screen_capture_device_android.cc (right): https://codereview.chromium.org/1917023003/diff/80001/content/browser/media/capture/screen_capture_device_android.cc#newcode39 content/browser/media/capture/screen_capture_device_android.cc:39: .release()); On 2016/05/20 22:27:24, braveyao wrote: > On 2016/05/19 ...
4 years, 7 months ago (2016-05-23 18:19:55 UTC) #19
braveyao
Done. PTAL. https://codereview.chromium.org/1917023003/diff/80001/content/browser/media/capture/screen_capture_device_android.cc File content/browser/media/capture/screen_capture_device_android.cc (right): https://codereview.chromium.org/1917023003/diff/80001/content/browser/media/capture/screen_capture_device_android.cc#newcode39 content/browser/media/capture/screen_capture_device_android.cc:39: .release()); On 2016/05/23 18:19:55, mcasas wrote: > ...
4 years, 7 months ago (2016-05-24 00:03:26 UTC) #20
miu
Apologies in the delays from my end. I have been fighting fires. I will take ...
4 years, 7 months ago (2016-05-25 01:52:50 UTC) #21
mcasas
https://codereview.chromium.org/1917023003/diff/120001/media/capture/content/android/screen_capture_machine_android.cc File media/capture/content/android/screen_capture_machine_android.cc (right): https://codereview.chromium.org/1917023003/diff/120001/media/capture/content/android/screen_capture_machine_android.cc#newcode91 media/capture/content/android/screen_capture_machine_android.cc:91: int uv_plane_len = (int)env->GetDirectBufferCapacity(u_buffer); On 2016/05/24 00:03:26, braveyao wrote: ...
4 years, 7 months ago (2016-05-25 17:42:59 UTC) #22
braveyao
Hi Miguel, Could you please help to clarify the question in the reply a bit ...
4 years, 7 months ago (2016-05-25 19:00:15 UTC) #23
braveyao
Rebase to use the new CreatePowerSaveBlocker() method. And pass the pixelStride of UV plane to ...
4 years, 6 months ago (2016-05-26 23:37:29 UTC) #24
miu
https://codereview.chromium.org/1917023003/diff/160001/content/browser/media/capture/screen_capture_device_android.h File content/browser/media/capture/screen_capture_device_android.h (right): https://codereview.chromium.org/1917023003/diff/160001/content/browser/media/capture/screen_capture_device_android.h#newcode24 content/browser/media/capture/screen_capture_device_android.h:24: static std::unique_ptr<media::VideoCaptureDevice> Create(); This Create() function is superfluous. Please ...
4 years, 6 months ago (2016-06-02 22:33:51 UTC) #25
mcasas
https://codereview.chromium.org/1917023003/diff/120001/media/capture/content/android/screen_capture_machine_android.cc File media/capture/content/android/screen_capture_machine_android.cc (right): https://codereview.chromium.org/1917023003/diff/120001/media/capture/content/android/screen_capture_machine_android.cc#newcode91 media/capture/content/android/screen_capture_machine_android.cc:91: int uv_plane_len = (int)env->GetDirectBufferCapacity(u_buffer); On 2016/05/25 19:00:15, braveyao wrote: ...
4 years, 6 months ago (2016-06-07 22:23:19 UTC) #26
braveyao
On 2016/06/07 22:23:19, mcasas wrote: > https://codereview.chromium.org/1917023003/diff/120001/media/capture/content/android/screen_capture_machine_android.cc > File media/capture/content/android/screen_capture_machine_android.cc (right): > > https://codereview.chromium.org/1917023003/diff/120001/media/capture/content/android/screen_capture_machine_android.cc#newcode91 > ...
4 years, 6 months ago (2016-06-08 00:33:55 UTC) #27
braveyao
Corrected YUV420 unpacking issue and added cropping support. PTAL! https://codereview.chromium.org/1917023003/diff/160001/content/browser/media/capture/screen_capture_device_android.h File content/browser/media/capture/screen_capture_device_android.h (right): https://codereview.chromium.org/1917023003/diff/160001/content/browser/media/capture/screen_capture_device_android.h#newcode24 content/browser/media/capture/screen_capture_device_android.h:24: ...
4 years, 6 months ago (2016-06-08 20:39:33 UTC) #28
miu
https://codereview.chromium.org/1917023003/diff/160001/content/browser/media/capture/screen_capture_device_android.h File content/browser/media/capture/screen_capture_device_android.h (right): https://codereview.chromium.org/1917023003/diff/160001/content/browser/media/capture/screen_capture_device_android.h#newcode35 content/browser/media/capture/screen_capture_device_android.h:35: std::unique_ptr<PowerSaveBlocker> power_save_blocker_; On 2016/06/08 20:39:33, braveyao wrote: > On ...
4 years, 6 months ago (2016-06-08 21:06:50 UTC) #29
miu
On 2016/06/07 22:23:19, mcasas wrote: > Also I commented elsewhere that doing the > deinterlacing ...
4 years, 6 months ago (2016-06-08 21:10:52 UTC) #30
braveyao
Thanks for the quick review. All comments are addressed. PTAL. https://codereview.chromium.org/1917023003/diff/160001/content/browser/media/capture/screen_capture_device_android.h File content/browser/media/capture/screen_capture_device_android.h (right): https://codereview.chromium.org/1917023003/diff/160001/content/browser/media/capture/screen_capture_device_android.h#newcode35 ...
4 years, 6 months ago (2016-06-08 22:49:50 UTC) #31
miu
lgtm. re testing: I see that you're landing this in multiple phases, and perhaps you ...
4 years, 6 months ago (2016-06-08 23:19:59 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1917023003/200001
4 years, 6 months ago (2016-06-09 20:32:24 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/198314)
4 years, 6 months ago (2016-06-09 20:40:36 UTC) #36
braveyao
Need reviews from owners of below files: tedchoc@ chrome/android/BUILD.gn michaelbai@ content/app/android/library_loader_hooks.cc dalecurtis@ media/BUILD.gn & media/media.gyp ...
4 years, 6 months ago (2016-06-09 20:59:11 UTC) #38
Ted C
On 2016/06/09 20:59:11, braveyao wrote: > Need reviews from owners of below files: > > ...
4 years, 6 months ago (2016-06-09 23:16:50 UTC) #39
michaelbai
lgtm content/app/android/library_loader_hooks.cc
4 years, 6 months ago (2016-06-10 17:32:06 UTC) #40
mcasas
braveyao@: please wait for all reviewers to provide and finish their reviews. Also I'd like ...
4 years, 6 months ago (2016-06-12 10:11:51 UTC) #42
DaleCurtis
media/ lgtm
4 years, 6 months ago (2016-06-13 20:40:30 UTC) #43
braveyao
Hi Miguel, Done those trivial comments. As to the convert-and-scale comments, please check my response ...
4 years, 6 months ago (2016-06-13 22:30:32 UTC) #44
mcasas
https://codereview.chromium.org/1917023003/diff/200001/media/capture/content/android/screen_capture_machine_android.cc File media/capture/content/android/screen_capture_machine_android.cc (right): https://codereview.chromium.org/1917023003/diff/200001/media/capture/content/android/screen_capture_machine_android.cc#newcode87 media/capture/content/android/screen_capture_machine_android.cc:87: uint8_t* y_src = On 2016/06/13 22:30:32, braveyao wrote: > ...
4 years, 6 months ago (2016-06-15 15:19:13 UTC) #45
braveyao
Done. PTAL. https://codereview.chromium.org/1917023003/diff/200001/media/capture/content/android/screen_capture_machine_android.cc File media/capture/content/android/screen_capture_machine_android.cc (right): https://codereview.chromium.org/1917023003/diff/200001/media/capture/content/android/screen_capture_machine_android.cc#newcode115 media/capture/content/android/screen_capture_machine_android.cc:115: int uv_offset = (top / 2) * ...
4 years, 6 months ago (2016-06-15 21:56:37 UTC) #46
braveyao
On 2016/06/15 21:56:37, braveyao wrote: > Done. PTAL. > > https://codereview.chromium.org/1917023003/diff/200001/media/capture/content/android/screen_capture_machine_android.cc > File media/capture/content/android/screen_capture_machine_android.cc (right): ...
4 years, 6 months ago (2016-06-20 16:58:11 UTC) #47
mcasas
LGTM % you getting qinmin@ to review the Java code. (Btw for some reason my ...
4 years, 6 months ago (2016-06-20 17:23:14 UTC) #48
braveyao
Hi qinmin, any more comments on the Java code?
4 years, 6 months ago (2016-06-20 18:27:45 UTC) #49
miu
not lgtm...Some things were broken and need to be revisited since my last lgtm: https://codereview.chromium.org/1917023003/diff/220001/media/capture/content/android/screen_capture_machine_android.cc ...
4 years, 6 months ago (2016-06-21 03:34:07 UTC) #50
braveyao
Hi Miu, thanks so much for spotting this out. Correct it with the suggestion and ...
4 years, 6 months ago (2016-06-21 22:10:26 UTC) #53
mcasas
https://codereview.chromium.org/1917023003/diff/220001/media/capture/content/android/screen_capture_machine_android.cc File media/capture/content/android/screen_capture_machine_android.cc (right): https://codereview.chromium.org/1917023003/diff/220001/media/capture/content/android/screen_capture_machine_android.cc#newcode69 media/capture/content/android/screen_capture_machine_android.cc:69: libyuv::ABGRToI420( On 2016/06/21 22:10:25, braveyao wrote: > On 2016/06/21 ...
4 years, 6 months ago (2016-06-21 22:49:04 UTC) #54
braveyao
On 2016/06/21 22:49:04, mcasas wrote: > https://codereview.chromium.org/1917023003/diff/220001/media/capture/content/android/screen_capture_machine_android.cc > File media/capture/content/android/screen_capture_machine_android.cc (right): > > https://codereview.chromium.org/1917023003/diff/220001/media/capture/content/android/screen_capture_machine_android.cc#newcode69 > ...
4 years, 6 months ago (2016-06-21 23:21:53 UTC) #55
mcasas
https://codereview.chromium.org/1917023003/diff/280001/media/capture/content/android/screen_capture_machine_android.cc File media/capture/content/android/screen_capture_machine_android.cc (right): https://codereview.chromium.org/1917023003/diff/280001/media/capture/content/android/screen_capture_machine_android.cc#newcode76 media/capture/content/android/screen_capture_machine_android.cc:76: // ABGR little endian (rgba in memory) to I420. ...
4 years, 6 months ago (2016-06-22 22:23:45 UTC) #56
braveyao
Hi Migual, Miu and Qinmin, any other comments? https://codereview.chromium.org/1917023003/diff/280001/media/capture/content/android/screen_capture_machine_android.cc File media/capture/content/android/screen_capture_machine_android.cc (right): https://codereview.chromium.org/1917023003/diff/280001/media/capture/content/android/screen_capture_machine_android.cc#newcode76 media/capture/content/android/screen_capture_machine_android.cc:76: // ...
4 years, 6 months ago (2016-06-22 23:56:14 UTC) #57
qinmin
lgtm % nots https://codereview.chromium.org/1917023003/diff/280001/media/capture/content/android/java/src/org/chromium/media/ScreenCapture.java File media/capture/content/android/java/src/org/chromium/media/ScreenCapture.java (right): https://codereview.chromium.org/1917023003/diff/280001/media/capture/content/android/java/src/org/chromium/media/ScreenCapture.java#newcode133 media/capture/content/android/java/src/org/chromium/media/ScreenCapture.java:133: private MediaProjection mMediaProjection; move these to ...
4 years, 6 months ago (2016-06-23 19:58:23 UTC) #58
qinmin
On 2016/06/23 19:58:23, qinmin wrote: > lgtm % nots s/nots/nits/ > > https://codereview.chromium.org/1917023003/diff/280001/media/capture/content/android/java/src/org/chromium/media/ScreenCapture.java > File ...
4 years, 6 months ago (2016-06-23 19:59:20 UTC) #59
miu
https://codereview.chromium.org/1917023003/diff/220001/media/capture/content/android/screen_capture_machine_android.cc File media/capture/content/android/screen_capture_machine_android.cc (right): https://codereview.chromium.org/1917023003/diff/220001/media/capture/content/android/screen_capture_machine_android.cc#newcode208 media/capture/content/android/screen_capture_machine_android.cc:208: const VideoCaptureOracle::Event event = VideoCaptureOracle::kCompositorUpdate; This is the wrong ...
4 years, 6 months ago (2016-06-23 23:09:13 UTC) #60
braveyao
Hi Miu, all done. PTAL! https://codereview.chromium.org/1917023003/diff/220001/media/capture/content/android/screen_capture_machine_android.cc File media/capture/content/android/screen_capture_machine_android.cc (right): https://codereview.chromium.org/1917023003/diff/220001/media/capture/content/android/screen_capture_machine_android.cc#newcode208 media/capture/content/android/screen_capture_machine_android.cc:208: const VideoCaptureOracle::Event event = ...
4 years, 6 months ago (2016-06-24 22:46:12 UTC) #62
miu
lgtm. Sorry for the delay...this got lost in my e-mail inbox.
4 years, 5 months ago (2016-06-29 20:32:45 UTC) #63
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/1917023003/320001
4 years, 5 months ago (2016-06-29 21:27:31 UTC) #65
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/96224)
4 years, 5 months ago (2016-06-29 22:50:52 UTC) #67
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/1917023003/320001
4 years, 5 months ago (2016-06-30 00:41:17 UTC) #70
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/96368)
4 years, 5 months ago (2016-06-30 01:17:43 UTC) #72
braveyao
Hi Ted, Could you please help to take another look to content/public/android/BUILD.gn, which is added ...
4 years, 5 months ago (2016-06-30 22:06:38 UTC) #73
Ted C
On 2016/06/30 22:06:38, braveyao wrote: > Hi Ted, > Could you please help to take ...
4 years, 5 months ago (2016-07-01 17:46:02 UTC) #74
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/1917023003/340001
4 years, 5 months ago (2016-07-01 22:00:09 UTC) #77
commit-bot: I haz the power
Committed patchset #12 (id:340001)
4 years, 5 months ago (2016-07-01 22:36:24 UTC) #78
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-01 22:36:36 UTC) #79
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/2f731e17983201082d9fc725cf7717868fc1e75d Cr-Commit-Position: refs/heads/master@{#403555}
4 years, 5 months ago (2016-07-01 22:38:36 UTC) #81
kelvinp
4 years, 5 months ago (2016-07-01 22:58:10 UTC) #82
Message was sent while issue was closed.
A revert of this CL (patchset #12 id:340001) has been created in
https://codereview.chromium.org/2116883002/ by kelvinp@chromium.org.

The reason for reverting is: Break compile step on Android

Builder logs:
https://build.chromium.org/p/chromium/builders/Android/builds/58512/steps/com...


Failure:
FAILED: obj/media/capture/content/android/android/screen_capture_jni_registrar.o

/b/build/slave/cache/cipd/goma/gomacc
../../third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++
-MMD -MF
obj/media/capture/content/android/android/screen_capture_jni_registrar.o.d
-DV8_DEPRECATION_WARNINGS -DENABLE_NOTIFICATIONS -DENABLE_BROWSER_CDMS
-DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_SPELLCHECK=1
-DUSE_BROWSER_SPELLCHECKER=1 -DUSE_OPENSSL_CERTS=1 -DNO_TCMALLOC
-DUSE_EXTERNAL_POPUP_MENU=1 -DENABLE_WEBRTC=1 -DDISABLE_NACL
-DENABLE_SUPERVISED_USERS=1 -DVIDEO_HOLE=1 -DSAFE_BROWSING_DB_REMOTE
-DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -DENABLE_WEBVR
-DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -DANDROID -DHAVE_SYS_UIO_H
-DANDROID_NDK_VERSION=r10e -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D_FORTIFY_SOURCE=2 -D__GNU_SOURCE=1 -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -DUSE_NEON -DMEDIA_IMPLEMENTATION -I../.. -Igen
-Igen/media/capture/content/android/screen_capture_jni_headers
-Igen/media/capture/content/android/screen_capture_jni_headers/media
-I../../third_party/libyuv -I../../third_party/libyuv/include
-fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables
-fPIC -pipe -ffunction-sections -fno-short-enums -finline-limit=64
-march=armv7-a -mfloat-abi=softfp -mthumb -mthumb-interwork
-mtune=generic-armv7-a -fno-tree-sra -fno-caller-saves -mfpu=neon -Wall -Werror
-Wno-psabi -Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-missing-field-initializers -Wno-unused-parameter -Os -fomit-frame-pointer
-fno-ident -fdata-sections -ffunction-sections -g1
--sysroot=../../third_party/android_tools/ndk/platforms/android-16/arch-arm
-fvisibility=hidden -fno-threadsafe-statics -fvisibility-inlines-hidden
-std=gnu++11 -Wno-narrowing -fno-rtti
-isystem../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++/libcxx/include
-isystem../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/include
-isystem../../third_party/android_tools/ndk/sources/android/support/include
-fno-exceptions -c
../../media/capture/content/android/screen_capture_jni_registrar.cc -o
obj/media/capture/content/android/android/screen_capture_jni_registrar.o
In file included from
../../media/capture/content/thread_safe_capture_oracle.h:15:0,
                 from
../../media/capture/content/screen_capture_device_core.h:15,
                 from
../../media/capture/content/android/screen_capture_machine_android.h:12,
                 from
../../media/capture/content/android/screen_capture_jni_registrar.cc:10:
../../media/capture/video/video_capture_device.h:33:55: fatal error:
media/mojo/interfaces/image_capture.mojom.h: No such file or directory
 #include "media/mojo/interfaces/image_capture.mojom.h"
.

Powered by Google App Engine
This is Rietveld 408576698