Граф коммитов

1157 Коммитов

Автор SHA1 Сообщение Дата
thakis@chromium.org 605d4a523d roll clang 165787:167488
Fixes crash in arm codegen.
Doesn't warn on -Wno-arc-abi.
Nicer diagnostics for nested macro instantiations.
Includes asan support for android on linux (shout if you need that on mac).
Fixes issue with debug information in .S files.
Renames -faddress-sanitizer to -fsanitize=address (continue to use -faddress-sanitizer in chromium for now, until we've updated all third-party gyp files)

BUG=159712,159452,159475,159502,159598,59580
TBR=hans

Review URL: https://codereview.chromium.org/11361133

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166365 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-07 06:57:44 +00:00
eugenis@chromium.org 2834bd5d07 ASan on Android requires -pie.
Review URL: https://codereview.chromium.org/11363104

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166212 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-06 16:01:21 +00:00
ilevy@chromium.org 166b551ea4 Pass -g1 on android release builds with fastbuild
Also reorganizing fastbuild section.

NOTRY=True


Review URL: https://chromiumcodereview.appspot.com/11364088

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166076 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-05 23:54:43 +00:00
nileshagrawal@chromium.org 8a1fd85c19 Android: Remove dependency on language detection library.
Savings: 1.2MB in stripped so (in the .rodata section)
         750K in APK size


BUG=155069

Review URL: https://chromiumcodereview.appspot.com/11361051

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166024 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-05 20:40:31 +00:00
blundell@chromium.org de44484f68 Changes to build/common.gypi for iOS.
- Disable some features that are not used on iOS.
- Remove dSYM in debug mode to reduce build time.
- Build for armv7 as armv7s is not yet fully tested.


Review URL: https://chromiumcodereview.appspot.com/11364072

git-svn-id: http://src.chromium.org/svn/trunk/src/build@165948 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-05 17:11:44 +00:00
stuartmorgan@chromium.org 3a35a887fe Add structural support for building chrome_browser.gyp on iOS
This is not yet used, but helps lay the groundwork for building chrome/
targets for iOS.
                    
This uses exclude-all-and-include since Chrome for iOS uses only a subset
of chrome/browser/, so the include list will be much more manageable and
maintainable than an exclude list.

BUG=156699


Review URL: https://chromiumcodereview.appspot.com/11361056

git-svn-id: http://src.chromium.org/svn/trunk/src/build@165802 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-03 00:02:19 +00:00
hans@chromium.org c2a330f653 Clang: enable -Wtautological-constant-out-of-range-compare
This warning was implemented in Clang a couple of weeks ago,
and now our code base is clean enough to enable it.

BUG=151927


Review URL: https://chromiumcodereview.appspot.com/11366060

git-svn-id: http://src.chromium.org/svn/trunk/src/build@165793 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-02 23:09:07 +00:00
glider@chromium.org 2262f7a199 More changes for TSan v2 support:
-- add the ignores file
 -- set the appropriate definitions for compiling dynamic annotations
 -- add suppressions for existing data races

BUG=23244,62694,102327,120808,158718
Review URL: https://codereview.chromium.org/11227052

git-svn-id: http://src.chromium.org/svn/trunk/src/build@165330 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-01 10:36:16 +00:00
phajdan.jr@chromium.org 0225fef387 Linux: add an option to build with system protobuf.
This doesn't work yet without upstream protobuf changes,
but with this infrastructure in place it's going to be
easier to test further updates.

Google Chrome will of course use the bundled version,
there's no change here.

BUG=157155
TEST=none

Review URL: https://codereview.chromium.org/11231046

git-svn-id: http://src.chromium.org/svn/trunk/src/build@165257 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-31 23:29:37 +00:00
hbono@chromium.org 6da6699c45 A Speculative Revert for 164939 - Use tcmalloc's debugallocation for Debug builds
to catch memory problems early, easily, and cleanly.

Because of gyp limitations, this can't be now controlled
by a flag.

BUG=30715
TEST=none

Review URL: https://codereview.chromium.org/11266019

TBR=phajdan.jr@chromium.org
Review URL: https://codereview.chromium.org/11360002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@165096 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-31 03:30:48 +00:00
phajdan.jr@chromium.org 1c5d2ac690 Use tcmalloc's debugallocation for Debug builds
to catch memory problems early, easily, and cleanly.

Because of gyp limitations, this can't be now controlled
by a flag.

BUG=30715
TEST=none

Review URL: https://codereview.chromium.org/11266019

git-svn-id: http://src.chromium.org/svn/trunk/src/build@164939 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-30 17:25:28 +00:00
stuartmorgan@chromium.org ed97e5ef66 Add structural support for building chrome_browser_ui.gypi on iOS
This is not yet used, but helps lay the groundwork for building chrome/
targets for iOS.

This uses exclude-all-and-include since Chrome for iOS uses only a very
small portion of chrome/browser/ui/, so the include list will be much more
manageable and maintainable than an exclude list.

BUG=156699


Review URL: https://chromiumcodereview.appspot.com/11339010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@164908 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-30 13:55:07 +00:00
ivankr@chromium.org 8edf7e3878 RLZ: remove hard-coded Win || Mac conditions.
Add enable_rlz GYP variable and rely on ENABLE_RLZ macro instead of hard-coded Win || Mac checks.
Also, clean compile by gcc (signed/unsigned mismatch, etc).


BUG=157348

Review URL: https://chromiumcodereview.appspot.com/11226060

git-svn-id: http://src.chromium.org/svn/trunk/src/build@164681 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-29 18:17:22 +00:00
glider@chromium.org 9fba15da18 Make the Clang and ASan GYP definitions available for iOS.
The intention is to allow to build iOS Chrome/tests with asan=1, which is only possible with a custom Clang at the moment.
The resulting binaries can't be shipped to users, but can be used to debug memory corruptions.
Review URL: https://codereview.chromium.org/11273012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@164619 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-29 10:57:31 +00:00
thakis@chromium.org 0701976cd2 clang: Enable -Wimplicit-conversion-floating-point-to-bool
The one offender in WebKit was fixed.

BUG=none
TBR=hans

Review URL: https://codereview.chromium.org/11337003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@164589 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-29 04:01:43 +00:00
stuartmorgan@chromium.org 94359ca145 Remap pt-BR to pt on iOS
iOS looks for Brazilian Portuguese under pt, not pt-BR. Remap the grd
output from pt-BR to pt on iOS so that it ends up in the right place.

BUG=None


Review URL: https://chromiumcodereview.appspot.com/11276003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@164312 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-26 10:50:47 +00:00
phajdan.jr@chromium.org 85b9d25c9e GTTF: Fix build with _GLIBCXX_DEBUG
BUG=65151
TEST=none


Review URL: https://chromiumcodereview.appspot.com/11238074

git-svn-id: http://src.chromium.org/svn/trunk/src/build@163882 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-24 19:26:59 +00:00
michaelbai@chromium.org fc9b0d6c28 Fix the build bot by removing the flag for Android
Remove the cflag '-Wno-tautological-constant-out-of-range-compare' for Android

BUG=157026


Review URL: https://chromiumcodereview.appspot.com/11231048

git-svn-id: http://src.chromium.org/svn/trunk/src/build@163400 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-22 22:06:20 +00:00
chrisha@chromium.org 908516dd36 Move NTDDI_VERSION define to common.gypi.
This centralizes this definition and removes it from the various places it is currently replicated. This also allows external projects that rely on Chromium base to compile successfully, as otherwise this (required) definition is missing.

BUG=


Review URL: https://chromiumcodereview.appspot.com/11190060

git-svn-id: http://src.chromium.org/svn/trunk/src/build@163299 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-22 16:23:10 +00:00
thakis@chromium.org 6e35161b05 roll clang 163674:165787
Also includes r165962 and r165963 on mac to fix a build issue.

BUG=156005,151927

Review URL: https://codereview.chromium.org/11143020

git-svn-id: http://src.chromium.org/svn/trunk/src/build@162917 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-19 03:35:59 +00:00
thakis@chromium.org 130ec8a846 mac: Fix building with xcodebuild on Xcode4.4
See the bug for details.

BUG=156530

Review URL: https://codereview.chromium.org/11184054

git-svn-id: http://src.chromium.org/svn/trunk/src/build@162859 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-19 00:24:24 +00:00
zhaoqin@google.com 970ce45825 change inline function optimization from /Ob0 to /Ob1 for build_for_tool=drmemory. xref http://code.google.com/p/drmemory/issues/detail?id=1054
R=bruening@chromium.org
BUG=DrM-i#1054


Review URL: https://chromiumcodereview.appspot.com/11188044

git-svn-id: http://src.chromium.org/svn/trunk/src/build@162712 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-18 15:45:16 +00:00
alexeypa@chromium.org 14549070cc Automatically use ATL from Windows Driver Kit for SDK-only or Visual Studio Express setup.
This CL simplifies the additional configuration steps that SDK-only or Visual Studio Express setup requires.


Review URL: https://chromiumcodereview.appspot.com/11188040

git-svn-id: http://src.chromium.org/svn/trunk/src/build@162666 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-18 07:11:26 +00:00
jamesr@chromium.org 119c6051ee Remove use_libcc_for_compositor gyp variable
We flipped the default to 1 a few weeks ago and the tree doesn't compile with
this set to 0. Time to go!

BUG=


Review URL: https://chromiumcodereview.appspot.com/11066132

git-svn-id: http://src.chromium.org/svn/trunk/src/build@162049 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-16 02:24:31 +00:00
stuartmorgan@chromium.org 390b620907 Add support for coverage=1 builds on iOS
Uses the same method as is used on Mac to enable coverage. Some sources
need to be removed in coverage mode due to a toolchain bug.

BUG=None


Review URL: https://chromiumcodereview.appspot.com/11111014

git-svn-id: http://src.chromium.org/svn/trunk/src/build@161633 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-12 19:07:03 +00:00
pkl@chromium.org 842bad04c8 Sets ios_product_name and ios_breakpad flags for iOS.
At the same time, modified the conditional logic to be more like mac's, i.e. incorporate the value of buildtype=="Official" to determine if it is a release build.

BUG=None


Review URL: https://chromiumcodereview.appspot.com/11033027

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160819 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-09 10:50:32 +00:00
ilevy@chromium.org fa6e57a37a Fix fastbuild for android clang. Build -g0
Fix the fastbuild flag for android clang.

TEST=ninja files change to -g0, build is 5x faster
BUG=143931
TBR=thakis

Review URL: https://codereview.chromium.org/11078008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160606 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-07 05:47:38 +00:00
mark@chromium.org 7899144fdc When doing an official build, don't bail out if Xcode doesn't know about the
SDK to verify when an SDK path is set. The SDK path supersedes whatever
find_sdk is supposed to find.

Also: Reorganize the SDK and deployment target variables to be scoped more
appropriately. Add a mac_sdk_min variable to set the main argument to
find_sdk.


Review URL: https://chromiumcodereview.appspot.com/11068023

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160536 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-06 00:46:29 +00:00
shashishekhar@chromium.org c4c825f250 Add Android version name and code to gyp settings.
Add the default name and version code for Android, the version name
and code can be overriden by changing the GYP_DEFINES.

BUG=154236


Review URL: https://chromiumcodereview.appspot.com/11029061

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160522 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-05 23:55:50 +00:00
michaelbai@google.com 0f76f86088 Make ninja + clang + goma work
BUG=

Review URL: https://codereview.chromium.org/11065040

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160479 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-05 21:04:23 +00:00
glotov@chromium.org ff5a042dbf Honor mmintrin.h intrinics when instrumenting Chrome with cygprofiler.
BUG=chromium-os:35028
TEST=build chrome with GYP_DEFINES="order_profiling=1"


Review URL: https://chromiumcodereview.appspot.com/11045021

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160341 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-05 09:31:45 +00:00
saintlou@chromium.org dd038fea8a Adding alternate wallpaper.
BUG=153820

Review URL: https://chromiumcodereview.appspot.com/11064002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160219 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-04 20:55:15 +00:00
torne@chromium.org 203ad57f71 Android: fix webview-in-android build config.
The envsetup configuration for building WebView using the Android build
system has rotted. Rather than try to share the non_sdk_build_init code,
just repeat the (few) parts we need to avoid setting all the parts that
are inappropriate, and fix the parts that are wrong or outdated.

Also, upstream the common.gypi settings that are specific to the WebView
build.

BUG=


Review URL: https://chromiumcodereview.appspot.com/11026038

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160188 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-04 19:16:08 +00:00
maruel@chromium.org 56c9099806 Move src/tools/isolate to src/tools/swarm_client@159961 as a DEPS.
src/tools/swarm_client is fetched from tools/swarm_client.

TBR=csharp@chromium.org
BUG=

Review URL: https://codereview.chromium.org/11045023

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160016 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-04 00:08:07 +00:00
msarda@chromium.org 220de5b63b Add grit_whitelist for iOS.
A large number of IDS resources are not used on iOS. This CL includes the used
ones via a grit whitelist file. The presubmit rule ensures that this file is 
ordered in ascending alphabetic order.


Review URL: https://chromiumcodereview.appspot.com/11026024

git-svn-id: http://src.chromium.org/svn/trunk/src/build@159879 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-03 10:37:03 +00:00
mihaip@chromium.org f80141d88f Add Docs as a default app.
BUG=151379

Review URL: https://codereview.chromium.org/10989047

git-svn-id: http://src.chromium.org/svn/trunk/src/build@159110 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-27 20:42:23 +00:00
dmikurube@chromium.org fa1dc86822 Type profiler by intercepting 'new' and 'delete' expressions.
It stores mapping between object's starting addresses and their
allocated types when a build option 'clang_type_profiler=1' is
specified.  It enables information like
"an object at 0x37f3c88 is an instance of std::string."

Nothing is changed when the option is not specified.

It depends on a modified version of the LLVM/Clang compiler
introduced at deps/third_party/llvm-allocated-type.


BUG=123758
TEST=build with clang_type_profiler=1 and run type_profiler_unittests and type_profiler_map_unittests manually.

Review URL: https://chromiumcodereview.appspot.com/10411047

git-svn-id: http://src.chromium.org/svn/trunk/src/build@158752 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-26 05:17:25 +00:00
tony@chromium.org f70494c397 Turn off SSE2 when building for ARM or MIPS.
Disable SSE2 when building the code for ARM or MIPS. 

Original patch by <petarj@mips.com>
at https://chromiumcodereview.appspot.com/10947012/

BUG=https://code.google.com/p/chromium/issues/detail?id=130022 
TEST=None.


Review URL: https://chromiumcodereview.appspot.com/10972012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@158392 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-24 21:31:24 +00:00
michaelbai@chromium.org d3f2288f40 Upstream the CL to remove the target_arch x86
BUG=125329

Review URL: https://chromiumcodereview.appspot.com/10956019

git-svn-id: http://src.chromium.org/svn/trunk/src/build@157897 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-21 02:27:51 +00:00
joi@chromium.org 24ab77edd9 Auto-detect whether internal keys should be used.
Allow overriding to explicitly use or not use internal keys,
regardless of what is auto-detected.

Fix a bug in the implementation, where the default value was not being used for unset tokens.

BUG=145584

Review URL: https://codereview.chromium.org/10933126

git-svn-id: http://src.chromium.org/svn/trunk/src/build@157130 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-17 17:01:39 +00:00
ilevy@chromium.org 7fe13633b4 Add Android support for fastbuild gyp variable
- We want to speed up our trybots by limiting debugging information

BUG=149081


Review URL: https://chromiumcodereview.appspot.com/10914280

git-svn-id: http://src.chromium.org/svn/trunk/src/build@156747 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-14 04:42:55 +00:00
joi@chromium.org b5211dc746 include.gypi variables to specify API keys or use internal header for keys.
BUG=145584

Review URL: https://codereview.chromium.org/10918196

git-svn-id: http://src.chromium.org/svn/trunk/src/build@156538 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-13 13:10:10 +00:00
stuartmorgan@chromium.org 25cbffcb08 Set gyp flags to disable various features on iOS
Disables a set of features that aren't available on iOS. These are
being disabled up-front to make it easier to bring up iOS support in
chrome/ gyp files in later CLs.

BUG=None


Review URL: https://chromiumcodereview.appspot.com/10928138

git-svn-id: http://src.chromium.org/svn/trunk/src/build@156281 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-12 12:02:24 +00:00
jamesr@chromium.org 6778adb31d Switch use_libcc_for_compositor default to true
BUG=

Review URL: https://chromiumcodereview.appspot.com/10909162

git-svn-id: http://src.chromium.org/svn/trunk/src/build@156195 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-12 00:52:25 +00:00
cjhopman@chromium.org a215a79738 Always drop a tombstone
If the DoneCallback returns false, breakpad should reinstall the old
signal handlers. Specifically, it will reinstall the Android tombstone
handler. This change ensure that on Android we always return false from
these callbacks. When this happens, the minidump should still be
created/uploaded as normal.

Also, just prior to returning we log a Chrome build fingerprint. This
should appear in the log just above the tombstone.

Requires breakpad DEPS roll to >=1025
(http://breakpad.appspot.com/440002/) to work correctly, but fails
safely without it.

BUG=


Review URL: https://chromiumcodereview.appspot.com/10908115

git-svn-id: http://src.chromium.org/svn/trunk/src/build@156063 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-11 18:18:58 +00:00
thakis@chromium.org 038fef6d1b roll clang r161757:r163126
BUG=113085
TBR=hans

Review URL: https://chromiumcodereview.appspot.com/10917180

git-svn-id: http://src.chromium.org/svn/trunk/src/build@155953 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-11 05:53:02 +00:00
stuartmorgan@chromium.org 4793bc60a6 Add preliminary iOS support to more content/ gypi files
Restructures content_app.gypi, content_common.gypi, and content_tests.gypi
slightly to support building them for iOS.

One target, content_browsertests, is excluded entirely for iOS.

More files will be added to the iOS build later, once the content/ build
is working for iOS.

BUG=None


Review URL: https://chromiumcodereview.appspot.com/10917130

git-svn-id: http://src.chromium.org/svn/trunk/src/build@155759 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-10 17:46:15 +00:00
thakis@chromium.org 7c0e2b996c Remove some code that tried to support MSVS2005
We stopped supporting that long ago.

BUG=none

Review URL: https://chromiumcodereview.appspot.com/10918111

git-svn-id: http://src.chromium.org/svn/trunk/src/build@155289 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-07 01:10:44 +00:00
mihaip@chromium.org 8c1308368e Add Google Drive as default app.
BUG=114644

Review URL: https://chromiumcodereview.appspot.com/10913102

git-svn-id: http://src.chromium.org/svn/trunk/src/build@155081 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-06 01:07:00 +00:00
saintlou@chromium.org bb14475995 Switch ChromeOS Chromium to use IJG libjpeg instead of libjpeg_turbo.
This CL required https://chromiumcodereview.appspot.com/10886050/ to be landed first.

BUG=144296

Review URL: https://chromiumcodereview.appspot.com/10893042

git-svn-id: http://src.chromium.org/svn/trunk/src/build@154249 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-30 20:15:44 +00:00
saintlou@chromium.org be3d679e6f Add checks in the code so that we can guarantee that we are using the correct library as specified via common.gypi
BUG=144296

Review URL: https://chromiumcodereview.appspot.com/10886050

git-svn-id: http://src.chromium.org/svn/trunk/src/build@154189 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-30 17:36:44 +00:00
droger@chromium.org ea276993c2 Disable FTP on iOS
FTP is not supported on iOS.
This is not obvious, because net.gyp builds almost nothing on iOS currently, but we plan on keeping the ftp/ directory excluded from iOS builds.

BUG=145459

Review URL: https://chromiumcodereview.appspot.com/10880071

git-svn-id: http://src.chromium.org/svn/trunk/src/build@154130 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-30 13:18:11 +00:00
glider@chromium.org 007b3643a2 Clean up the obsolete asan=1 config bits:
-- 10.5 isn't supported anymore, so we don't need to pass -Wl,-U for undefined symbols
 -- third_party/llvm-build is now used for ASan, so the Chromium clang plugins should be fully supported.

TBR=thakis 
Review URL: https://chromiumcodereview.appspot.com/10908010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@154128 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-30 13:13:00 +00:00
glider@chromium.org 7013db255b Set component=static_library for ASan builds on Mac.
BUG=145503
Review URL: https://chromiumcodereview.appspot.com/10898037

git-svn-id: http://src.chromium.org/svn/trunk/src/build@153911 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-29 17:47:02 +00:00
scottmg@google.com 0827661a89 Retry of warnings-as-errors for Windows third_party.
Same as patch here: https://chromiumcodereview.appspot.com/10827429/

except that warnings as errors is off if buildtype=Official. The previous CL
was OK everywhere that's visible on build.chromium.org including "Official"
but fails on internal builds.

R=thakis@chromium.org
BUG=126483, 140121, 143877

Review URL: https://chromiumcodereview.appspot.com/10867058

git-svn-id: http://src.chromium.org/svn/trunk/src/build@153278 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-24 20:58:24 +00:00
thakis@chromium.org c5445f0205 roll gyp 1473:1479
1474: Emacs mode for gyp: font-lock edition.
1475: Tidy up default toolset for msbuild-based builds.
1476: add -Gstandalone flag 
1477: Enable pretty xml generation.
1478: msvs: Ensure trailing slash on IntermediateDir and OutputDir.
1479: mac ninja&make: Pass OTHER_LDFLAGS to libtool for static libraries.


Also don't pass -faddress-sanitizer to libtool.

BUG=113085

Review URL: https://chromiumcodereview.appspot.com/10876059

git-svn-id: http://src.chromium.org/svn/trunk/src/build@153250 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-24 19:05:08 +00:00
scottmg@google.com 101b79e651 Revert 153092 - Turn on warnings as errors for (most) third_party code on Windows
Is causing warnings for Official build in PDF code. Boo.

-----------------

Can't quite be fully enabled yet due to not-yet-fixed third party
dependencies. Without it enabled, other packages regress while we're fixing
things. So, add a flag for now so warnings-freeness can be ratcheted forward
by having it on for most packages, but off for a few.

Also, disable warning in qcms (fixed upstream by a large refactoring, not
worth rolling for), and disable two minor warnings in yasm (patch posted
upstream for a few months, but maintainer does not seem motivated to merge).

Fix release-only warning in leveldatabase/env_chromium.cc. Was calling exit(1)
in a leaky destructor.

Fix a warning in lzma_sdk (missing an include).

Disable a silly warning in Release builds of skia and memory_watcher (that
/GS is not working because optimization is disabled).

Warning are currently tolerated in libvpx and mesa.

Cannot be committed until http://chromiumcodereview.appspot.com/10823426/ has
landed.

R=thakis@chromium.org
BUG=126483,140121, 143877
TEST=


Review URL: https://chromiumcodereview.appspot.com/10827429

TBR=scottmg@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10872063

git-svn-id: http://src.chromium.org/svn/trunk/src/build@153223 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-24 16:16:14 +00:00
xhwang@chromium.org 4ef445e31f Revert 153060 - Use early expansion for debug_optimize
https://chromiumcodereview.appspot.com/10828084 tried to do this but did it
only for release_optimize.

BUG=139118,70107

Review URL: https://chromiumcodereview.appspot.com/10873039

TBR=thakis@chromium.org

We are getting unit_tests and content_unittests failure on Linux Clang (dbg) constently. Try reverting this CL to see if it helps. Sorry!

http://chromegw.corp.google.com/i/chromium/builders/Linux%20Clang%20%28dbg%29/builds/31418/steps/content_unittests/logs/stdio
Review URL: https://chromiumcodereview.appspot.com/10882023

git-svn-id: http://src.chromium.org/svn/trunk/src/build@153128 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-24 00:49:25 +00:00
scottmg@chromium.org d086deed13 Turn on warnings as errors for (most) third_party code on Windows
Can't quite be fully enabled yet due to not-yet-fixed third party
dependencies. Without it enabled, other packages regress while we're fixing
things. So, add a flag for now so warnings-freeness can be ratcheted forward
by having it on for most packages, but off for a few.

Also, disable warning in qcms (fixed upstream by a large refactoring, not
worth rolling for), and disable two minor warnings in yasm (patch posted
upstream for a few months, but maintainer does not seem motivated to merge).

Fix release-only warning in leveldatabase/env_chromium.cc. Was calling exit(1)
in a leaky destructor.

Fix a warning in lzma_sdk (missing an include).

Disable a silly warning in Release builds of skia and memory_watcher (that
/GS is not working because optimization is disabled).

Warning are currently tolerated in libvpx and mesa.

Cannot be committed until http://chromiumcodereview.appspot.com/10823426/ has
landed.

R=thakis@chromium.org
BUG=126483,140121, 143877
TEST=


Review URL: https://chromiumcodereview.appspot.com/10827429

git-svn-id: http://src.chromium.org/svn/trunk/src/build@153092 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-23 22:32:24 +00:00
thakis@chromium.org 4cb3710621 Use early expansion for debug_optimize
https://chromiumcodereview.appspot.com/10828084 tried to do this but did it
only for release_optimize.

BUG=139118,70107

Review URL: https://chromiumcodereview.appspot.com/10873039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@153060 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-23 20:34:21 +00:00
ukai@chromium.org 567c733a2a Generate debug information by linker with win_z7=1 even if fastbuild=1
without this CL
 fastbuild=1 => no debug information
 win_z7=1 => debug information available (with /Z7)
 fastbuild=1 win_z7 => *.obj has debug info, but linker doesn't generate debug info in *.exe. it would be useless, and just makes build slower

This CL makes win_z7 wins against fastbuild.

R=scottmg,arthurhsu
BUG=none

Review URL: https://chromiumcodereview.appspot.com/10866016

git-svn-id: http://src.chromium.org/svn/trunk/src/build@152953 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-23 05:49:09 +00:00
thakis@chromium.org 2e8dc935df mac: Print an error when doing a branded build and the 10.6 sdk is not around
BUG=144045

Review URL: https://chromiumcodereview.appspot.com/10876003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@152823 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-22 21:45:59 +00:00
wangxianzhu@chromium.org d12d515e18 Change Android build configurations (step 3).
Step 1 is https://chromiumcodereview.appspot.com/10827273/ which changed
Debug build to build size-optimized code with DCHECK.

Step 2 is https://chromiumcodereview.appspot.com/10836323/ which updated
developer scripts and buildbot scripts to support the new configurations.

Step 3: change Release configuration to no DCHECK and change default
configuration to Debug.

BUG=none


Review URL: https://chromiumcodereview.appspot.com/10831381

git-svn-id: http://src.chromium.org/svn/trunk/src/build@152504 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-21 04:39:00 +00:00
wangxianzhu@chromium.org 215e4088f1 Change Android build configurations (step 2).
Step 1 is https://chromiumcodereview.appspot.com/10827273/ which changed
Debug build to build size-optimized code with DCHECK.

Step 2: update developer scripts and buildbot scripts to support to new
configurations.

BUG=none

Review URL: https://chromiumcodereview.appspot.com/10836323

git-svn-id: http://src.chromium.org/svn/trunk/src/build@152468 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-21 01:26:26 +00:00
tedchoc@chromium.org 57ce673bc1 Move the gyp variables used for grit defines on android to actually work.
The enable_themes and enable_extensions gyp variables were in a different
scope that prevented the grit_defines from having the correct value when
evaluating the condition.  Moves the variable assignment into the same
scope as the variable declaration and now everything is happy.

TEST=touch chrome/browser/browser_resources.grd && \
     make chrome_resources (check about_version does not have theme icon)

BUG=


Review URL: https://chromiumcodereview.appspot.com/10828396

git-svn-id: http://src.chromium.org/svn/trunk/src/build@152455 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-21 00:50:46 +00:00
scottmg@chromium.org 085409be60 Only default incremental linking on in shared_library
static_library + incremental explodes due to overly large size when all the
.objs are pulled into the final binary.

BUG=143660


Review URL: https://chromiumcodereview.appspot.com/10825461

git-svn-id: http://src.chromium.org/svn/trunk/src/build@152412 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-20 22:30:04 +00:00
michaelbai@chromium.org 26c0bdb2f4 Use NDK r8b and 64-bit toolchain
- Roll DEPS to NDK r8b
- Use 64-bit toolchain
- Use gold linker

BUG=


Review URL: https://chromiumcodereview.appspot.com/10837226

git-svn-id: http://src.chromium.org/svn/trunk/src/build@152376 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-20 20:09:48 +00:00
lliabraa@chromium.org 258fbc10f5 Update iossim.gyp to use src/build/ios/mac_build.gypi.
The mac_build.gypi will build the iossim executable using ninja.

BUG=None


Review URL: https://chromiumcodereview.appspot.com/10827200

git-svn-id: http://src.chromium.org/svn/trunk/src/build@152335 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-20 16:28:12 +00:00
thakis@chromium.org 31b424b287 linux/clang: Disable the last two warnings, turn on -Werror
BUG=138571
TBR=tony

Review URL: https://chromiumcodereview.appspot.com/10855238

git-svn-id: http://src.chromium.org/svn/trunk/src/build@152242 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-18 04:24:32 +00:00
scottmg@chromium.org 698cde2b19 enable incremental linking by default when using ninja on Windows
BUG=125748
TEST=ninja windows links


Review URL: https://chromiumcodereview.appspot.com/10366002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151930 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-16 18:57:10 +00:00
blundell@chromium.org 83968539b9 Load ICU data from file on iOS.
On iOS, load ICU data from a file instead of compiling it in, to keep binary
size down for the low-memory environment.

BUG=None

Review URL: https://chromiumcodereview.appspot.com/10829320

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151900 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-16 16:10:35 +00:00
peter@chromium.org b60c707932 Remove the dependency on the STRIP env variable for Android
Android builds currently rely on the STRIP environment variable to be available
during build time, rather than just at project generation time. It shouldn't.

BUG=142642


Review URL: https://chromiumcodereview.appspot.com/10832295

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151886 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-16 13:52:04 +00:00
bruening@google.com 672cf3de72 Remove forced static_library build for Dr. Memory now that the tool
supports the debug MSVS libc dll.  Also disabled debug build inlining
and FPO to support increasing debug build optimization.

Re-add unit_tests to the "Windows Tests (DrMemory)" bot.  (The
unit_tests cannot be linked with static_library, which is why they
were removed from the bot.)

BUG=137180

R=rnk@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10834341

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151770 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-15 22:27:50 +00:00
flackr@chromium.org 0946a80c36 Remove touch optimized layout on ChromeOS
BUG=138281
TEST=No touch optimized ui in about flags, nor does it get set when a touch screen is plugged in.


Review URL: https://chromiumcodereview.appspot.com/10832252

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151694 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-15 15:22:55 +00:00
bbudge@chromium.org cf696e6f1e Eliminate the 'build_ppapi_ipc_proxy_untrusted' build flag for untrusted PPAPI proxy builds.
This CL removes our custom GYP flag and modifies the build so both the SRPC and IPC proxies are built side by side. In addition, NaClBrowser now checks the '--enable-nacl-ipc-proxy' flag to determine which IRT to load. The IPC proxy's name is of the form 'nacl_ipc_irt_*'. 

BUG=116317
TEST=builds and runs NaCl apps with --enable-nacl-ipc-proxy
TBR=bbudge@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10831316

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151693 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-15 14:43:24 +00:00
wangxianzhu@chromium.org e4ba552e27 Change Android build configurations (step 1).
Before this change we build Release builds size-optimized code with DCHECK,
while we almost never use the Debug build which is not size-optimized.
    
Now change Debug build to build size-optimized code with DCHECK but still
temporarily keep Release build and default configuration unchanged before
everyone (the bots, scripts and developers) knows how to deal with this change.
    
Next steps will be:
    
Step 2: update developer scripts and buildbot scripts to handle the new
configuration.
    
Step 3: change Release configuration to no DCHECK and change default
configuration to Debug.
    
After all steps finish, this new configuration will better match Chromium
and WebKit (e.g. better matches the DEBUG and RELEASE tags in WebKit layout
test expectations), and makes it easier to build a performance build.


Review URL: https://chromiumcodereview.appspot.com/10827273

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151589 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-14 22:42:55 +00:00
bbudge@chromium.org 2a7a7e2a78 Revert 151581 - Eliminate the 'build_ppapi_ipc_proxy_untrusted' build flag for untrusted PPAPI proxy builds.
This CL removes our custom GYP flag and modifies the build so both the SRPC and IPC proxies are built side by side. In addition, NaClBrowser now checks the '--enable-nacl-ipc-proxy' flag to determine which IRT to load. The IPC proxy's name is of the form 'nacl_ipc_irt_*'.

BUG=116317
TEST=builds and runs NaCl apps with --enable-nacl-ipc-proxy
Review URL: https://chromiumcodereview.appspot.com/10836220

TBR=bbudge@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10825351

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151584 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-14 22:29:02 +00:00
bbudge@chromium.org 58374c9a04 Eliminate the 'build_ppapi_ipc_proxy_untrusted' build flag for untrusted PPAPI proxy builds.
This CL removes our custom GYP flag and modifies the build so both the SRPC and IPC proxies are built side by side. In addition, NaClBrowser now checks the '--enable-nacl-ipc-proxy' flag to determine which IRT to load. The IPC proxy's name is of the form 'nacl_ipc_irt_*'.

BUG=116317
TEST=builds and runs NaCl apps with --enable-nacl-ipc-proxy
Review URL: https://chromiumcodereview.appspot.com/10836220

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151581 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-14 22:23:07 +00:00
yfriedman@chromium.org 5d34d48ba6 Second attempt at fixing Ninja build for Android and change make for host os optionally use goma
Now, to build with goma, you must:
1) Set $GOMA_DIR
2) Specify Goma in the path such as:
PATH=$GOMA_DIR/android/:$PATH ninja -j250 -C out/Release base_unittests_apk

