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

Issue 191583002: Media Galleries API Metadata: Image metadata (Closed)

Created:
6 years, 9 months ago by tommycli
Modified:
6 years, 8 months ago
CC:
chromium-reviews, vandebo (ex-Chrome)
Visibility:
Public.

Description

Media Galleries API Metadata: Image metadata Enables libexif and uses it to parse some image tags into the GetMetadata call. BUG=318450 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260917

Patch Set 1 #

Patch Set 2 : Add extractor and end to end test #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : This patch uses system libexif on linux. #

Total comments: 4

Patch Set 7 : #

Total comments: 2

Patch Set 8 : #

Patch Set 9 : add libexif to list of files included in packaging manifests #

Patch Set 10 : hnng... finally compiles on windows #

Patch Set 11 : builds for mac now too, yay! #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : unit_tests runs on mac now #

Patch Set 15 : merge origin/master #

Patch Set 16 : merge origin/master #

Patch Set 17 : fix android and win64 compilation issues #

Patch Set 18 : #

Patch Set 19 : fix android build #

Patch Set 20 : add installer files for linux. make one installer change for win #

Patch Set 21 : rebase on top of the separate sysroot patch #

Patch Set 22 : tweak mac dylib install configuration #

Patch Set 23 : update isolate file for interactive ui tests on windows #

Patch Set 24 : do mac postbuild step #

Patch Set 25 : add versions gypi include #

Patch Set 26 : change loader path again #

Total comments: 4

Patch Set 27 : #

Patch Set 28 : provide mac dylib search paths to non-component builds #

Patch Set 29 : use groby's framework explanation to 'do it right' #

Patch Set 30 : #

Patch Set 31 : #

