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