"2)" above is necessary temporarily until the *_target variables are removed from build/android/envsetup.sh 

Review URL: https://chromiumcodereview.appspot.com/10834296

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151532 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-14 19:17:07 +00:00
pkotwicz@chromium.org 90cf0edd77 Make ChromeOS imply enable_hidpi
Bug=None
Test=Compile ChromeOS without enable_hidpi GYP_DEFINE.

R=flackr
TBR=sky

Review URL: https://chromiumcodereview.appspot.com/10829281

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151160 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-11 00:04:29 +00:00
eugenis@chromium.org f531414f9d GYP changes for Clang/Android build.
TEST=none
BUG=137569


Review URL: https://chromiumcodereview.appspot.com/10827214

git-svn-id: http://src.chromium.org/svn/trunk/src/build@150779 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-09 10:44:07 +00:00
agl@chromium.org b0492632b3 Android: configure use_system_zlib in zlib.gyp
Currently third_party/zlib/zlib.gyp uses the system libz if:
  os_posix == 1 and OS != "mac" and OS != "ios" and OS != "openbsd"

I'm assuming that Android sets os_posix==1 and therefore this change is
a no-op. But it consolidates control of this variable in a single
location.

BUG=none

https://chromiumcodereview.appspot.com/10837100/

git-svn-id: http://src.chromium.org/svn/trunk/src/build@150355 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-07 15:56:00 +00:00
newt@chromium.org 1b1371ada4 Upstream Android-specific strings.
BUG=136951


