Adds a new target to all.gyp: chromium_builder_nacl_sdk
Adds a native_client_sdk gyp file: it depends on nacl_core_sdk from the
native_client repo, but also builds and copies ppapi libraries to the toolchain
directories.
Retry of http://codereview.chromium.org/11363045/
This originally failed here: http://build.chromium.org/p/chromium/builders/Linux%20x64/builds/41342
With the following error:
init.c:(.text+0x3c): undefined reference to `__libc_setup_tls'
init.c:(.text+0x2e2): undefined reference to `_dl_init_static_tls'
init.c:(.text+0x2ec): undefined reference to `_dl_wait_lookup_done'
While building simple_glibc_x86_32.nexe.
My change seems to have tickled a bug in nacl_browser_test.gypi which was using
the link flag -lpthread instead of -pthread. Changing this seems to have fixed
the link failure.
BUG=none
TBR=noelallen@chromium.orgTBR=ncbray@chromium.org
Review URL: https://codereview.chromium.org/11280063
git-svn-id: http://src.chromium.org/svn/trunk/src/build@168603 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Adds a new target to all.gyp: chromium_builder_nacl_sdk
Adds a native_client_sdk gyp file: it depends on nacl_core_sdk from the native_client repo, but also builds and copies ppapi libraries to the toolchain directories.
BUG=none
Review URL: https://chromiumcodereview.appspot.com/11363045
git-svn-id: http://src.chromium.org/svn/trunk/src/build@168359 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This turns on building chrome.gyp for iOS, which includes unit_tests
and all the supporting targets. unit_tests for now only includes
an extremely limited set of tests on iOS; more will be added to the
target as the necessary changes to build them are landed.
To get unit_tests building this CL:
- Adds at least one file to every library target on iOS
(profile_error_dialog, browser_process, etc.), since a static library
with no source files will fail to build.
- Temporarily cuts ChromeContentBrowserClient out of
chrome_test_suite for iOS; that client is very complex and depends
on a lot of high-level classes, which makes it very difficult to bring
up at this point.
- Brings up TestingBrowserProcess, since it's needed by
chrome_test_suite. All the specific high-level classes are trimmed
out for iOS; pieces will be brought back as they work and are needed,
but some of the classes there will never be built on iOS.
- Adds an iOS implementation of ChromeContentClient (with a TODO
to consider merging it with the existing implementation; there's so
little shared code, and so much plugin code in the existing file, that it's
not clear if it's worthwhile) since it's needed by chrome_test_suite.
- Gets chrome_paths and chrome_version_info working on iOS, since
several classes need them and they are trivial to fix.
BUG=156699
Review URL: https://chromiumcodereview.appspot.com/11418005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@168188 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
The sync implementation is not yet complete (e.g., there is not yet an
invalidator_factory implementation on iOS), but enough of the structure is in
place to allow for the sync target to build and a reduced set of unittests to
run successfully.
Review URL: https://chromiumcodereview.appspot.com/11360194
git-svn-id: http://src.chromium.org/svn/trunk/src/build@167485 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Even though r160488 runs content_unittests on aura buildbots, they do not build content_unittests and the "Win Aura" bot cannot run it because this bot does not build it. This change adds content_unittests to the aura_builder target so this bot builds it.
TBR=jam
BUG=none
TEST=make the "Win Aura" bot greener.
Review URL: https://codereview.chromium.org/11093065
git-svn-id: http://src.chromium.org/svn/trunk/src/build@161311 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This removes some files from the already-upstreamed iOS content/ gyp
support in order to get a minimal target building while the remaining
content/ changes are upstreamed.
Minor ifdefing is necessary in a few files in order to build them on
iOS; these are included since they are core files without which it's
very difficult to bring up a build at all.
Adds one new class to the ui/ build since it's needed by the content/
code that is now built.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/10933091
git-svn-id: http://src.chromium.org/svn/trunk/src/build@157421 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This enables building just the user_agent target of webkit_support.gyp
on iOS, and adds iOS versions of the UA-construction utility methods.
Eventually the goal is for iOS not to build any code in webkit/, but
user agent is tied in to enough other code in webkit/ that it's
unlikely to be extracted in the short term, so adding minimal iOS
support to webkit_support.gyp is a necessary bridging measure.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/10905184
git-svn-id: http://src.chromium.org/svn/trunk/src/build@156276 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
We need a target for unit tests that test the compositor WebKit APIs but have
knowledge of the implementation (CC guts). This sets up the test target and
puts a few tests in place. Like cc_unittests, this target doesn't work in the
component build and won't until we break link-time dependencies on non-exported
WebCore symbols.
BUG=
Review URL: https://chromiumcodereview.appspot.com/10874095
git-svn-id: http://src.chromium.org/svn/trunk/src/build@153798 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
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
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
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
This target has been renamed to ash_unittests. We were
temporarily building ash_unittests and copying it to
aura_shell_unittests. The buildbots have been reconfigured
and restarted, so they should look for the new name. We
can now eliminate the copy step and the old target.
BUG=110107
TEST=green buildbots
Review URL: https://chromiumcodereview.appspot.com/10828075
git-svn-id: http://src.chromium.org/svn/trunk/src/build@150578 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This is the default value. It can be overridden with GYP_DEFINES. It is with
the swarm master.
Also remove the corresponding XXX_run targets. These can be problematic when
developers are moving files around, especially with DEPS rolls.
This simplifies build slave management during the deployment as the .isolate
files are being rolled out.
TBR=cmp@chromium.org
NOTRY=true
BUG=139426
Review URL: https://chromiumcodereview.appspot.com/10828061
git-svn-id: http://src.chromium.org/svn/trunk/src/build@148854 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
* Rename aura_shell_unittests target to ash_unittests
* Add a target for aura_shell_unittests that makes a copy of ash_unittests
We need the old copy until we can switch the build bots to using the new copy.
cp.py needs to change slightly to preserve the executable bit of the test binary.
BUG=110107
TEST=Run build/gyp_chromium, inspected build.ninja files to verify rules existed for both ash_unittests and aura_shell_unittests, built and ran both targets
TBR=thestig@chromium.org for trivial rename in tools/valgrind/chrome_test.py
Review URL: https://chromiumcodereview.appspot.com/10700163
git-svn-id: http://src.chromium.org/svn/trunk/src/build@146654 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
The "Chromium Windows Builder (DrMemory)" bot runs out of memory when link.exe creates unit_test.exe because DrMemory needs static builds. This change just disables building unit_tests.exe as a better-than-nothing workaround.
BUG=137180
TEST=make the "Chromium Windows Builder (DrMemory)" bot green.
Review URL: https://chromiumcodereview.appspot.com/10736065
git-svn-id: http://src.chromium.org/svn/trunk/src/build@146551 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
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
The inner class WebResourceService::UnpackerClient is dispatching a json parsing job
to a subprocess. In iOS launching a subprocess is not supported. In order to replace
this class on this particular platform by one doing a thread dispatch the class has
been renamed and refactored in its own file. In doing so an abstract superclass was
crated to make the API more obvious.
The iOS subclass already exists in the iOS tree, and will be brought up with the
rest of the iOS browser changes.
BUG=b/6753678
TEST=No user visible changes.
Review URL: https://chromiumcodereview.appspot.com/10690096
git-svn-id: http://src.chromium.org/svn/trunk/src/build@145689 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
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
- On Linux, support a new sandbox_linux_unittests target
- Add a new seccomp_bpf_unittests target as a dependency of the global
sandbox_linux_unittests target.
- Integrate globally as a chromium_builder_tests dependency
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10635006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@143549 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This patch refactors ppapi_shared.gypi and ppapi_proxy.gypi into proper includes, adds ppapi_shared_untrusted and ppapi_proxy_untrusted .gyp files, and integrates them into the nacl_irt build (ppapi/native_client/native_client.gyp). In order to build without link errors, it includes our plugin side initialization of PluginDispatcher, and a PpapiPluginMain definition. When the 'build_ppapi_ipc_proxy_untrusted' gyp flag is set to '1', this will build a working NaCl IRT using the Chrome IPC proxy.
BUG=116317
TEST=compiles, runs HelloWorld and GetURL SDK examples.
Review URL: https://chromiumcodereview.appspot.com/10565015
git-svn-id: http://src.chromium.org/svn/trunk/src/build@142540 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This patch refactors ppapi_shared.gypi and ppapi_proxy.gypi into proper includes, adds ppapi_shared_untrusted and ppapi_proxy_untrusted .gyp files, and integrates them into the nacl_irt build (ppapi/native_client/native_client.gyp). In order to build without link errors, it includes our plugin side initialization of PluginDispatcher, and a PpapiPluginMain definition. When the 'build_ppapi_ipc_proxy_untrusted' gyp flag is set to '1', this will build a working NaCl IRT using the Chrome IPC proxy.
BUG=116317
TEST=compiles, runs HelloWorld and GetURL SDK examples.
Review URL: https://chromiumcodereview.appspot.com/10546140TBR=bbudge@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10565012
git-svn-id: http://src.chromium.org/svn/trunk/src/build@142494 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This patch refactors ppapi_shared.gypi and ppapi_proxy.gypi into proper includes, adds ppapi_shared_untrusted and ppapi_proxy_untrusted .gyp files, and integrates them into the nacl_irt build (ppapi/native_client/native_client.gyp). In order to build without link errors, it includes our plugin side initialization of PluginDispatcher, and a PpapiPluginMain definition. When the 'build_ppapi_ipc_proxy_untrusted' gyp flag is set to '1', this will build a working NaCl IRT using the Chrome IPC proxy.
BUG=116317
TEST=compiles, runs HelloWorld and GetURL SDK examples.
Review URL: https://chromiumcodereview.appspot.com/10546140
git-svn-id: http://src.chromium.org/svn/trunk/src/build@142482 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
normal circumstances, so it makes more sense to treat it as if it were a
checked-in source file, not a generated file. The rule for its
generation was still getting run once on a clean build, because the
other targets that depended on it expected a gyp timestamp file to exist
for the target.
There's no need for any other targets to actually depend on lastchange
(and in fact several of the targets that make use of the file already
don't depend on the target); it should already exist, and if it doesn't
then the source checkout is probably broken (as the other steps in
runhooks are also mandatory). So, remove the rule entirely.
Review URL: https://chromiumcodereview.appspot.com/10388213
git-svn-id: http://src.chromium.org/svn/trunk/src/build@139765 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Current Service can register and unrerister itself as a Windows Service.
This service is not part of the Chrome browser, but belongs to the
place as virtual print driver for cloud print.
BUG=125026
TEST=Build and verify service gets registered with "/Service" command. And unregistered with "/UninstallService" command.
Review URL: https://chromiumcodereview.appspot.com/10222011
git-svn-id: http://src.chromium.org/svn/trunk/src/build@134298 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Move files in chrome/browser/chromeos/dbus/ to chromeos/dbus
Add chromeos/dbus/DEPS
Add chromeos.gyp:chromeos_test_support and chromeos.gyp:chromeos_unittests
Add CHROMEOS_EXPORT to classes
Move power related proto targets to chromeos.gyp
Rewrite and sort #includes
BUG=119583
TEST=component chromeos build success, checkdeps success
Review URL: https://chromiumcodereview.appspot.com/9838085
git-svn-id: http://src.chromium.org/svn/trunk/src/build@131065 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Also move related test files.
Move WriteNode::UpdateEntryWithEncryption to nigori_util.h.
Clean up defines and dependencies. In particular, get rid of SYNC_ENGINE_VERSION_STRING and hard-code the string in the single place it's used.
Rename data_encryption.* to data_encryption_win.* and add a pragma for crypt32.lib.
Clean up exit-time constructor warnings in sync{able,er}_unittest.cc.
Remove some unused files.
BUG=117585
TEST=
TBR=jhawkins@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9699057
git-svn-id: http://src.chromium.org/svn/trunk/src/build@126872 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This change toggles the build_webkit_exes_from_webkit_gyp file to 0,
so that we try to build DumpRenderTree and webkit_unit_tests from their
corresponding .gyp files (WebKitUnitTests.gyp and Tools.gyp) rather than
the old WebKit.gyp file. This breaks the circular dependencies between
the executables which depend on webkit_support, which depends on
WebKit.gyp. We now only use the 'webkit' target itself in WebKit.gyp.
R=tony@chromium.org
BUG=105826
TEST=waterfall stays green
Review URL: https://chromiumcodereview.appspot.com/8889039
git-svn-id: http://src.chromium.org/svn/trunk/src/build@118366 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Makes tests either use mock compositor or mock
WebGraphicsContext3D depending upon which compositor we're
running. This is needed to enable ui tests on the bots.
Attempt 2 failed because of last minute changes to chrome_tests.gypi
that I didn't merge properly with. TBRing again.
BUG=104360
TEST=none
TBR=ben@chromium.org
Review URL: http://codereview.chromium.org/8890050
git-svn-id: http://src.chromium.org/svn/trunk/src/build@113809 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
WebGraphicsContext3D depending upon which compositor we're
running. This is needed to enable ui tests on the bots.
I reverted first attempt as it broke some browser_tests. I've
straightened that out in another patch, so this should be good go
again. TBR since it's the same patch as before.
BUG=104360
TEST=none
TBR=ben@chromium.org
Review URL: http://codereview.chromium.org/8889022
git-svn-id: http://src.chromium.org/svn/trunk/src/build@113676 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This CL adds an All_syzygy target to the build/all.gyp solution,
that builds a Syzygy-reordered chrome.dll and mini_installer.
If there there is a chrome.dll-order.json file present in the output
directory, chrome.dll will be ordered according to that, otherwise
it will be randomized.
Moved most of mini_installer.gyp to a common .gypi file for reuse.
Review URL: http://codereview.chromium.org/8698009
git-svn-id: http://src.chromium.org/svn/trunk/src/build@111710 4ff67af0-8c30-449e-8e8b-ad334ec8d88c