Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home for chromium.org
« Groups Home
Message from discussion Ninja/android build failure
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tommy Nyquist  
View profile  
 More options Nov 13 2012, 10:50 pm
From: Tommy Nyquist <nyqu...@chromium.org>
Date: Tue, 13 Nov 2012 19:50:24 -0800
Local: Tues, Nov 13 2012 10:50 pm
Subject: Re: [chromium-dev] Ninja/android build failure

To build all available Chrome for Android targets, use the 'All' target
(note the uppercase A).

On Tue, Nov 13, 2012 at 7:47 PM, Justin <jay...@gmail.com> wrote:
> Yep, my bad, that did it. Annoying, because ninja with no targets (all)
> didn't build it. Should that be logged or is it a quick fix?

> On Tuesday, November 13, 2012 7:02:54 PM UTC-8, Nico Weber wrote:

>> On Tue, Nov 13, 2012 at 6:33 PM, Justin <jay...@gmail.com> wrote:
>> > I've switched back from Linux builds to Android, and now I'm getting
>> this
>> > error:

>> > [7571/7693] CXX obj/content/shell/content_**shell.shell_main.o
>> > FAILED:
>> > /home/justin/Projects/**chromium/src/third_party/**
>> android_tools/ndk//toolchains/**arm-linux-androideabi-4.6/**
>> prebuilt/linux-x86_64/bin//**arm-linux-androideabi-g++
>> > -MMD -MF obj/content/shell/content_**shell.shell_main.o.d
>> > -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD
>> > -DUSE_LIBJPEG_TURBO=1 -DUSE_PROPRIETARY_CODECS
>> -DENABLE_PEPPER_THREADING
>> > -DENABLE_GPU=1 -DUSE_OPENSSL=1 -DENABLE_EGLIMAGE=1 -DUSE_SKIA=1
>> > -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DANDROID
>> -D__GNU_SOURCE=1
>> > -DUSE_STLPORT=1 -D_STLP_USE_PTR_**SPECIALIZATIONS=1
>> '-DCHROME_SYMBOLS_ID=""'
>> > -DANDROID_UPSTREAM_BRINGUP=1 -DHAVE_SYS_UIO_H
>> > -DDYNAMIC_ANNOTATIONS_ENABLED=**1 -DWTF_USE_DYNAMIC_ANNOTATIONS=**1
>> -D_DEBUG
>> > -I../.. -I../../third_party/khronos -Werror -fno-exceptions
>> > -fno-strict-aliasing -Wall -Wno-unused-parameter
>> > -Wno-missing-field-**initializers -fvisibility=hidden -pipe -fPIC
>> -mthumb
>> > -march=armv7-a -mtune=cortex-a8 -mfloat-abi=softfp -mfpu=vfpv3-d16
>> > -fno-tree-sra -fuse-ld=gold -Wno-psabi -mthumb-interwork
>> -ffunction-sections
>> > -funwind-tables -g -fstack-protector -fno-short-enums -finline-limit=64
>> > -Wa,--noexecstack
>> > --sysroot=/home/justin/**Projects/chromium/src/third_**
>> party/android_tools/ndk//**platforms/android-9/arch-arm
>> > -I/home/justin/Projects/**chromium/src/third_party/**
>> android_tools/ndk//sources/**cxx-stl/stlport/stlport
>> > -Os -g -fomit-frame-pointer -fdata-sections -ffunction-sections
>> -fno-rtti
>> > -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare
>> -Wno-abi
>> > -c ../../content/shell/shell_**main.cc -o
>> > obj/content/shell/content_**shell.shell_main.o
>> > ../../content/shell/shell_**main.cc: In function 'int main(int, char
>> > const**)':
>> > ../../content/shell/shell_**main.cc:36:10: error: 'ContentMain' is not
>> a
>> > member of 'content'
>> > [7571/7693] CXX
>> > obj/content/shell/content_**shell_lib.webkit_test_runner_**host.o
>> > ninja: build stopped: subcommand failed.

>> > It looks like I'm possibly building the wrong content_main - however
>> I've
>> > performed all the steps here:
>> > http://code.google.com/p/**chromium/wiki/**AndroidBuildInstructions<http://code.google.com/p/chromium/wiki/AndroidBuildInstructions>
>> > http://code.google.com/p/**chromium/wiki/NinjaBuild<http://code.google.com/p/chromium/wiki/NinjaBuild>
>> > and built from clean (a couple of times to be sure).

>> > Any ideas?

>> Try `ninja -C out/Debug content_shell_apk`. It's possible that the
>> chrome/android folks have a few broken projects in their build (if
>> that's the case: tsk, tsk) and building all targets doesn't work. Does
>> building a specific target work?

>> > --
>> > Chromium Developers mailing list: chromi...@chromium.org
>> > View archives, change email options, or unsubscribe:
>> > http://groups.google.com/a/**chromium.org/group/chromium-**dev<http://groups.google.com/a/chromium.org/group/chromium-dev>

>  --
> Chromium Developers mailing list: chromium-...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.