Review URL: https://chromiumcodereview.appspot.com/10824121

git-svn-id: http://src.chromium.org/svn/trunk/src/build@150217 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-07 01:23:11 +00:00
scottmg@chromium.org 5109c33f42 Remove supalink
No longer required with 2010 builds, and not required (and doesn't-work-with)
ninja on 2008.

Deleted references to supalink here:
http://code.google.com/p/chromium/wiki/WindowsIncrementalLinking

R=thakis@chromium.orgo

BUG=140611


Review URL: https://chromiumcodereview.appspot.com/10832161

git-svn-id: http://src.chromium.org/svn/trunk/src/build@150151 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-06 21:49:26 +00:00
thestig@chromium.org fa04e4f051 Use early expansion for debug_optimize and release_optimize
BUG=139118
TEST=none

Review URL: https://chromiumcodereview.appspot.com/10828084

git-svn-id: http://src.chromium.org/svn/trunk/src/build@149677 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-02 19:41:18 +00:00
torne@chromium.org 69b08ed5f0 Android: move various gyp defines out of envsetup.
These gyp defines are set unconditionally in envsetup, which means they
are not in fact part of the "environment" but just the defaults for the
Android build. Move them into common.gypi instead to make this clear.
Several of them were already the correct setting and can simply be
removed.

The makefiles generated by gyp are identical before and after this
change.


Review URL: https://chromiumcodereview.appspot.com/10825131

git-svn-id: http://src.chromium.org/svn/trunk/src/build@149609 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-02 11:03:58 +00:00
flackr@chromium.org cd00a05aa5 Pass enable_themes to grit and use for html conditions regarding themes.
BUG=139369
TEST=None


Review URL: https://chromiumcodereview.appspot.com/10839003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@149269 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-31 20:40:33 +00:00
rsesek@chromium.org bbffe40b89 Change the Mac OS X Deployment Target from 10.5 to 10.6.
BUG=137676
TEST=none

Review URL: https://chromiumcodereview.appspot.com/10816040

git-svn-id: http://src.chromium.org/svn/trunk/src/build@149198 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-31 16:24:57 +00:00
peter@chromium.org 3ff0d4bc62 Refer to build/mac/find_sdk.py in a more robust way.
This broke the WebKit Mac bot, as the directory it works in is different there
compared to the Chromium configuration. Determine the source's root through the
DEPTH define, and then walk up in the build/mac/ directory.

BUG=
TEST=WebKit Mac builder doesn't break after a Chromium DEPS roll.


Review URL: https://chromiumcodereview.appspot.com/10824105

git-svn-id: http://src.chromium.org/svn/trunk/src/build@149181 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-31 14:37:59 +00:00
thakis@chromium.org b134ad8ded mac: Let mac_sdk default to the oldest available SDK that's at least 10.6
Having to manually set mac_sdk was a FAQ when Xcode 4 was released. Now
we're using the 10.6 SDK by default, but Xcode 4.4 ships only with the
10.7 and 10.8 SDKs, so it'll likely become a FAQ again. Automatically
set mac_sdk to something sensible.

(People who explicitly say "mac_sdk=10.6" will have to stop doing so
when they switch to Xcode 4.4.)

BUG=121162
TEST=Build without mac_sdk in GYP_DEFINES. Something useful happens
with Xcode 3.2.6, Xcode 4, Xcode 4.4.


Review URL: https://chromiumcodereview.appspot.com/10824055

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148817 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-27 21:31:03 +00:00
yfriedman@chromium.org 3f8dc720f8 Relanding 148377 - [Android] Upstream additional changes from envsetup.
Now requires you to specifically change the GYP_GENERATORS to specify Ninja. The original change broke because gyp ran for both make and ninja and the webkit bot determines whether to use ninja by the presence of build.ninja (thanks to Peter for figuring this out)

BUG=137569,136693


Review URL: https://chromiumcodereview.appspot.com/10827073

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148790 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-27 20:36:53 +00:00
peter@chromium.org eda4291cc9 Revert 148377 - [Android] Upstream additional changes from envsetup.
This broke the Android WebKit bots as they switched to using Ninja, which
should have been tested before this landed.

---
Splits helper functions out of envsetup into envsetup_functions.sh.
Also includes device helper functions in
build/android/adb_device_functions.sh.

Finally, some fixes to build/common.gypi that happened when
cherry-picked down https://chromiumcodereview.appspot.com/10807019

BUG=137569,136693


Review URL: https://chromiumcodereview.appspot.com/10796104

TBR=yfriedman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10821066

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148739 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-27 10:22:57 +00:00
mark@chromium.org f2b54d779f Allow the mac_sdk_path GYP variable to set the Mac OS X SDK by path.
This is useful for cases where Xcode doesn't know about the SDK, possibly
because the SDK is installed outside of Xcode altogether. For example, Xcode
4.4 does not include a copy of the 10.6 SDK, so if you have a copy of the 10.6
SDK present at /SDKs/MacOSX10.6.sdk, you can put this in ~/.gyp/include.gypi:

{
  'variables': {
    'mac_sdk_path': '/SDKs/MacOSX10.6.sdk',
  },
}

Review URL: https://chromiumcodereview.appspot.com/10831039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148680 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-27 00:55:36 +00:00
glider@chromium.org 8633ac33fc Do not link non-executables with -pie for tsan=1
(-pie is incompatible with -shared and -static)

Review URL: https://chromiumcodereview.appspot.com/10690103

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148393 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-25 20:06:45 +00:00
yfriedman@chromium.org 5358cd8c63 [Android] Upstream additional changes from envsetup.
Splits helper functions out of envsetup into envsetup_functions.sh.
Also includes device helper functions in
build/android/adb_device_functions.sh.

Finally, some fixes to build/common.gypi that happened when
cherry-picked down https://chromiumcodereview.appspot.com/10807019

BUG=137569,136693


Review URL: https://chromiumcodereview.appspot.com/10796104

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148377 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-25 19:15:00 +00:00
yfriedman@chromium.org eca6c4b657 Revert "Revert 147986 - [Android] Add remaining build/common.gypi changes from downstream and strip NOTIMPLEMENTED()s from official builds."
Relanding http://codereview.chromium.org/10816039/ but removing the
clang parts and fixing x86.

This reverts commit 7fc96c8b734fc9bc8152329d99e8ee3f3de14a65.

BUG=137569


Review URL: https://chromiumcodereview.appspot.com/10809081

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148338 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-25 16:17:57 +00:00
yfriedman@chromium.org ce28d375d4 Revert 147986 - [Android] Add remaining build/common.gypi changes from downstream and strip NOTIMPLEMENTED()s from official builds.
Includes:
1) Allowing overridding of android_ndk_sysroot (addition of "%" in
variable name).
2) Disable NOTIMPLEMENTED output for official builds (see base/logging.h)
3) Add clang build configurations
4) Remove unnecessary cflags from regular build.
5) Include crtbegin_so.o and crtend_so.so for _type=="loadable_module"
which is needed for ppapi_tests.

