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

Issue 288293002: libvpx.gyp : issues fix for webview. (Closed)

Created:
6 years, 7 months ago by michaelbai
Modified:
6 years, 7 months ago
Reviewers:
Johann, Tom Finegan, Torne
CC:
wwcv, jzern, fgalligan1
Visibility:
Public.

Description

Use the new gyp_var_prefix local variable set by gyp instead of the global GYP_VAR_PREFIX set by the makefiles, since the latter is not guaranteed to still be the same value at the time the command is executed. Also, use abspath instead of realpath to convert paths to absolute, since realpath expands to the empty string if the target file doesn't exist, complicating build debugging. Removed 2 include paths from WebView build, they are not used in WebView, but generate full path which shouldn't in android make file. BUG= R=johannkoenig@google.com, torne@chromium.org Committed: 271093

Patch Set 1 : #

Total comments: 5

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -12 lines) Patch
M libvpx.gyp View 1 5 chunks +17 lines, -11 lines 0 comments Download
M unpack_lib_posix.gypi View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
michaelbai
6 years, 7 months ago (2014-05-15 20:28:10 UTC) #1
Johann
Would prefer to see the comment cleaned up and the places where cflags are modified ...
6 years, 7 months ago (2014-05-16 04:15:58 UTC) #2
Torne
LGTM from webview build perspective (this is the change we need and I've tested it ...
6 years, 7 months ago (2014-05-16 09:50:07 UTC) #3
Tom Finegan
On 2014/05/16 09:50:07, Torne wrote: > LGTM from webview build perspective (this is the change ...
6 years, 7 months ago (2014-05-16 17:40:21 UTC) #4
michaelbai
PTAL https://codereview.chromium.org/288293002/diff/40001/libvpx.gyp File libvpx.gyp (right): https://codereview.chromium.org/288293002/diff/40001/libvpx.gyp#newcode359 libvpx.gyp:359: 'cflags': [ xcode_settings has same setting in line ...
6 years, 7 months ago (2014-05-16 18:09:00 UTC) #5
Johann
https://codereview.chromium.org/288293002/diff/40001/libvpx.gyp File libvpx.gyp (right): https://codereview.chromium.org/288293002/diff/40001/libvpx.gyp#newcode359 libvpx.gyp:359: 'cflags': [ On 2014/05/16 18:09:00, michaelbai wrote: > xcode_settings ...
6 years, 7 months ago (2014-05-16 18:25:31 UTC) #6
michaelbai
PTAL https://codereview.chromium.org/288293002/diff/40001/libvpx.gyp File libvpx.gyp (right): https://codereview.chromium.org/288293002/diff/40001/libvpx.gyp#newcode359 libvpx.gyp:359: 'cflags': [ Put them together On 2014/05/16 18:25:31, ...
6 years, 7 months ago (2014-05-16 19:57:31 UTC) #7
Johann
lgtm. i'm working on a roll, i'll carry this in hopefully today
6 years, 7 months ago (2014-05-16 21:03:09 UTC) #8
michaelbai
Committed patchset #2 manually as r271093 (presubmit successful).
6 years, 7 months ago (2014-05-16 21:08:51 UTC) #9
Torne
6 years, 7 months ago (2014-05-19 09:02:09 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/288293002/diff/40001/libvpx.gyp
File libvpx.gyp (right):

https://codereview.chromium.org/288293002/diff/40001/libvpx.gyp#newcode359
libvpx.gyp:359: 'cflags': [
On 2014/05/16 18:25:31, Johann wrote:
> On 2014/05/16 18:09:00, michaelbai wrote:
> > Do you know why the path leads with comma?
> 
> the , trailing -Wa and -I? I do not know what that means.

-Wa is the gcc option for passing arguments to the assembler. The commas
separate the different arguments to pass to the assembler, so that it can tell
the difference between you wanting to pass N assembler arguments from you
wanting to pass, say, N-1 assembler arguments and 1 other gcc argument. So,
-Wa,-I,foo means "pass the arguments -I and foo to the assembler". Without the
commas gcc would attempt to interpret the -I and foo args itself.

Powered by Google App Engine
This is Rietveld 408576698