New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 622108 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

gles2_conform_test_windowless has GYP variables in the sources

Project Member Reported by jmad...@chromium.org, Jun 21 2016

Issue description

How to repro (Windows):

> gn gen out\gn_test
is_component_build=true
internal_gles2_conform_tests=true
enable_nacl=false
is_win_fastlink=true

> gn gen out\gn_test --ide=vs2015 --filters=//gpu/gles2_conform_support/*
Generating Visual Studio projects took 122ms
Done. Wrote 4067 targets from 908 files in 2583ms

Open out\gn_test\all.sln in Visual Studio 2015.. I see this error:
...\gles2_conform_support\gles2_conform_test_windowless.vcxproj : error  : Unable to read the project file "gles2_conform_test_windowless.vcxproj".
...\gles2_conform_support\gles2_conform_test_windowless.vcxproj(286,61): The project file could not be loaded. '<', hexadecimal value 0x3C, is an invalid attribute character. Line 286, position 61.

Looking in the vcxproj file:
    <None Include="../../../../../gpu/gles2_conform_support/<@(gl2_extension_test_sources)" />
    <None Include="../../../../../gpu/gles2_conform_support/<@(gl2_fixed_test_sources)" />
    <None Include="../../../../../gpu/gles2_conform_support/<@(gl2_test_sources)" />

Seems they were not expanded from the gypi lists.
 
Cc: dpranke@chromium.org brettw@chromium.org pkasting@chromium.org tsniatow...@opera.com
Components: Build
Owner: ----
Status: Untriaged (was: Assigned)

Comment 2 by brettw@chromium.org, Jun 22 2016

Summary: gles2_conform_test_windowless has GYP variables in the sources (was: GN MSVS generator doesn't expand gypi source lists)
This has nothing to do with the generator, these are in the sources list. GN doesn't know anything about GYP variables.

These come from gtf_es_sources from gles2_conform.gypi
Owner: jmad...@chromium.org
Status: Assigned (was: Untriaged)
Ah, I think I understand. So the fix is just to fix the source list and possibly fix the gyp as well. Do you know when we are planning to remove the gyp?

I think I can try to fix this.
We don't have an ETA to remove the GYP files yet. We're hoping to ship all GN-based builds in M-53 (which branches next week), so I expect we'll be removing GYP not too long after that, but it might be a month or two.
Project Member

Comment 5 by bugdroid1@chromium.org, Jun 22 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0096cb016cc6bfd8cf1a0cd51501504ba547bfff

commit 0096cb016cc6bfd8cf1a0cd51501504ba547bfff
Author: jmadill <jmadill@chromium.org>
Date: Wed Jun 22 21:42:26 2016

gles2_conform: Fix sources list in GN/gypi.

The sources list in the gypi included other lists of sources, which
the GN files don't know how to parse recursively.

BUG= 622108 
R=piman@chromium.org,brettw@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2085413002
Cr-Commit-Position: refs/heads/master@{#401415}

[modify] https://crrev.com/0096cb016cc6bfd8cf1a0cd51501504ba547bfff/gpu/gles2_conform_support/gles2_conform.gypi
[modify] https://crrev.com/0096cb016cc6bfd8cf1a0cd51501504ba547bfff/gpu/gles2_conform_support/gles2_conform_test.gyp

Status: Fixed (was: Assigned)

Sign in to add a comment