BUG=137569


Review URL: https://chromiumcodereview.appspot.com/10808042

TBR=yfriedman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10816039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148147 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-24 18:15:11 +00:00
yfriedman@chromium.org 51e927009e Revert 148098 - Fix Android FYI base|net_unittests
Add back missing -U __linux__ to common.gypi.

Partial revert of https://chromiumcodereview.appspot.com/10808042/


Review URL: https://chromiumcodereview.appspot.com/10810071

TBR=benm@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10795093

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148146 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-24 18:14:19 +00:00
rohitrao@chromium.org 72b12edabc GYP changes to get sql and sqlite building on iOS.
BUG=None
TEST=None


Review URL: https://chromiumcodereview.appspot.com/10696219

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148136 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-24 18:03:47 +00:00
milanb@chromium.org ac63b6d95a Use system bzip2 on iOS.
BUG=none
TEST=none


Review URL: https://chromiumcodereview.appspot.com/10806010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148118 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-24 16:27:15 +00:00
benm@chromium.org 4f9992fa5c Fix Android FYI base|net_unittests
Add back missing -U __linux__ to common.gypi.

Partial revert of https://chromiumcodereview.appspot.com/10808042/


Review URL: https://chromiumcodereview.appspot.com/10810071

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148098 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-24 13:48:55 +00:00
gman@chromium.org 610aca1cbf Conditionally add the OpenGL ES 2.0 conformance tests to all.gyp
This is a step to getting the OpenGL ES 2.0 conformance tests
running on the gpu bots. Actually running them will be another CL or 2.

TEST=they build
BUG=none

Review URL: https://chromiumcodereview.appspot.com/10796101

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148023 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-24 01:27:17 +00:00
yfriedman@chromium.org e6fd3be3d3 [Android] Add remaining build/common.gypi changes from downstream and strip NOTIMPLEMENTED()s from official builds.
Includes:
1) Allowing overridding of android_ndk_sysroot (addition of "%" in
variable name).
2) Disable NOTIMPLEMENTED output for official builds (see base/logging.h)
3) Add clang build configurations
4) Remove unnecessary cflags from regular build.
5) Include crtbegin_so.o and crtend_so.so for _type=="loadable_module"
which is needed for ppapi_tests.

BUG=137569


Review URL: https://chromiumcodereview.appspot.com/10808042

git-svn-id: http://src.chromium.org/svn/trunk/src/build@147986 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-23 23:22:25 +00:00
steveblock@chromium.org f5f7865054 Hook up use_system_libjpeg for Android
Also enable it by default when builing with the Android build system.

Review URL: https://chromiumcodereview.appspot.com/10807019