Patch Set 32 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+601 lines, -19 lines) Patch
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/chrome.isolate View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_dll_bundle.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/media_galleries.idl View 1 1 chunk +14 lines, -1 line 0 comments Download
M chrome/installer/linux/debian/expected_deps 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 chrome/installer/linux/rpm/expected_deps_i386 View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -0 lines 0 comments Download
M chrome/installer/linux/rpm/expected_deps_x86_64 View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -0 lines 0 comments Download
M chrome/installer/linux/sysroot_scripts/packagelist.debian.wheezy.amd64 View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/installer/mini_installer/chrome.release View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +1 line, -0 lines 0 comments Download
M chrome/interactive_ui_tests.isolate View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +1 line, -0 lines 0 comments Download
M chrome/sync_integration_tests.isolate View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/media_galleries/media_metadata/test.js View 1 2 chunks +23 lines, -1 line 0 comments Download
M chrome/test/functional/stress.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/tools/build/chromeos/FILES.cfg View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/tools/build/mac/TESTS View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/tools/build/mac/dump_product_syms View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/tools/build/win/FILES.cfg View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/unit_tests.isolate View 1 2 3 4 5 6 7 8 9 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +1 line, -0 lines 0 comments Download
A chrome/utility/media_galleries/image_metadata_extractor.h View 1 1 chunk +84 lines, -0 lines 0 comments Download
A chrome/utility/media_galleries/image_metadata_extractor.cc View 1 2 3 4 1 chunk +279 lines, -0 lines 0 comments Download
A chrome/utility/media_galleries/image_metadata_extractor_unittest.cc View 1 2 3 1 chunk +66 lines, -0 lines 0 comments Download
M chrome/utility/media_galleries/media_metadata_parser.cc View 1 5 chunks +57 lines, -0 lines 0 comments Download
M third_party/libexif/libexif.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 3 chunks +28 lines, -15 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
tommycli
6 years, 9 months ago (2014-03-11 22:41:09 UTC) #1
tommycli
+vandebo cc if he's curious
6 years, 9 months ago (2014-03-11 22:41:30 UTC) #2
Lei Zhang
https://codereview.chromium.org/191583002/diff/40001/chrome/chrome.gyp File chrome/chrome.gyp (right): https://codereview.chromium.org/191583002/diff/40001/chrome/chrome.gyp#newcode301 chrome/chrome.gyp:301: 'utility/media_galleries/image_metadata_extractor.cc', nit: alphabetical order https://codereview.chromium.org/191583002/diff/40001/chrome/utility/media_galleries/image_metadata_extractor.cc File chrome/utility/media_galleries/image_metadata_extractor.cc (right): https://codereview.chromium.org/191583002/diff/40001/chrome/utility/media_galleries/image_metadata_extractor.cc#newcode30 ...
6 years, 9 months ago (2014-03-11 23:38:42 UTC) #3
tommycli
https://codereview.chromium.org/191583002/diff/40001/chrome/chrome.gyp File chrome/chrome.gyp (right): https://codereview.chromium.org/191583002/diff/40001/chrome/chrome.gyp#newcode301 chrome/chrome.gyp:301: 'utility/media_galleries/image_metadata_extractor.cc', On 2014/03/11 23:38:43, Lei Zhang wrote: > nit: ...
6 years, 9 months ago (2014-03-12 00:09:04 UTC) #4
Lei Zhang
My other concern is - should we bundle our own libexif on Linux, or require ...
6 years, 9 months ago (2014-03-12 01:55:29 UTC) #5
tommycli
thestig: Hi, I added a tentative patchset 6 to use the system libexif. Let me ...
6 years, 9 months ago (2014-03-12 16:27:48 UTC) #6
Lei Zhang
https://codereview.chromium.org/191583002/diff/90001/chrome/chrome.gyp File chrome/chrome.gyp (right): https://codereview.chromium.org/191583002/diff/90001/chrome/chrome.gyp#newcode359 chrome/chrome.gyp:359: '../third_party/libexif/libexif.gyp:libexif', Do we try to build utility/media_galleries/* on Android? ...
6 years, 9 months ago (2014-03-12 22:49:45 UTC) #7
tommycli
https://codereview.chromium.org/191583002/diff/90001/chrome/chrome.gyp File chrome/chrome.gyp (right): https://codereview.chromium.org/191583002/diff/90001/chrome/chrome.gyp#newcode359 chrome/chrome.gyp:359: '../third_party/libexif/libexif.gyp:libexif', On 2014/03/12 22:49:46, Lei Zhang wrote: > Do ...
6 years, 9 months ago (2014-03-12 23:27:20 UTC) #8
tommycli
On 2014/03/12 23:27:20, tommycli wrote: > https://codereview.chromium.org/191583002/diff/90001/chrome/chrome.gyp > File chrome/chrome.gyp (right): > > https://codereview.chromium.org/191583002/diff/90001/chrome/chrome.gyp#newcode359 > ...
6 years, 9 months ago (2014-03-13 21:44:43 UTC) #9
tommycli
thestig: PTAL. After much gnashing of teeth it looks like this patch is on the ...
6 years, 9 months ago (2014-03-24 18:14:17 UTC) #10
Lei Zhang
You are missing changes to chrome/installer/linux for sure. I'm not 100% certain on the Win/Mac ...
6 years, 9 months ago (2014-03-24 19:29:06 UTC) #11
tommycli
I added the installer/linux changes.
6 years, 9 months ago (2014-03-24 21:46:43 UTC) #12
Lei Zhang
On 2014/03/24 21:46:43, tommycli wrote: > I added the installer/linux changes. Thanks, but you probably ...
6 years, 9 months ago (2014-03-24 21:52:48 UTC) #13
Lei Zhang
lgtm
6 years, 9 months ago (2014-03-26 17:32:28 UTC) #14
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 9 months ago (2014-03-26 17:36:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/191583002/360001
6 years, 9 months ago (2014-03-26 17:37:10 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 19:06:24 UTC) #17
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=288474
6 years, 9 months ago (2014-03-26 19:06:25 UTC) #18
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 9 months ago (2014-03-26 21:05:51 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/191583002/360001
6 years, 9 months ago (2014-03-26 21:07:11 UTC) #20
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 9 months ago (2014-03-26 23:19:25 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/191583002/400001
6 years, 9 months ago (2014-03-26 23:20:06 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-27 05:16:48 UTC) #23
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 9 months ago (2014-03-27 05:16:49 UTC) #24
tommycli
Hi groby, I'm hitting a wall getting this libexif working on Mac. Been trying for ...
6 years, 9 months ago (2014-03-27 23:26:10 UTC) #25
tommycli
Also the tests that are failing work locally, so it's possibly an issue with my ...
6 years, 9 months ago (2014-03-27 23:28:58 UTC) #26
groby-ooo-7-16
I'm not exactly at home with this, but here's what I do know * You ...
6 years, 9 months ago (2014-03-28 00:09:45 UTC) #27
tommycli
groby: Following your advice on the Framework/dylib issues, I think I finally have it working ...
6 years, 8 months ago (2014-03-29 17:54:28 UTC) #28
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 8 months ago (2014-04-01 00:14:28 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/191583002/540001
6 years, 8 months ago (2014-04-01 00:15:22 UTC) #30
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-01 00:15:44 UTC) #31
commit-bot: I haz the power
Failed to apply patch for chrome/chrome.isolate: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 8 months ago (2014-04-01 00:15:45 UTC) #32
groby-ooo-7-16
With the limited gypi/isolate knowledge I have, this seems to be OK now. I guess ...
6 years, 8 months ago (2014-04-01 00:53:12 UTC) #33
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 8 months ago (2014-04-01 16:18:24 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/191583002/570001
6 years, 8 months ago (2014-04-01 16:18:28 UTC) #35
commit-bot: I haz the power
Change committed as 260917
6 years, 8 months ago (2014-04-01 19:13:44 UTC) #36
boliu
I believe after this change, gyp on linux requires libexif-dev package on ubuntu 12.04. Should ...
6 years, 8 months ago (2014-04-02 01:15:53 UTC) #37
Lei Zhang
6 years, 8 months ago (2014-04-02 07:07:21 UTC) #38
Message was sent while issue was closed.
On 2014/04/02 01:15:53, boliu wrote:
> I believe after this change, gyp on linux requires libexif-dev package on
ubuntu
> 12.04. Should add it to build/install-build-deps.sh and worth a notice to
> chromium-dev?
> 
> I got an error like this without the package:
> 
> Updating projects from gyp files...
> Package libexif was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libexif.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libexif' found
> gyp: Call to 'pkg-config --cflags libexif' returned exit status 1.

It's in install-build-deps.sh but we forgot to send an email. Will do now.

Powered by Google App Engine
This is Rietveld 408576698