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

Issue 150085: plugins: don't copy into product_dir/plugins (Closed)

Created:
11 years, 5 months ago by Evan Martin
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

plugins: eliminate use of product_dir The 'product_dir' variable in gyp is only implemented by the scons generator and only used by plugins, and the plugin tests don't yet run on Linux (where we use scons). The npapi_layout_test_plugin is copied into the proper place for layout tests with a 'copy' rule. BUG=15695

Patch Set 1 #

Patch Set 2 : retry #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -2 lines) Patch
M webkit/tools/test_shell/test_shell.gyp View 1 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Evan Martin
Not sure about this, but it's how I read the code. Amanda: will this affect ...
11 years, 5 months ago (2009-06-30 01:09:46 UTC) #1
Evan Martin
PS: % grep -l product_dir tools/gyp/pylib/gyp/generator/* tools/gyp/pylib/gyp/generator/scons.py tools/gyp/pylib/gyp/generator/scons.pyc
11 years, 5 months ago (2009-06-30 01:11:03 UTC) #2
Amanda Walker
This won't affect the NPAPI test plugin (used by the plugin unit tests), but it ...
11 years, 5 months ago (2009-06-30 01:33:06 UTC) #3
Evan Martin
On 2009/06/30 01:33:06, Amanda Walker wrote: > This won't affect the NPAPI test plugin (used ...
11 years, 5 months ago (2009-06-30 01:40:04 UTC) #4
Amanda Walker
All of the unit tests will work--it's TestShell running the WebKit layout tests that does ...
11 years, 5 months ago (2009-06-30 01:42:15 UTC) #5
Evan Martin
Ok, new try. I left in the copy step, to handle awalker's comment. From the ...
11 years, 5 months ago (2009-06-30 20:13:47 UTC) #6
Evan Martin
TBRing this due to broken build, will revert if something goes wrong
11 years, 5 months ago (2009-06-30 20:23:46 UTC) #7
jam
So I'm seeing a problem with this. If I build ui_tests.exe and then try to ...
11 years, 5 months ago (2009-07-18 03:18:02 UTC) #8
sgk
11 years, 5 months ago (2009-07-20 17:07:47 UTC) #9
What's the final resolution on this?

The intent of product_dir (modulo someone picking a better name) was to provide
a way for an individual target to specify where it wants its products built,
without having to cut-and-paste manual 'copies' steps all over the
configuration.

Was this actually causing problems?  If so, then this change lgtm, and it has
the advantage of cutting down on the clutter of Yet Another feature.

But it seems like the generic ability to say "this target's output should go
*here*" is common enough that a more compact idiom than a cut-and-paste manual
copy would be useful.  Comments?

Powered by Google App Engine
This is Rietveld 408576698