git-svn-id: http://src.chromium.org/svn/trunk/src/build@147850 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-23 13:36:12 +00:00
steveblock@chromium.org 410bcd8f4d Clean up gyp settings for libjpeg
The gyp settings for libjpeg currently have a number of problems ...
- Settings for using the system libjpeg are replicated in the gyp files for both libjpeg and libjpeg_turbo.
- The default setting for use_system_libjpeg is different depending on whether libjpeg or libjpeg_turbo is in use. This is unintuitive, as libjpeg_turbo is a drop-in replacement for libjpeg.

This patch improves the situation ...
- Improve documentation about the interaction between use_system_libjpeg and use_libjpeg_turbo.
- Use the libjpeg gyp file whenever use_system_libjpeg==1. This means that the settings for using the system libjpeg are only needed here. (A later patch will remove them from libjpeg_turbo's gyp file). It also means that the libjpeg_turbo repository can be excluded when use_system_libjpeg==1.
- Move all settings concerned with use_system_libjpeg to the libjpeg gyp file.

Note that with this change, we lose the OS-specific defaults for use_system_libjpeg when use_libjpeg_turbo==0. These defaults are currently not used, as use_libjpeg_turbo==1 always.

Review URL: https://chromiumcodereview.appspot.com/10696082

git-svn-id: http://src.chromium.org/svn/trunk/src/build@147254 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-18 17:11:28 +00:00
yfriedman@chromium.org fc49083d10 [Android] Additional fixes to build/common.gypi for Android.
Fixes:
1) disable_nacl
2) disable p2p_apis
3) Enable breakpad for official builds
4) Alpha-short use_system_icu
5) Enable .relro sections
6) Remove defunct android_unit_test_target_type flag

BUG=137569


Review URL: https://chromiumcodereview.appspot.com/10783026

git-svn-id: http://src.chromium.org/svn/trunk/src/build@147088 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-17 20:45:48 +00:00
aruslan@chromium.org 322526aca9 Removing ENABLE_PROMO_RESOURCE_SERVICE guards
They were introduced for Android (as it didn't support the promo
system).  Now all platforms support it, so the guards are removed.

BUG=
TEST=


Review URL: https://chromiumcodereview.appspot.com/10783006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@147072 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-17 19:43:07 +00:00
rsesek@chromium.org a6da5dfeea [Mac] Change the build SDK from 10.5 to 10.6.
This does not yet change the deployment target because that requires a
substantial more amount of work.

BUG=137676
TEST=compiles

Review URL: https://chromiumcodereview.appspot.com/10785038

git-svn-id: http://src.chromium.org/svn/trunk/src/build@147031 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-17 17:47:05 +00:00
glider@chromium.org 3020888eb9 Set 'gcc_version' to 0 for Clang/ASan/TSan builds.
BUG=137480

Review URL: https://chromiumcodereview.appspot.com/10782014

git-svn-id: http://src.chromium.org/svn/trunk/src/build@147022 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-17 17:00:20 +00:00
stuartmorgan@chromium.org 4ca54def36 Add support for libxml as a system library target on iOS
Restructures the gyp conditions to make the system-lib and non-system-lib paths much clearer, and to ensure that if a new OS tries to use use_system_libxml it won't silently use the non-system path.

BUG=None
TEST=None


Review URL: https://chromiumcodereview.appspot.com/10787018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@146976 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-17 10:41:13 +00:00
mihaip@chromium.org 5c3da40136 Remove the Google Drive default app.
BUG=114644
R=asargent@chromium.org
TEST=Google Drive should no longer show up as a default app for new profiles

Review URL: https://chromiumcodereview.appspot.com/10784019

git-svn-id: http://src.chromium.org/svn/trunk/src/build@146866 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-16 19:54:52 +00:00
aruslan@chromium.org 0d5227e1fb Enable promotion system on Android
BUG=b/6538616

TEST=


Review URL: https://chromiumcodereview.appspot.com/10703176

git-svn-id: http://src.chromium.org/svn/trunk/src/build@146590 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-13 17:35:15 +00:00
steveblock@chromium.org 54adb8dbe4 Use the system zlib and ICU when building with the Android build system
- Use of the system zlib is already the default, but set it explicitly here in
  case the default changes.
- Use of the system ICU was fixed in r145879, so we now make use of it.

Also remove static_link_system_icu, which is not used.

Review URL: https://chromiumcodereview.appspot.com/10777006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@146565 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-13 14:00:58 +00:00
hbono@chromium.org c914577714 Revert 146303 - Disables allocator_shim on Windows memory builders.
This change disables allocator_shim on Windows memory builders because it causes a linker error with the latest ANGLE code as reported by Erik (*1). Allocator_shim is disabled on shared builds and it happens only on memory builders, which use static builds. (All the other Windows debug builders use shared builds.)

(*1) https://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/4197e93c6f5814ef/330ea8d9d31141e1?lnk=gst&q=base%2Fallocator+#330ea8d9d31141e1

BUG=none
TEST=build unit_tests.exe on the "Windows Tests (tsan)" bot and the "Chromium Windows Builder (DrMemory)" bot.
Review URL: https://chromiumcodereview.appspot.com/10704178

TBR=hbono@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10701165

git-svn-id: http://src.chromium.org/svn/trunk/src/build@146487 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-13 00:41:03 +00:00
hbono@chromium.org 03719430d9 Disables allocator_shim on Windows memory builders.
This change disables allocator_shim on Windows memory builders because it causes a linker error with the latest ANGLE code as reported by Erik (*1). Allocator_shim is disabled on shared builds and it happens only on memory builders, which use static builds. (All the other Windows debug builders use shared builds.)

(*1) https://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/4197e93c6f5814ef/330ea8d9d31141e1?lnk=gst&q=base%2Fallocator+#330ea8d9d31141e1

BUG=none
TEST=build unit_tests.exe on the "Windows Tests (tsan)" bot and the "Chromium Windows Builder (DrMemory)" bot.
Review URL: https://chromiumcodereview.appspot.com/10704178

git-svn-id: http://src.chromium.org/svn/trunk/src/build@146303 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-12 09:01:44 +00:00
stuartmorgan@chromium.org fbf7bc3060 Adjust the all.gyp:All target for iOS
The initial iOS version was over-ambitious, and doesn't yet build. To
get the build working, this:
- only builds base:base on iOS, not base:*, and
- disables warnings-as-errors in third-party code for iOS, since
  at least NSS and ICU have warnings for iOS.

This also adds nss.gyp to the iOS build, now that its gyp support
has landed

BUG=None
TEST=None


Review URL: https://chromiumcodereview.appspot.com/10704153

git-svn-id: http://src.chromium.org/svn/trunk/src/build@146120 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-11 15:11:22 +00:00
steveblock@chromium.org be578b723e Fix use_system_stlport on Android
Also enable it by default when building with the Android build system.

Review URL: https://chromiumcodereview.appspot.com/10702129

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145997 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-11 00:00:51 +00:00
steveblock@chromium.org 6879b2ca14 Add a gyp flag to allow use of the system's version of libexpat
Hook up this flag for Android and enable it when building with the Android
build system.


Review URL: https://chromiumcodereview.appspot.com/10704079

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145854 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-10 09:02:25 +00:00
newt@chromium.org 66361dedd3 Enable debugging code for non-official Android builds.
This enables DCHECK, NOTREACHED, and other debugging code on Android
non-official release builds. Since all Android builds are done in
release mode, we don't set NDEBUG according to whether the build is in
release or debug mode. Rather we set NDEBUG for official builds only.

This requires a change to skia.gyp to define SK_RELEASE exactly the
same when building skia and its direct dependencies:

SK_RELEASE should be defined in skia.gyp only when use_system_skia is
set to 1 because system skia is always in release mode. When building
with chromium version of skia (which is what we do now) this should
not be defined and left to the skia headers to figure out whether to
include debug code or not (they define SK_RELEASE only if NDEBUG was
defined).

BUG=http://b/6712716


Review URL: https://chromiumcodereview.appspot.com/10695047

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145789 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-09 23:37:13 +00:00
cpu@chromium.org d5ce8b24cc Make the directx sdk and the regular sdk path a gyp variable
For the directx it probes in src\third_party\directxsdk if you have the dxsdk there and
for the regular sdk it probems in src\third_party\platformsdk_win8

If it does not find them it takes an educated guess.

The gyp variables windows_sdk_path and directx_sdk_path can be overriden from the environment if
the defaults are wrong.

BUG=none
TEST=chrome builds
Review URL: https://chromiumcodereview.appspot.com/10690072

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145619 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-06 22:47:56 +00:00
glider@chromium.org 609f64c954 Initial TSan v2 support in Chromium.
Add the 'tsan' GYP flag (off by default) that enables compiler-based data race detection with ThreadSanitizer v2.
TSan v2 does not currently work on Linux x86 and Mac OS, thus we add only Linux flags.
Review URL: https://chromiumcodereview.appspot.com/10700061

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145436 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-04 07:51:12 +00:00
tony@chromium.org 763300b13b enable -Wunused-private-field for linux and chromeos.
BUG=None
TEST=compiles


Review URL: https://chromiumcodereview.appspot.com/10692077

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145395 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-03 22:24:51 +00:00
thakis@chromium.org ac51d44502 clang: Enable -Wunused-private-field on mac.
linux and linux_chromeos aren't quite there yet.

BUG=none
TEST=none
TBR=mark

Review URL: https://chromiumcodereview.appspot.com/10703068

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145302 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-03 15:25:36 +00:00
stuartmorgan@chromium.org 62a628bb43 Get a minimal all.gyp working for iOS
Moves targets that will likely never exist for iOS to a !ios condition block. For the rest of the targets, moves all dependencies to a !ios condition block, with the plan being to move many of them back to the main dependencies section as they come online.

While this is arguably uglier than using a separate file in the short term, in the long term the targets will look essentially like this just with many of the dependencies moved back where they were, so this is a clearer step toward the final state.

Note that this target won't actually build yet; this is just enough that 'gclient runhooks' will succeed.

BUG=None
TEST=None (an FYI bot building all.gyp:All will follow later)


Review URL: https://chromiumcodereview.appspot.com/10695060

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145205 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-02 22:10:48 +00:00
bradnelson@google.com 9cabebd60c Base platform sdk selection on a variable.
Windows SDK 8 isn't ~integrated with visual studio.
As a result we will want to have a gyp level variable to allow folks
to set the windows sdk path in their includes.gypi.

BUG=None
TEST=None
R=cpu@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10696084

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145201 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-02 21:48:05 +00:00
cpu@chromium.org d96fc602d2 Make chrome use the win8 SDK
BUG=none
TEST=it builds
Review URL: https://chromiumcodereview.appspot.com/10545163

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145113 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-01 22:10:30 +00:00
thakis@chromium.org 7ba0cb4104 roll clang 155835:159409
First clang roll in a few weeks, so lots of new stuff:

* better 'unused' warnings. Now catches e.g. "AutoLock(&lock);"
* better 'uninitialized' warnings
* template type eliding in diagnostics
* TLS attribute support
* New -Wunused-private-field warning (disabled for now)
* style plugin has better warning for implicit destructors
* method_iterator interface changed back to what it was, update plugin again
* Warn on member variable self assignments

BUG=135207
TEST=none

