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

Issue 1405133010: gpu/khronos_glcts_support: add support for GN builds (Closed)

Created:
5 years, 1 month ago by U. Artie Eoff
Modified:
5 years, 1 month ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu/khronos_glcts_support: add support for GN builds Port the GYP configs to BUILD.gn so that this test can be built with GN. BUG=chromium:412865, chromium:471903 R=kbr@chromium.org, piman@chromium.org, dpranke@chromium.org, brettw@chromium.org TEST=Verify khronos_glcts_test builds and runs with GN build Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>; gpu/khronos_glcts_support: Move target_defaults into separate file Move the target_defaults into its own gypi file so that we can parse the variables in khronos_glcts.gypi with the gypi_to_gn.py script. The gypi_to_gn.py chokes on target_defaults. BUG=chromium:412865, chromium:471903 R=kbr@chromium.org, piman@chromium.org, dpranke@chromium.org TEST=Verify khronos_glcts_test builds and runs Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>; gpu/khronos_glcts_support: use override specifier Annotate the base class override functions with the override specifier to appease the chromium-style checker. BUG=chromium:412865 R=kbr@chromium.org, piman@chromium.org, dpranke@chromium.org TEST=Verify khronos_glcts_test builds and runs Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>;

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+591 lines, -39 lines) Patch
M .gn View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/khronos_glcts_support/BUILD.gn View 2 chunks +544 lines, -3 lines 6 comments Download
M gpu/khronos_glcts_support/khronos_glcts.gypi View 1 chunk +0 lines, -28 lines 0 comments Download
M gpu/khronos_glcts_support/khronos_glcts_cts.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A gpu/khronos_glcts_support/khronos_glcts_defaults.gypi View 1 chunk +34 lines, -0 lines 2 comments Download
M gpu/khronos_glcts_support/khronos_glcts_framework.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/khronos_glcts_support/khronos_glcts_gtf.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/khronos_glcts_support/khronos_glcts_test.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/khronos_glcts_support/native/egl_native_windowless.cc View 3 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 14 (1 generated)
U. Artie Eoff
5 years, 1 month ago (2015-10-28 22:33:26 UTC) #1
piman
https://codereview.chromium.org/1405133010/diff/1/gpu/khronos_glcts_support/BUILD.gn File gpu/khronos_glcts_support/BUILD.gn (right): https://codereview.chromium.org/1405133010/diff/1/gpu/khronos_glcts_support/BUILD.gn#newcode75 gpu/khronos_glcts_support/BUILD.gn:75: configs += [ "//build/config/compiler:rtti" ] I see this duplicated ...
5 years, 1 month ago (2015-10-28 22:45:38 UTC) #2
Dirk Pranke
The GN changes mostly lgtm stylistically at least. I defer to others to ensure their ...
5 years, 1 month ago (2015-10-28 22:55:35 UTC) #3
U. Artie Eoff
https://codereview.chromium.org/1405133010/diff/1/gpu/khronos_glcts_support/BUILD.gn File gpu/khronos_glcts_support/BUILD.gn (right): https://codereview.chromium.org/1405133010/diff/1/gpu/khronos_glcts_support/BUILD.gn#newcode75 gpu/khronos_glcts_support/BUILD.gn:75: configs += [ "//build/config/compiler:rtti" ] On 2015/10/28 22:45:38, piman ...
5 years, 1 month ago (2015-10-28 22:57:31 UTC) #4
U. Artie Eoff
https://codereview.chromium.org/1405133010/diff/1/gpu/khronos_glcts_support/BUILD.gn File gpu/khronos_glcts_support/BUILD.gn (right): https://codereview.chromium.org/1405133010/diff/1/gpu/khronos_glcts_support/BUILD.gn#newcode75 gpu/khronos_glcts_support/BUILD.gn:75: configs += [ "//build/config/compiler:rtti" ] On 2015/10/28 22:55:35, Dirk ...
5 years, 1 month ago (2015-10-28 23:00:00 UTC) #5
Dirk Pranke
https://codereview.chromium.org/1405133010/diff/1/gpu/khronos_glcts_support/BUILD.gn File gpu/khronos_glcts_support/BUILD.gn (right): https://codereview.chromium.org/1405133010/diff/1/gpu/khronos_glcts_support/BUILD.gn#newcode75 gpu/khronos_glcts_support/BUILD.gn:75: configs += [ "//build/config/compiler:rtti" ] On 2015/10/28 22:59:59, U. ...
5 years, 1 month ago (2015-10-28 23:05:30 UTC) #6
U. Artie Eoff
Quick question... I created these as three separate commits in git. However, they uploaded here ...
5 years, 1 month ago (2015-10-28 23:06:23 UTC) #7
Dirk Pranke
On 2015/10/28 23:06:23, U. Artie Eoff wrote: > Quick question... I created these as three ...
5 years, 1 month ago (2015-10-28 23:07:16 UTC) #8
U. Artie Eoff
On 2015/10/28 23:07:16, Dirk Pranke wrote: > On 2015/10/28 23:06:23, U. Artie Eoff wrote: > ...
5 years, 1 month ago (2015-10-28 23:09:06 UTC) #9
Dirk Pranke
On 2015/10/28 23:09:06, U. Artie Eoff wrote: > eww.. how do we prevent that and ...
5 years, 1 month ago (2015-10-28 23:11:36 UTC) #10
U. Artie Eoff
On 2015/10/28 23:11:36, Dirk Pranke wrote: > On 2015/10/28 23:09:06, U. Artie Eoff wrote: > ...
5 years, 1 month ago (2015-10-28 23:17:28 UTC) #11
Dirk Pranke
On 2015/10/28 23:17:28, U. Artie Eoff wrote: > On 2015/10/28 23:11:36, Dirk Pranke wrote: > ...
5 years, 1 month ago (2015-10-28 23:22:55 UTC) #12
Dirk Pranke
5 years, 1 month ago (2015-10-28 23:23:34 UTC) #13
On 2015/10/28 23:22:55, Dirk Pranke wrote:
> On 2015/10/28 23:17:28, U. Artie Eoff wrote:
> > On 2015/10/28 23:11:36, Dirk Pranke wrote:
> > > On 2015/10/28 23:09:06, U. Artie Eoff wrote:
> > > > eww.. how do we prevent that and get 3 separate commits instead?
> > > 
> > > You would have to split this up into 3 different CLs.
> > 
> > Ok, I'd rather do that.  How do I abandon this?
> 
> Just close it via the 'edit issue' link.
> 
> >  And will Rietveld be smart
> > enough if I do 'git cl upload' for each commit on top of the other (e.g.
> > CQ-DEPEND).
> 
> Yes.

To be clear: you will need to create 3 separate branches in git, with each the
parent of the next. git-cl operates per-branch, not per-commit.

Powered by Google App Engine
This is Rietveld 408576698