Correct, what I did was do 'bitbake crosswalk' to first generate this
xwalk.gyp file:

/disk1/tsonghong_build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/crosswalk/12.40.295.0-r0/crosswalk-12.40.295.0/xwalk/xwalk.gyp

ANd then quickly killed the bitbake as soon as I saw it generate this file.

Then I edited this xwalk.gyp file by adding that line:

...
    {
      'target_name': 'xwalk',
      'type': 'executable',
      'mac_bundle': 1,
      'defines!': ['CONTENT_IMPLEMENTATION'],
      'dependencies': [
        'xwalk_runtime',
        'xwalk_pak',
        '../third_party/libjingle/source/talk/libjingle_examples.gyp:*',
      ],


Then I reran 'bitbake crosswalk' which generated that error message.
To verify, if I remove that one line, then 'bitbake crosswalk' runs fine
without errors.

Henry

On Wed, Mar 25, 2015 at 4:23 PM, Raphael Kubo da Costa <
[email protected]> wrote:

> Henry Soang <[email protected]> writes:
>
> > Hi Raphael,
> >
> > thanks for that.  So I tried to do a single line hack to the xwalk.gyp to
> > include the
> '../third_party/libjingle/source/talk/libjingle_examples.gyp:*',
> > but I guess it's probably a lot more work than that as I'm now indeed
> > getting errors about "gyp: name 'build_with_chromium' is not defined
> while
> > evaluating condition 'build_with_chromium==1'" afterwards all pointing to
> > that line.
> > I guess I'll need to study the gyp system a bit more.  Any  quick ideas
> are
> > welcome still of course. :)
>
> It depends on how you actually added that line. What I meant is that you
> need to add it as a dependency of the 'xwalk' target, so xwalk.gyp
> should look something like:
>
>   ...
>   {
>     'target_name': 'xwalk',
>     ...
>     'dependencies': [
>       '../third_party/libjingle/source/talk/libjingle_examples.gyp:*'
>       'xwalk_runtime',
>       'xwalk_pak',
>     ],
>     ...
>   },
>   ...
> _______________________________________________
> Crosswalk-help mailing list
> [email protected]
> https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
>
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to