Review URL: https://chromiumcodereview.appspot.com/10689041

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145022 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-29 22:54:08 +00:00
stuartmorgan@chromium.org fc94f68b89 Add iOS support to common.gypi
There are basically three categories of changes here:
1) Most OS==mac becomes OS==mac or OS==ios
2) Some Xcode-related settings move into OS==mac blocks since Xcode is no longer Mac-only
3) Addition of iOS-specific settings (SDK, compile flags, etc)

BUG=None
TEST=None


Review URL: https://chromiumcodereview.appspot.com/10704039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@145008 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-29 22:12:20 +00:00
nileshagrawal@chromium.org c524978097 Remove ANDROID_APK_TEST_TARGET
It is always true now and can be replaced with OS_ANDROID.

BUG=125059
TEST=


Review URL: https://chromiumcodereview.appspot.com/10690019

git-svn-id: http://src.chromium.org/svn/trunk/src/build@144775 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-28 19:36:25 +00:00
alexeypa@chromium.org 3890f9070e sas.dll is not included to Windows 8 SDK. Use one from from Windows 7 SDK instead.
BUG=134509
TEST=src/remoting.gyp:remoting_host_installation is buildable.


Review URL: https://chromiumcodereview.appspot.com/10673011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@144507 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-27 19:14:06 +00:00
steveblock@chromium.org 301241c917 Avoid redefining HAVE_ENDIAN_H and HAVE_OFF64_T on Android
These are already provided by
system/core/include/arch/linux-arm/AndroidConfig.h and cause warnings when
redefined.


Review URL: https://chromiumcodereview.appspot.com/10696007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@144465 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-27 16:10:46 +00:00
steveblock@chromium.org 9dd9844b1d Don't use the system versions of sqlite, libjpeg, expat and stlport on Android
These options currently don't work, so we shouldn't use them, irrespective of the value of android_build_type. We'll address each option individually in the future.

Review URL: https://chromiumcodereview.appspot.com/10703003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@144445 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-27 12:56:32 +00:00
rsleevi@chromium.org a83ab50c8a Enable clang checks for bad refcounting patterns on ChromeOS
BUG=123295
TEST=it compiles


Review URL: https://chromiumcodereview.appspot.com/10677016

git-svn-id: http://src.chromium.org/svn/trunk/src/build@144405 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-27 05:02:20 +00:00
thakis@chromium.org a9fdec4d65 Add HiDPI assets for the WebUI bookmarks manager.
Change common.gypi to pass scale_factors=2x to grit on Mac
(as a side effect, the close button on about:settings now looks
good).

Change bookmark_manager/main.html to type="chrome_html"
so that it gets the 2x image auto-treatment that's documented at
sites.google.com/a/chromium.org/dev/developers/design-documents/high-dpi-resources

The icon in the upper left corner of about:bookmarks looks good
with this change, but the tree icons don't yet because cr/ui/tree.js
needs js code changes to make HiDPI icons work.

BUG=134372,123162
TEST=Open bookmark manager. Almost all images look good in HiDPI.

Review URL: https://chromiumcodereview.appspot.com/10662039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@144305 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-26 22:38:23 +00:00
mihaip@chromium.org cdb0b135e8 The Google Docs app is now known as Google Drive
R=asargent@chromium.org
BUG=114644
TEST=Google Drive should show up as a default app for new profiles

Review URL: https://chromiumcodereview.appspot.com/10657025

git-svn-id: http://src.chromium.org/svn/trunk/src/build@143964 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-25 18:40:10 +00:00
hashimoto@chromium.org 30f19ca502 chromeos: Stop depending on Libcros
BUG=127051
TEST=build success


Review URL: https://chromiumcodereview.appspot.com/10614003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@143556 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-22 07:22:43 +00:00
phajdan.jr@chromium.org 48f3c089ac Fix build with disabled NaCl glibc toolchain.
This is upstreaming Gentoo Linux patch.

BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10537124

git-svn-id: http://src.chromium.org/svn/trunk/src/build@143364 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-21 08:38:32 +00:00
peter@chromium.org 9e9df00c71 Determine the version of GCC being used for Android builds.
BUG=
TEST=


Review URL: https://chromiumcodereview.appspot.com/10546152

git-svn-id: http://src.chromium.org/svn/trunk/src/build@142390 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-15 14:46:18 +00:00
mmenke@chromium.org 6ae70267a5 Captive portals intercept all HTTP requests until the user
has logged in, like at Starbucks and airports.  When behind
one, all SSL requests timeout after a potentially
substantial delay.

This CL Adds a CaptivePortalTabHelper which triggers captive
portal checks when an SSL load is taking too long.  If a
captive portal is found, opens a login tab.  Whenever the
new tab is navigated, we check again for a captive portal.
Once we discover the portal is gone, we reload the original
tab.

design doc:  https://docs.google.com/a/chromium.org/document/d/1k-gP2sswzYNvryu9NcgN7q5XrsMlUdlUdoW9WRaEmfM/edit

R=cbentzel@chromium.org,avi@chromium.org
BUG=87100, 115487

Review URL: https://chromiumcodereview.appspot.com/10020051

git-svn-id: http://src.chromium.org/svn/trunk/src/build@142242 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-14 21:28:32 +00:00
eugenis@chromium.org 8509d1e52a Omit -w from ASan CFLAGS and fix a warning.
BUG=None
TEST=nothing breaks
TBR=cevans@chromium.org


Review URL: https://chromiumcodereview.appspot.com/10535162

git-svn-id: http://src.chromium.org/svn/trunk/src/build@142151 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-14 16:11:05 +00:00
mihaip@chromium.org 2f8d87031c Add Google Docs as a default app
R=asargent@chromium.org
BUG=114644
TEST=Docs should show up as a default app for new profiles

Review URL: https://chromiumcodereview.appspot.com/10535133

git-svn-id: http://src.chromium.org/svn/trunk/src/build@141704 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-12 19:20:01 +00:00
wangxianzhu@chromium.org 0de0054a87 Add ENABLE_PRINTING and disable it on Android.
BUG=none
TEST=none


Review URL: https://chromiumcodereview.appspot.com/10540033

git-svn-id: http://src.chromium.org/svn/trunk/src/build@141353 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-09 06:04:02 +00:00
bradnelson@google.com 7c0171141a Adding base_untrusted.
Adding a nacl version of base.

BUG=None
TEST=None
R=bbudge@chromium.org


Review URL: https://chromiumcodereview.appspot.com/10389196

git-svn-id: http://src.chromium.org/svn/trunk/src/build@141144 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-08 01:01:57 +00:00
wangxianzhu@chromium.org a6a982d3aa Revert build/common.gypi modified in r140431.
The change caused issues when running make with goma because the envirnoment
variable CXX_target etc. set in build/android/envsetup.sh are not full paths.
Should check with yfriedman@ why full paths are needed for ninja.

Revert build/common.gypi before the change.

build/android/envsetup.sh of r140431 is good.

Original review URL: https://chromiumcodereview.appspot.com/10511019/

TBR=jrg@chromium.org
BUG=none
TEST=none

Review URL: https://chromiumcodereview.appspot.com/10531002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@140454 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-05 01:00:06 +00:00
wangxianzhu@chromium.org 253dfd874c Fix gyp on Android called by gclient or makefile regen
v8/build/common.gypi now uses environment variable CXX_target which is only
set in android_gyp, not set when gyp_chromium is called by gclient or automatic
makefile regeneration.

Now exports the environment variables needed by gyp generation.

BUG=none
TEST=none


Review URL: https://chromiumcodereview.appspot.com/10511019

git-svn-id: http://src.chromium.org/svn/trunk/src/build@140431 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-04 23:39:58 +00:00
flackr@chromium.org 3a493ec7b2 Use chrome_html structure for shared_resources and options2 page.
This will automatically pull in high DPI theme resources and locally available high DPI webui resources.

BUG=130124
TEST=Theme resources are referenced using @2x when running with scale factor 2.


Review URL: https://chromiumcodereview.appspot.com/10444060

git-svn-id: http://src.chromium.org/svn/trunk/src/build@140355 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-04 20:10:13 +00:00
scottmg@chromium.org bb4951a536 Default to not omitting frame pointers in Release on Windows.
Fixes command line spam about Oy conflicting with Oy-.

See https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/oOk3w2TWNKk


Review URL: https://chromiumcodereview.appspot.com/10453040

git-svn-id: http://src.chromium.org/svn/trunk/src/build@140106 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-01 21:52:11 +00:00
asharif@chromium.org 44cc59dc92 Added release_extra_cflags only to the target compiles.
Without this CL, the gyp define release_extra_cflags is applied to both host and
target compiles. With this CL, the gyp define is only applied to the target
compiles.

BUG=v8:2157
TEST=gyp_chromium with extra flags. Made sure that the target mk files like
v8_shell.host.mk did not have the flags while v8_nosnapshot.target.mk had the
flags.


Review URL: https://chromiumcodereview.appspot.com/10456020

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139909 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-31 23:07:54 +00:00
yoshiki@chromium.org a2579644a8 Remove the web-ui task manager unused stuffs for non-ChromeOS.
This CL removes the task manager stuffs for non-ChromeOS, which are used to support web ui task manager for Win (non-aura), Mac and Linux.

BUG=129285
TEST=manual, trybot passes.

Review URL: https://chromiumcodereview.appspot.com/10423006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139822 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-31 18:15:48 +00:00
sergeyu@chromium.org a3e3f30aa0 Remove PPB_Transport_Dev API.
BUG=109630

Review URL: https://chromiumcodereview.appspot.com/10454058

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139660 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-30 22:44:53 +00:00
thakis@chromium.org cbd50b3376 mac: Don't require DYLD_LIBRARY_PATH to be set when using the shared build.
Set the install name of all dylibs to @rpath.

Set the rpath of all executables to '@loader_path/.' (for normal binaries)
and '@loader_path/../../..' (for bundled binaries).

Also, Chromium Helper.app doesn't end up in out/Release but
somewhere below Chromium.app, so set its rpath to
'@loader_path/../../../../../../..' to get all the way back to
out/Release.

Also add "(allow file-read-metadata)" to the sandbox definition when
running on 10.6 or earlier when using the component build, to work
around a bug in dyld (see http://crbug.com/127465).

BUG=90078,127465
TEST=Do a components build. DYLD_LIBRARY_PATH isn't necessary at
build time, and isn't necessary when running chromium or test binaries.

Review URL: https://chromiumcodereview.appspot.com/10389047

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139550 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-30 16:20:38 +00:00
asvitkine@chromium.org 2ee1004785 Revert 139139 - Revert 139125 - Switch use_canvas_skia=1 for Linux/GTK.
This is so we can get rid of canvas_linux.cc and start
standardizing what the different canvas flags mean
between platforms.

BUG=105550, 130001
TEST=No visual change in Chrome UI.

Review URL: https://chromiumcodereview.appspot.com/10452023

TBR=asvitkine@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10444039

TBR=asargent@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10444088

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139534 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-30 14:12:32 +00:00
yfriedman@chromium.org 7396434af9 Fix ninja build for android.
The primary issues is specifying the right path to PRODUCT_DIR (i.e.
out/Release). The gyp generator for make specifies the absolute path but
for ninja would use a relative path. Since the gyp targets don't line
up with where the ant build files are located this causes failures such
as base's java being generated in base/android/out/Release/...

See:
https://groups.google.com/forum/#!msg/gyp-developer/K2T_9obUya0/qq78_Ut-E-AJ
for details.

A couple of other minor fixes:
- content java files are placed in out/Release/java/content to be
  consisent with other packages.
- shared-libraries are now referenced by correct variables for apk-based
  tests
- removed unused media/base/android/java/java.gyp (target is in
  media/media.gyp)

TBR=mark@chromium.org,ben@chromium.org,rsleevi@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10386188

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139418 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-29 23:19:13 +00:00
rogerta@chromium.org 65b03616dd Update behavior of one-click infobar to remove modal dialog, add "undo".
There are many non-signin-related files in this CL because of a method signature change.  The significant changes are in the one_click_* files.

BUG=125253
TEST=See bug description for complete UX spec.


Review URL: https://chromiumcodereview.appspot.com/10332185

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139365 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-29 20:39:51 +00:00
joi@chromium.org d97136ece2 Remove the enable_metro GYP flag, effectively making it on by default.
The flag was mostly redundant with the enable_touch_ui flag, the only
additional effect of turning it on was to change the behavior of
ui::GetDisplayLayout.

If we later wanted to duplicate the effect that disabling the
enable_metro flag prior to this change would have, we can simply
change the condition in common.gypi that determines whether to turn on
the enable_touch_ui flag.

BUG=none


Review URL: https://chromiumcodereview.appspot.com/10440037

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139181 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-26 04:34:16 +00:00
asargent@chromium.org 57f556b0f5 Revert 139125 - Switch use_canvas_skia=1 for Linux/GTK.
This is so we can get rid of canvas_linux.cc and start
standardizing what the different canvas flags mean
between platforms.

BUG=105550
TEST=No visual change in Chrome UI.

Review URL: https://chromiumcodereview.appspot.com/10452023

TBR=asvitkine@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10444039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139139 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-25 23:17:00 +00:00
asvitkine@chromium.org 520198591d Switch use_canvas_skia=1 for Linux/GTK.
This is so we can get rid of canvas_linux.cc and start
standardizing what the different canvas flags mean
between platforms.

BUG=105550
TEST=No visual change in Chrome UI.

Review URL: https://chromiumcodereview.appspot.com/10452023

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139125 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-25 21:42:18 +00:00
wangxianzhu@chromium.org 1b837b7e7d Fix break building v8 with goma
The error is caused by missing '-m32' parameter when building v8 for host.
  CXX(host) out/Release/obj.host/v8_base/v8/src/accessors.o
v8/src/globals.h:120:2: error: #error Target architecture arm is only supported on arm and ia32 host

v8/build/common.gypi tests if the compiler supports -m32:
  'm32flag': '<!((echo | $(echo ${CXX_host:-$(which g++)}) -m32 -E - > /dev/null 2>&1) && echo -n "-m32" || true)',
but goma is confused by the environment variable GOMA_WRAPPER and exits
with an error:
  GOMA_WRAPPER=<anything>: unkown GOMA_ parameter
and the gyp script thinks that the compiler doesn't support -m32.

Rename GOMA_WRAPPER to ANDROID_GOMA_WRAPPER to avoid confusing goma.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@138916 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-24 22:43:23 +00:00
bradnelson@google.com feef5f58b2 Applying release settings to Release_Base rather than just Release.
This ensures that both 32-bit and 64-bit windows executables get
release settings (like 'defines': ['OFFICIAL_BUILD']).

BUG=http://code.google.com/p/chromium/issues/detail?id=129372
TEST=None
R=bradchen@chromium.org


Review URL: https://chromiumcodereview.appspot.com/10423010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@138613 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-23 22:15:16 +00:00
arthurhsu@chromium.org 4722b2908a Add a GYP_DEFINE to force generating /Z7 flags for Visual C++.
This is required for parallel compilation tools that are unable to
support /Zi.

BUG=none
TEST=manual


Review URL: https://chromiumcodereview.appspot.com/10416043

git-svn-id: http://src.chromium.org/svn/trunk/src/build@138549 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-23 19:06:52 +00:00
nileshagrawal@chromium.org c4002912c3 Run base_unittests_apk on the test try bot for realz.
This will make the android_test bot red when apk tests fail.

The ANDROID_APK_TEST_TARGET flag is required while we transition from executable to APK tests.
 - Executable tests need the DIR_CACHE override as the default path comes from the java side.

BUG=125059

Review URL: https://chromiumcodereview.appspot.com/10332230

git-svn-id: http://src.chromium.org/svn/trunk/src/build@138407 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-23 00:48:50 +00:00
kinaba@chromium.org d0f59543a1 Fix "unknown argument" message from clang plugin on ChromeOS build.
BUG=123295
TEST=see the build log.

Review URL: https://chromiumcodereview.appspot.com/10392194

git-svn-id: http://src.chromium.org/svn/trunk/src/build@138229 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-22 07:05:41 +00:00
yusukes@google.com 1040d4c1f5 Remove virtual keyboard support:
1. common.gypi: use_virtual_keyboard define
2. Any code controlled by that define
3. chrome/browser/ui/virtual_keyboard/*
4. chrome/browser/resources/keyboard/*
5. experimental extension APIs for virtual keyboard

No user-visible changes.

BUG=128295
TEST=try

Review URL: https://chromiumcodereview.appspot.com/10399046

git-svn-id: http://src.chromium.org/svn/trunk/src/build@138223 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-22 05:55:15 +00:00
rsleevi@chromium.org 1254016dec Enable warnings for having RefCounted types with a public destructor.
Enable the Clang error that makes it a warning/error to derive from
base::RefCounted/RefCountedThreadSafe directly and have a public
destructor for Linux and Mac builds.

For ChromeOS builds, do not yet enable the warning, as it does not
yet build cleanly.

BUG=123295
TEST=it compiles
R=thakis


Review URL: https://chromiumcodereview.appspot.com/10414016

git-svn-id: http://src.chromium.org/svn/trunk/src/build@138031 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-19 06:36:31 +00:00
erg@chromium.org 9985d300f4 Aura: Desktop aura is now default on non-chromeos linux builds.
BUG=125106
TEST=none


Review URL: https://chromiumcodereview.appspot.com/10389217

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137982 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-19 00:05:03 +00:00
maruel@chromium.org 43a574ddec Change the test_isolation_outdir default from PRODUCT_DIR to PRODUCT_DIR/isolate
Otherwise a lot of spew is generated when using test_isolation_mode=hashtable.
Do not use hashtable since outdir is also used with _run and _remap.

R=mad@chromium.org
BUG=98636
TEST=

Review URL: https://chromiumcodereview.appspot.com/10382238

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137914 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-18 18:49:39 +00:00
jhawkins@chromium.org df6946a0eb Web Intents: Remove the directory-level exclusions.
BUG=none
TEST=none
R=gbillock

Review URL: https://chromiumcodereview.appspot.com/10410002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137874 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-18 16:30:21 +00:00
dmichael@chromium.org f3aca8ba0c PPAPI/NaCl: Make a gyp flag for including the untrusted IPC proxy.
This way, those of us working on the proxy switch need only add:
{
  'variables': {
    'build_ppapi_ipc_proxy_untrusted': '1',
  },
}
to "~/.gyp/include.gypi"

...and we'll be able to build our untrusted targets without editing all.gyp. For anybody who doesn't set that flag, our ppapi_proxy_untrusted.gypi file will still be parsed, but it doesn't matter if the source files build (or even exist).

BUG=116317
TEST=

Review URL: https://chromiumcodereview.appspot.com/10399068

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137751 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-17 22:25:10 +00:00
ben@chromium.org c8b41baa8b Did not mean to check in this file. Pre-emptively fixing build bustage.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@137708 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-17 19:32:53 +00:00
ben@chromium.org 4a98d80e72 Make Chrome limp briefly before freaking out with aura no ash.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10407022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137706 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-17 19:30:31 +00:00
mihaip@chromium.org 39cb9240c0 Remove the Docs default app.
BUG=114644
R=asargent@chromium.org
TEST=Docs should no longer show up as a default app for new profiles

Review URL: https://chromiumcodereview.appspot.com/10332206

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137486 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-16 19:49:52 +00:00
glotov@google.com 989be22ce5 Make ASAN options apply to target binaries only
BUG=none
TEST=unit

Review URL: https://chromiumcodereview.appspot.com/10392105

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137416 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-16 14:08:42 +00:00
glotov@google.com ef53fa5e6f Note: this change does nothing unless order_profiling=1 is manually set in GYP defines (or EXTRA_BUILD_ARGS for cros).
When enabled, this tool is built into Chrome and makes it log its routine invocations. Every time a routine is called and if it is called for the first time (per each thread), the log is updated with current time and the address of the routine. Later, such logs can be merged (across all threads), symbolized and fed into linker ('order_text_section') so it produces binary with more optimal code layout. This must make code work faster because of better CPU cache utilization.

See more technical details in tools/cygprofile/cygprofile.cc header.

Cyg prefix is taken after the callback names in gcc that we use to hook the code: __cyg_profile_func_enter and __cyg_profile_func_exit.

More info at https://sites.google.com/a/google.com/chrome-msk/dev/boot-speed-up-effort

BUG=chromium-os:20187
TEST=units, build cros with
declare -x EXTRA_BUILD_ARGS="order_profiling=1 linux_use_tcmalloc=0"
run it and check the log at /var/log/chrome/cyglog.*.

Review URL: https://chromiumcodereview.appspot.com/8770054

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137391 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-16 10:04:44 +00:00
shouqun.liu@intel.com 7c6bd79add Fix the content_shell.apk in android x86 target build bug, copy the libcontent_shell_content_view.so and gdbserver to the correct position.
BUG=127532
TEST=


Review URL: https://chromiumcodereview.appspot.com/10388067

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137370 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-16 06:18:41 +00:00
gab@chromium.org c16ec67a75 Revert "Make setup.exe compatible with the component build."
This reverts commit 455e64b6dbd407befca3ec7fc83c5fa861df1c44.

It was breaking CRT DLL lookups for some people in VS2008.

BUG=127233
TEST=


Review URL: https://chromiumcodereview.appspot.com/10391153

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137330 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-16 01:26:29 +00:00
bradnelson@google.com 0b7b3d85cb Fixing unneeded lifting of win_pch to an inner scope.
This got left in r137083 by mistake, then further embelished in:
http://codereview.chromium.org/10332173/

Only buildtype should need this treatment as win_pch is defined
in terms of it.

BUG=127875
TEST=builds on trybots.
R=robertshield@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10377154

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137233 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-15 20:46:01 +00:00
robertshield@chromium.org ab23a51270 Attempt to reapply crrev.com/137083.
Disabling precompiled headers for official builds with msvs2010

Selectively disabling precompiled headers for release builds with msvs2010
Precompiled headers seem to interact badly with auto-sharding using the
msvs_shard option.

Incudes speculative fix for KeyError in Linux gyp builds (see http://build.chromium.org/p/chromium.pyauto/builders/Linux%20%28deb%29/builds/33094/steps/update/logs/stdio for details) that removes line 140 from http://codereview.chromium.org/10392091/diff/6/build/common.gypi

BUG=127875
TEST=builds on trybots.
R=kerz@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10332173

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137166 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-15 17:46:58 +00:00
maruel@chromium.org 3cdf6fc6a8 Add a new gyp define to be used by the swarm master.
Rename tests_run to test_isolation_mode.

TBR=mad@chromium.org
BUG=98636
TEST=
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/10392073

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137127 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-15 14:56:33 +00:00
gab@chromium.org be13d8d238 Make setup.exe compatible with the component build.
The problem with the current component build is that chrome.exe and setup.exe only know to look for DLLs like base.dll in the current directory (except chrome.dll for which they're hardcoded to know where to look). On an install those DLLs are in the version directory so chrome.exe and setup.exe fail to run not finding required DLLs...

To fix this we generate config files (to point in the version directory) and manifests (to list all the DLL dependencies explicitly) to be installed  beside the exes.

Each DLL also has a manifest in the version directory to give it an "assemblyIdentity" (i.e. a unique name which is referred to as a dependency by each exe's manifest).

In order for external manifests to work, embedded manifests had to be disabled for component builds (otherwise Windows ignores the external one).

Since embedded manifests are disabled and the generated manifests are only generated in the archive to be extracted at install-time. This CL also adds a copy step for the usually embedded manifests to be dropped in the build directory so that chrome.exe and setup.exe are usable from there without requiring an install.

This doesn't make mini_installer.exe compatible with the component build yet (as mini_installer runs setup.exe right after extracting it and without any other DLLs/manifests beside it).

However it is now possible to use setup.exe (which takes the exact same parameters as mini_installer.exe) from the build output directory with a component build :)!!!

BUG=127233
TEST=Turn on component build with gyp config "component=shared_libary" and make sure we can install chrome with setup.exe.
Make sure we can run the installed Chrome.
Make sure we can uninstall the installed Chrome (i.e. that setup.exe in <version_dir>/Installer is able to find its DLLs).

Review URL: https://chromiumcodereview.appspot.com/9701050

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137118 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-15 14:06:57 +00:00
nirnimesh@chromium.org efa07282cc Revert 137083 - Disabling precompiled headers for official builds with msvs2010
++++ REVERT NOTICE ++++

Broke update phase on all pyauto chromium bots.
See one at:
http://build.chromium.org/p/chromium.pyauto/builders/Linux%20%28deb%29/builds/33094/steps/update/logs/stdio

+++++++++++++++++++++++

Selectively disabling precompiled headers for release builds with msvs2010
Precompiled headers seem to interact badly with auto-sharding using the
msvs_shard option.

BUG=http://code.google.com/p/chromium/issues/detail?id=127875
TEST=builds on trybots.
R=kerz@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10392091

TBR=bradnelson@google.com
Review URL: https://chromiumcodereview.appspot.com/10402002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137085 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-15 07:29:55 +00:00
bradnelson@google.com d5caaa3425 Disabling precompiled headers for official builds with msvs2010
Selectively disabling precompiled headers for release builds with msvs2010
Precompiled headers seem to interact badly with auto-sharding using the
msvs_shard option.

BUG=http://code.google.com/p/chromium/issues/detail?id=127875
TEST=builds on trybots.
R=kerz@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10392091

git-svn-id: http://src.chromium.org/svn/trunk/src/build@137083 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-15 06:35:13 +00:00
csilv@chromium.org 4d9b51e0c5 Revert 136728 - Disable precompiled headers when using 2010 on an Official build.
(Reverted due to build errors on Win Builder 2010 (dbg):
 NameError: name 'buildtype' is not defined while evaluating condition 'OS=="win"
 and MSVS_VERSION=="2010" and buildtype!="Official"' in src\build\all.gyp while
 trying to load src\build\all.gyp)

bug=127875
R=bradnelson

Review URL: https://chromiumcodereview.appspot.com/10392063

TBR=kerz@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10387096

git-svn-id: http://src.chromium.org/svn/trunk/src/build@136735 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-12 01:14:46 +00:00
kerz@chromium.org f91cdbc047 Disable precompiled headers when using 2010 on an Official build.
bug=127875
R=bradnelson

Review URL: https://chromiumcodereview.appspot.com/10392063

git-svn-id: http://src.chromium.org/svn/trunk/src/build@136728 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-12 00:42:16 +00:00
jnd@chromium.org dc0f38b035 Progagate variable android_upstream_bringup to right scope.
Need to propagate variable android_upstream_bringup to outer variable dict to make sure the variable can be reached by condition ['android_upstream_bringup==1' even we are in downstream tree which doesn't define android_upstream_bringup=1.
Otherwise android-gyp is going to show "NameError: name 'android_upstream_bringup' is not defined while evaluating condition 'android_upstream_bringup==1' in /usr/local/google/code/chromium-android/src/build/all_android.gyp..."

BUG=None
TEST=None

Review URL: https://chromiumcodereview.appspot.com/10389062

git-svn-id: http://src.chromium.org/svn/trunk/src/build@136515 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-11 05:42:35 +00:00
mihaip@chromium.org abc0a3c890 Forgot to add docs.crx to the list of files to copy in r135906.
BUG=127606
R=asargent@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10356107

git-svn-id: http://src.chromium.org/svn/trunk/src/build@136379 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-10 20:32:40 +00:00
yongsheng.zhu@intel.com 6b5c7c47ce Disable the compile option 'mlong-calls' for Android for IA
This is because this option is a ARM-only option. See the documentation here: 
http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html 

BUG=127379
TEST=

Review URL: https://chromiumcodereview.appspot.com/10382082

git-svn-id: http://src.chromium.org/svn/trunk/src/build@136247 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-10 05:40:50 +00:00
shouqun.liu@intel.com de59645342 Fix the incorrect include headers in 64-bit arch host for android x86 build
This patch disable '/usr/include32' as the include dir for android x86 build in 64-bit host, otherwise, this include entry causes headers conflict with android NDK headers. 

BUG=126611
TEST=


Review URL: https://chromiumcodereview.appspot.com/10375049

git-svn-id: http://src.chromium.org/svn/trunk/src/build@136238 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-10 03:22:28 +00:00
jrg@chromium.org ee05979f3f Android content shell bringup.
Build media java files (we weren't).
Fix adb_install_content_shell for cases where the app was stuck.
Add upstream staging gyp var / #define.
Be more consistent about jar output files (all in lib.java).
Upstream a bunch of random files (e.g. ppapi).
Upstream a bunch of java and native code hit as part of shlib init.
Properly package jar files in content shell.

BUG=
TEST=


Review URL: https://chromiumcodereview.appspot.com/10377059

git-svn-id: http://src.chromium.org/svn/trunk/src/build@136219 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-10 01:50:47 +00:00
tony@chromium.org 625c1540c4 Remove the gyp flag for registerProtocolHandler.
We've been shipping RPH for a while with no adverse effects so it should be
safe to remove the flag.

BUG=126569


Review URL: https://chromiumcodereview.appspot.com/10381064

git-svn-id: http://src.chromium.org/svn/trunk/src/build@136129 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-09 21:34:22 +00:00
thakis@chromium.org 17a4452df3 mac: Don't use -Werror on third-party code in official builds.
BUG=none
TEST=official builders go green

Review URL: https://chromiumcodereview.appspot.com/10382068

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135896 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-08 19:45:49 +00:00
oshima@chromium.org 42f812252a Move DIP translation from ui/aura to ui/compositor.
Layer's coordinate system is now in DIP.
Added support of dynamic density switching.
Removed ENABLE_DIP gyp/macro and added runtime flag "--ui-enable-dip"

BUG=105165, 114666
TEST=enabled monitor test. added new tests to compositor_unittests

Review URL: https://chromiumcodereview.appspot.com/10221028

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135888 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-08 19:16:59 +00:00
thakis@chromium.org f9ca9ef100 mac: Build third-party code with -Werror too.
If third-party code does trigger warnings, they should be disabled
in that third-party module's gyp file instead, or if they are serious,
fixed.

BUG=none
TEST=none

Review URL: https://chromiumcodereview.appspot.com/10384051

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135860 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-08 17:28:45 +00:00
gene@chromium.org 1102405892 Revert 135755 - Revert 135749 - Disable one-click-signin for all platforms for M20. This CL will be
merged to M20 and then reverted on trunk for M21.

BUG=126522
TEST=Make sure one-click sign is not visible on all platforms.
TBR=rogerta


Review URL: https://chromiumcodereview.appspot.com/10310049

TBR=rogerta@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10384049

TBR=gene@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10377039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135756 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-08 00:07:49 +00:00
gene@chromium.org 73d749686b Revert 135749 - Disable one-click-signin for all platforms for M20. This CL will be
merged to M20 and then reverted on trunk for M21.

BUG=126522
TEST=Make sure one-click sign is not visible on all platforms.
TBR=rogerta


Review URL: https://chromiumcodereview.appspot.com/10310049

TBR=rogerta@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10384049

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135755 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-07 23:37:43 +00:00
rogerta@chromium.org 77f42cfd40 Disable one-click-signin for all platforms for M20. This CL will be
merged to M20 and then reverted on trunk for M21.

BUG=126522
TEST=Make sure one-click sign is not visible on all platforms.


Review URL: https://chromiumcodereview.appspot.com/10310049

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135749 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-07 22:54:00 +00:00
ben@chromium.org a5b411179c Allow win_ash to build with only use_ash defined.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10379015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135417 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-04 20:51:51 +00:00
shenhan@google.com 66fb9fa4e9 The background is that we are to enable hardfp build for chrome browser.
Currently, the '-mfloat-abi=soft' is hard coded in the gyp file, but what we need is "-mfloat-abi=hard", since it is hard-coded, we no way to change it.

So this CL removed this hard-coded value, replaced it with variable arm_float_abi, which has a default value of 'soft'.   Later in the ebuild file, we can easily override this value to be 'hard', thus make the build hardfp.

BUG=None
TEST=build manually in chromium


Review URL: http://codereview.chromium.org/10351018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135388 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-04 19:26:40 +00:00
james.wei@intel.com 3bb4660eb6 This patch is to enable x86 android build.
patch includes two parts:
1. gyp files modification to include x86 android build.
2. add android config files for yasm which is copied from linux ones. enable android x86 build

This patch is cloned from the issue #10198027 for ownership issue. 
https://chromiumcodereview.appspot.com/10198027/

BUG=125160
TEST=


Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=135087

Review URL: http://codereview.chromium.org/10271039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135110 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-03 09:17:45 +00:00
rsleevi@chromium.org 757089c2e1 Revert 135087 - This patch is to enable x86 android build.
patch includes two parts:
1. gyp files modification to include x86 android build.
2. add android config files for yasm which is copied from linux ones. enable android x86 build

This patch is cloned from the issue #10198027 for ownership issue. 
https://chromiumcodereview.appspot.com/10198027/

BUG=125160
TEST=


Review URL: http://codereview.chromium.org/10271039

TBR=james.wei@intel.com
Review URL: https://chromiumcodereview.appspot.com/10331008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135095 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-03 05:03:14 +00:00
james.wei@intel.com f686c213c2 This patch is to enable x86 android build.
patch includes two parts:
1. gyp files modification to include x86 android build.
2. add android config files for yasm which is copied from linux ones. enable android x86 build

This patch is cloned from the issue #10198027 for ownership issue. 
https://chromiumcodereview.appspot.com/10198027/

BUG=125160
TEST=


Review URL: http://codereview.chromium.org/10271039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@135087 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-03 04:00:39 +00:00