summaryrefslogtreecommitdiffstats
path: root/BUILD.gn
Commit message (Collapse)AuthorAgeFilesLines
* gn format // (the rest, except mojo)scottmg2014-12-031-11/+6
| | | | | | | | | | | | | | Excluded mojo because I think that needs to happen on the other side. At gn --version = 306668 for which roll is in CQ. R=brettw@chromium.org TBR=scherkus@chromium.org BUG=348474 Review URL: https://codereview.chromium.org/774353003 Cr-Commit-Position: refs/heads/master@{#306708}
* Remove support for connecting to BrailleBack on Android.plundblad2014-12-021-1/+0
| | | | | | | | | | | | Except for on ICS, Chrome for Android doesn't inject AndroidVox for accessibility anymore. Since BrailleBack only runs on JB+, this code is now dead. BUG=426808 Review URL: https://codereview.chromium.org/737133006 Cr-Commit-Position: refs/heads/master@{#306376}
* Enable webrtc and most of blink and content in the Mac GN build.dpranke2014-11-211-19/+1
| | | | | | | | | | | | | There are still a few linker errors from missing files. I'll try to get those fixed in a follow-on build, but this adds several thousand edges as-is. R=brettw@chromium.org BUG=431177 Review URL: https://codereview.chromium.org/746003002 Cr-Commit-Position: refs/heads/master@{#305179}
* Take #2 at re-enabling breakpad in the Mac GN build.dpranke2014-11-201-5/+0
| | | | | | | | | | | | | | | The previous version failed because we seem to have rolled in a new version of breakpad that had an unused function error in a target that was previously compiling fine w/ the chromium_code config. This patch marks the target (symupload) as no_chromium_code. TBR=brettw@chromium.org BUG=431177 Review URL: https://codereview.chromium.org/743813002 Cr-Commit-Position: refs/heads/master@{#304980}
* Revert of Make breakpad work in Mac GN. (patchset #1 id:1 of ↵sky2014-11-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/732853002/) Reason for revert: Ironically this broke the mac gn build: http://build.chromium.org/p/chromium.mac/builders/Mac%20GN%20%28dbg%29/builds/608/steps/compile/logs/stdio FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/breakpad/src/tools/mac/symupload/symupload.symupload.o.d -DCHROMIUM_BUILD -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DENABLE_NOTIFICATIONS -DENABLE_PEPPER_CDMS -DENABLE_PLUGINS=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DUSE_OPENSSL=1 -DNO_TCMALLOC -DDISABLE_NACL -DENABLE_EXTENSIONS=1 -DENABLE_CONFIGURATION_POLICY -DENABLE_TASK_MANAGER=1 -DENABLE_THEMES=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_MANAGED_USERS=1 -DENABLE_SERVICE_DISCOVERY=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_WIFI_BOOTSTRAPPING=1 -DENABLE_REMOTING=1 -DENABLE_GOOGLE_NOW=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_HIDPI=1 -DCR_CLANG_REVISION=218707 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -I../../breakpad/src/common/mac -I../.. -Igen -fno-strict-aliasing -fstack-protector-all -arch i386 -fcolor-diagnostics -Wall -Wsign-compare -Wendif-labels -Werror -Wno-missing-field-initializers -Wno-unused-parameter -Wnewline-eof -Wno-c++11-narrowing -Wno-char-subscripts -Wno-covered-switch-default -Wno-deprecated-register -Wno-unneeded-internal-declaration -Wno-reserved-user-defined-literal -fvisibility=hidden -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -Xclang -load -Xclang ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib -Xclang -add-plugin -Xclang find-bad-constructs -Wheader-hygiene -Wstring-conversion -O0 -g2 -std=c99 -c ../../breakpad/src/tools/mac/symupload/symupload.m -o obj/breakpad/src/tools/mac/symupload/symupload.symupload.o ../../breakpad/src/tools/mac/symupload/symupload.m:85:18:error: unused function 'CompactIdentifier' [-Werror,-Wunused-function] static NSString *CompactIdentifier(NSString *uuid) { ^ 1 error generated. Original issue's description: > Make breakpad work in Mac GN. > > R=brettw@chromium.org, thakis@chromium.org > BUG=431177 > > Committed: https://crrev.com/6ae55f928b690168c589912615894eb27cf62e1b > Cr-Commit-Position: refs/heads/master@{#304884} TBR=brettw@chromium.org,thakis@chromium.org,dpranke@chromium.org NOTREECHECKS=true NOTRY=true BUG=431177 Review URL: https://codereview.chromium.org/725373006 Cr-Commit-Position: refs/heads/master@{#304888}
* Make breakpad work in Mac GN.dpranke2014-11-191-5/+0
| | | | | | | | | R=brettw@chromium.org, thakis@chromium.org BUG=431177 Review URL: https://codereview.chromium.org/732853002 Cr-Commit-Position: refs/heads/master@{#304884}
* Greatly improve (non-android) java supportcjhopman2014-11-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes java_library and java_prebuilt to actually construct a classpath based on their dependents. It adds java_binary that is similar to java_library but also creates a script in $root_build_dir/bin/ to actually run a java jar (it builds in the classpath and main class so that it can just be run like a normal executable). Adds the flags "android" and "has_android_platform" to the java_library template. An android_library can depend on a java_library only if the java_libary has "android == true". A java_library can depend on an android_library only if the java_libary has "has_android_platform == true". This merges several of the paths for compiling java between android and non-android implementations into a single one that just takes a flag controlling it's behavior (enabling/disabling dex, for example). Adds a very simple java_binary target. This can be run to ensure it works, output is printed, and exit code is propagated. TBR=brettw BUG=359249,383646,417843 Review URL: https://codereview.chromium.org/687633003 Cr-Commit-Position: refs/heads/master@{#304555}
* Fix various flags in the Win64 GN builddpranke2014-11-181-0/+1
| | | | | | | | | | | | | | | | | -disable chromium_code for third_party/zlib - suppress a few size_t -> int conversion warnings - suppress /wd4121 (structure padding) by default; was suppressed in GYP but not GN. Also disable ffmpeg, which doesn't work in the 64-bit build yet. R=scottmg@chromium.org TBR=brettw@chromium.org BUG=432375, 167187 Review URL: https://codereview.chromium.org/737633002 Cr-Commit-Position: refs/heads/master@{#304542}
* Build pdfium_test executable under GN.tsepez2014-11-141-0/+1
| | | | | | | | | | | | This is the second side of a two-sided patch and depends on: https://codereview.chromium.org/720193004/ - pdfium-side patch. https://codereview.chromium.org/733513002/ - pdfium roll. https://codereview.chromium.org/726033002/ - second pdfium-side patch. https://codereview.chromium.org/729623002/ - second pdfium roll. Review URL: https://codereview.chromium.org/726003002 Cr-Commit-Position: refs/heads/master@{#304291}
* This gets at least a chunk of the Mac GN build working.dpranke2014-11-101-1/+63
| | | | | | | | | | | With a few additional fixes in other repos, we will have substantially more working, but this'll do to at least make the bots functional. R=brettw@chromium.org BUG=431117 Review URL: https://codereview.chromium.org/702003002 Cr-Commit-Position: refs/heads/master@{#303540}
* Add chrome perf tests to GN build, fix harfbuzzBrett Wilson2014-11-101-0/+4
| | | | | | | | | | | | | | | | This also hooks up the chrome test support target which was previously not compiled (the file wasn't referenced). This duplicates the harfbuzz logic from the GYP build where the system one is conditionally used if the pangoft2 version is sufficiently large. There are some additions to the pkg-config wrapper script to check versions. Write a service_discovery_sniffer target but don't hook it up. Currently this gives linker errors. Fix grit warnings for the remoting resources. R=dpranke@chromium.org Review URL: https://codereview.chromium.org/702903004 Cr-Commit-Position: refs/heads/master@{#303489}
* Make *some* version of the Win GN build work.dpranke2014-11-081-0/+63
| | | | | | | | | R=scottmg@chromium.org, brettw@chromium.org BUG=354261 Review URL: https://codereview.chromium.org/709593004 Cr-Commit-Position: refs/heads/master@{#303366}
* Reland "Replace Chrome IPC with Mojo IPC for querying BatteryStatus service"ppi2014-10-281-0/+1
| | | | | | | | | | The original CL https://codereview.chromium.org/592153002 was reverted as it broke the battery status layout tests. BUG=420623 Review URL: https://codereview.chromium.org/685703002 Cr-Commit-Position: refs/heads/master@{#301719}
* Revert of Replace Chrome IPC with Mojo IPC for querying BatteryStatus ↵leviw2014-10-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | service (patchset #23 id:570001 of https://codereview.chromium.org/592153002/) Reason for revert: Broke battery-status LayoutTests: http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=battery-status Original issue's description: > Replace Chrome IPC with Mojo IPC for querying BatteryStatus service > > This is based on patch set 26 from Darin's https://codereview.chromium.org/457933002/ . > > BUG=420623 > > Committed: https://crrev.com/9e6d2387b6d9b28ab6defe7f5feb715a5abbc242 > Cr-Commit-Position: refs/heads/master@{#301380} TBR=rockot@chromium.org,timvolodine@chromium.org,jam@chromium.org,viettrungluu@chromium.org,jln@chromium.org,tsepez@chromium.org,ppi@chromium.org NOTREECHECKS=true NOTRY=true BUG=420623 Review URL: https://codereview.chromium.org/676953005 Cr-Commit-Position: refs/heads/master@{#301402}
* Replace Chrome IPC with Mojo IPC for querying BatteryStatus serviceppi2014-10-271-0/+1
| | | | | | | | | | This is based on patch set 26 from Darin's https://codereview.chromium.org/457933002/ . BUG=420623 Review URL: https://codereview.chromium.org/592153002 Cr-Commit-Position: refs/heads/master@{#301380}
* GN: Some small changes to support chrome android internal stuffcjhopman2014-10-241-0/+9
| | | | | | | | | | | | | | | | | | | | This actually hooks up (i.e. passes from invoker) several variables controlling apk creation (version name, version code, use_relocation_packer, use_chromium_linker, unzip_libraries_from_apk). Adds support for overriding some configuration in the private repo. Adds support for public_configs in grit_rule.gni. Adds some junit targets (these are built as android libraries currently instead of host libraries, but that just means we do a bit extra work that we don't really need). BUG=359249 Review URL: https://codereview.chromium.org/659703002 Cr-Commit-Position: refs/heads/master@{#301039}
* GN: Enable loading libraries from apkscjhopman2014-10-231-1/+2
| | | | | | | | | | | | | | This enables all the bits for an apk that uses uncompressed native libraries that are loaded directly from the apk without being extracted on the device. BUG=359249 TBR=brettw NOTRY=true Review URL: https://codereview.chromium.org/654383002 Cr-Commit-Position: refs/heads/master@{#300814}
* Add a root_extra_deps build argument to the GN build.brettw2014-10-221-1/+8
| | | | | | | | | This allows per-checkout addition of dependencies that aren't checked in to the Chrome build. Review URL: https://codereview.chromium.org/674553004 Cr-Commit-Position: refs/heads/master@{#300787}
* Make crazy linker work in gn buildcjhopman2014-10-171-0/+1
| | | | | | | | | | | | | This adds the configuration for the android_apk template to use the crazy linker for an apk and adds a bunch of crazy linker related targets (including crazy linker tests). TBR=ben@ BUG=359249 Review URL: https://codereview.chromium.org/640363002 Cr-Commit-Position: refs/heads/master@{#300172}
* Add ChromeShellTestApk and other chrome/ test stuffcjhopman2014-10-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | Adds these targets: //chrome/android:chrome_javatests //chrome/android:chrome_shell_test_java //chrome/android:chrome_shell_test_apk //chrome/android:chrome_sync_shell_test_apk //chrome/android:uiautomator_tests_java //chrome/android:uiautomator_tests //chrome/test/android:chrome_java_test_support //chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_apk //chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_resources depends on https://codereview.chromium.org/570203002/ TBR=ben BUG=359249 Review URL: https://codereview.chromium.org/586383002 Cr-Commit-Position: refs/heads/master@{#299926}
* Make chrome_shell_apk buildcjhopman2014-10-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This mostly just adds the chrome_shell_apk build definition and those of a whole bunch of targets. Adds a simple check that when DEPRECATED_java_in_dir is used, it actually includes the "src" at the end (GYP just assumes that you really meant that java files are in <(java_in_dir)/src). Makes the call to process_resources only generate R.java for extra packages when being run as part of the apk step (otherwise, for example, both chrome resources and content resources would contain an R.java for net resources and compilation would fail). Depends on https://codereview.chromium.org/581273004/ Adds the following targets -- and enables ~300 more (550 counting template-generated inner targets): //chrome:chrome_android_core //chrome/android:chrome_strings_grd //chrome/android:chrome_java //chrome/android:activity_type_ids_javagen //chrome/android:app_banner_metrics_ids_javagen //chrome/android:resource_id_javagen //chrome/android:profile_account_management_metrics_javagen //chrome/android:profile_sync_service_model_type_selection_javagen //chrome/android:toolbar_model_security_levels_javagen //chrome/android:tab_load_status_javagen //chrome/android:chrome_shell_base //chrome/android:chrome_shell //chrome/android:chrome_sync_shell //chrome/android:chrome_shell_resources //chrome/android:chrome_shell_java //chrome/android:chrome_shell_assets //chrome/android:chrome_shell_apk //chrome/android:chrome_sync_shell_apk //components/bookmarks:bookmarks_java //components/bookmarks:bookmarks_jni_headers //components/bookmarks:bookmark_type_javagen //components/dom_distiller/android:dom_distiller_core_java //components/dom_distiller/android:dom_distiller_core_font_family_javagen //components/dom_distiller/android:dom_distiller_core_theme_javagen //components/enhanced_bookmarks:jni_headers //components/enhanced_bookmarks/android:enhanced_bookmarks_java //components/gcm_driver:gcm_driver_java //components/gcm_driver:jni_headers //components/navigation_interception/android:navigation_interception_java //components/variations:variations_java //components/web_contents_delegate_android:web_contents_delegate_android //components/web_contents_delegate_android:web_contents_delegate_android_java //components/web_contents_delegate_android:web_contents_delegate_android_jni_headers //printing:printing_java //sync:fake_server_jni //sync:sync_java_test_support //sync:test_support_sync_fake_server_android //sync:sync_unit_tests_apk //sync/android:sync_java //sync/android:sync_javatests BUG=359249 TBR=ben Review URL: https://codereview.chromium.org/570203002 Cr-Commit-Position: refs/heads/master@{#299381}
* Remove guava from chromium.nyquist2014-09-231-1/+0
| | | | | | | | | | | | | | | | | | | | This removes the rest of guava from a chromium checkout. It also removes a workaround in build/android/gyp/javac.py which sorts input files for javac. The issue was fixed in guava 14 (https://code.google.com/p/guava-libraries/issues/detail?id=950), but it was never rolled in to chromium. The last remaining files in third_party/guava are left because some bots do not delete non-existing DEPS. COPYING is a copy of the current version of the COPYING file from the guava repository. See http://crbug.com/380688 for details about the DEPS issue. BUG=412673 Review URL: https://codereview.chromium.org/574103002 Cr-Commit-Position: refs/heads/master@{#296202}
* media: scaffolding and plumbing for MojoRenderer{Impl, Service}tim2014-09-181-0/+1
| | | | | | | | | | | | | | * Add skeleton client-side and service-side MediaRenderer pieces with basic plumbing and connections but no real logic. * model a media::DemuxerStream in a mojom to clean up MediaRenderer interface and line-up with RendererImpl expectations. * add DecoderConfig plumbing support * add a basic unittest verifying things do actually hook up * consolidate around 'media_mojo_' naming in media.gyp and add media_mojo target to build all this stuff. BUG=410451 Review URL: https://codereview.chromium.org/551963004 Cr-Commit-Position: refs/heads/master@{#295579}
* GN: Get //chrome/* mostly working on androidJames Robinson2014-09-171-14/+6
| | | | | | | | | | | | | This gets the //chrome subtree down to a fairly small number of build errors on Android. Most of the changes are making features not enabled on android like extensions and plugins properly guarded. This also adds a few jni targets and fixes up some bitrotted bits. R=brettw@chromium.org, cjhopman@chromium.org Review URL: https://codereview.chromium.org/571863002 Cr-Commit-Position: refs/heads/master@{#295231}
* Add libvpx to the GN build.brettw2014-09-161-0/+1
| | | | | | | | TBR=hclam Review URL: https://codereview.chromium.org/576873002 Cr-Commit-Position: refs/heads/master@{#295180}
* GN rules for openmaxcjhopman2014-09-161-0/+1
| | | | | | | | BUG=359249 Review URL: https://codereview.chromium.org/568363002 Cr-Commit-Position: refs/heads/master@{#294994}
* GN: Enable blink and (nearly) all of content in android buildJames Robinson2014-09-101-11/+5
| | | | | | | | | | | | | This enables all blink targets and nearly all content targets in the android build. This produces a content shell APK, but not a fully operational one yet. This also flips on a bunch of other targets pulled in by deps. R=brettw@chromium.org Review URL: https://codereview.chromium.org/561623002 Cr-Commit-Position: refs/heads/master@{#294247}
* Move ui:unittests target into ui/base/BUILD.gntfarina2014-09-091-3/+1
| | | | | | | | | | | | | | | | With commit 2148b92f9cc676bf2b64dc7e47ef65daac393031, ui_unittests is now in ui/base/ui_base_tests.gyp. To mirror this change in GN, we moved the unittests target into ui/base/BUILD.gn BUG=331829,373148,299841,103304 TEST=gn gen out/Debug_gn && ninja -C out/Debug_gn ui/base:unittests R=brettw@chromium.org,sky@chromium.org Review URL: https://codereview.chromium.org/553693002 Cr-Commit-Position: refs/heads/master@{#293960}
* Add content_shell_apk target (and a bunch of its dependencies)cjhopman2014-09-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The content_shell_apk does not have the full native part that it should. It builds, installs, starts, loads the native library, and then crashes when it tries to access missing native parts. This requires fixes to a bunch of little things: 1. Should only extract java files to compile from srcjars. 2. The way we were creating the single combined resources zip was wrong because we were clobbering xml files (we should only clobber images, xml files need to be handled more carefully). Instead of trying to properly handle xml files, the combined zip now just puts all the different dependencies in different folders (0/, 1/, etc) and then when packaging we detect that type of zip and pass all the subdirs to aapt. 3. java_cpp_template with multiple sources needs to have a unique depfile path for each source 4. jni_generator needs to clear the classlist variable in each loop of foreach (otherwise gn complains about assigning to non-empty list) 5. a couple parts of apk native lib handling was not skipped for an apk with no native lib This adds a bunch of targets: //base:base_java_test_support //content/public/android:content_java_resources //content/public/android:content_java //content/public/android:content_strings_grd //content/public/android:gesture_event_type_java //content/public/android:page_transition_types_java //content/public/android:popup_item_type_java //content/public/android:result_codes_java //content/public/android:selection_event_type_java //content/public/android:speech_recognition_error_java //content/public/android:top_controls_state_java //content/public/android:screen_orientation_values_java //content/public/android:content_gamepad_mapping_java //content/public/android:content_jni_headers //content/shell/android:content_shell_jni_headers //content/shell/android:libcontent_shell_content_view (partial) //content/shell/android:content_shell_java_resources //content/shell/android:content_shell_java //content/shell/android:content_shell_apk_resources //content/shell/android:content_shell_apk //net/android:net_java //net/android:remote_android_keystore_aidl //net/android:net_java_test_support //net/android:net_javatests //net/android:net_errors_java //net/android:certificate_mime_types_java //net/android:cert_verify_status_android_java //net/android:private_key_types_java //net/android:net_unittests_apk (disabled) TBR=yfriedman,thestig BUG=359249 Review URL: https://codereview.chromium.org/507523002 Cr-Commit-Position: refs/heads/master@{#293671}
* Move WebMediaPlayerImpl and its dependencies to media/blink.acolwell2014-09-061-0/+2
| | | | | | | | | | Moving WebMediaPlayerImpl and related classes in content/renderer/media to media/blink so that they can be reused by Mojo code. BUG=408338 Review URL: https://codereview.chromium.org/495353003 Cr-Commit-Position: refs/heads/master@{#293628}
* Migrate webkit/browser/ to storage/browser/pilgrim2014-09-051-2/+2
| | | | | | | | | | | | using TBR because Darin told me he defers to James' judgement. Using NOTRY because there is one presubmit error (dump_file_system.cc was moved and it spews printf). BUG=338338 TBR=darin@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/539143002 Cr-Commit-Position: refs/heads/master@{#293547}
* Move resource_loader_bridge.* from webkit/child to content/child.tfarina2014-09-051-2/+0
| | | | | | | | | | | | | | This is an intermediate step, the real fix is to get rid of ResourceLoaderBridge. BUG=338338 TEST=None, no functional changes R=avi@chromium.org TBR=darin@chromium.org Review URL: https://codereview.chromium.org/519333002 Cr-Commit-Position: refs/heads/master@{#293456}
* Add support for Android aidl and support for gyp's java_in_dircjhopman2014-09-051-0/+1
| | | | | | | | | | | | | | | | | Adds the android_aidl template to support Android aidl. Adds a DEPRECATED_java_in_dir to android_library and android_apk. This will greatly ease the transition from gyp to gn. Adds BUILD.gn for third_party/eyesfree (using the two new features added). TBR=rsleevi BUG=359249 Review URL: https://codereview.chromium.org/512923002 Cr-Commit-Position: refs/heads/master@{#293386}
* Mark the root GN build target as test only.brettw2014-09-041-0/+3
| | | | | | | | This will allow us to mark other things as tests as well. Review URL: https://codereview.chromium.org/536203002 Cr-Commit-Position: refs/heads/master@{#293309}
* Merge components/usb_service into device/usb.reillyg2014-09-041-1/+7
| | | | | | | | | | | Unify these two parts of out USB device support. The //device tree is the cannonical location for hardware device APIs. BUG= Review URL: https://codereview.chromium.org/497363004 Cr-Commit-Position: refs/heads/master@{#293246}
* Add some more libjingle targets to the GN build.Brett Wilson2014-09-021-0/+1
| | | | | | | | | | | | Add usrsctp. Make Windows version configurable for this in the build. direct_dependent_configs for libsrtp. R=hclam@chromium.org Review URL: https://codereview.chromium.org/534713003 Cr-Commit-Position: refs/heads/master@{#293004}
* Fix GN toolchains to use proper out dir.Brett Wilson2014-08-261-13/+0
| | | | | | | | | | | Previously it put all toolchains' main link output into the root build directory, which doesn't work when there are multiple toolchains generating the same targets. BUG=405686 R=jamesr@chromium.org Review URL: https://codereview.chromium.org/502163002 Cr-Commit-Position: refs/heads/master@{#291927}
* Add some remoting targets to GN build.Brett Wilson2014-08-251-0/+2
| | | | | | | | | | | | | | | Since GN runs its scripts in a different current directory than GYP, I had to update the remoting html template script to be able to handle this situation. Also includes many misc linking fixes: - Sets enable_nacl to false. - Add renderer context menu component - Adds many missing files R=sergeyu@chromium.org Review URL: https://codereview.chromium.org/498773005 Cr-Commit-Position: refs/heads/master@{#291731}
* Enable building WebRTC with GN.kjellander2014-08-251-0/+1
| | | | | | | | | | | | | | This CL depends on the following CL to be landed first: https://webrtc-codereview.appspot.com/15989004 with the addition that that WebRTC revision of it needs to be be rolled into Chromium DEPS first. BUG=webrtc:3441 TEST=See https://webrtc-codereview.appspot.com/15989004 for details. Review URL: https://codereview.chromium.org/321313006 Cr-Commit-Position: refs/heads/master@{#291688}
* Port parts of //third_pary/libjingle build to GNajwong2014-08-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | Reimplements parts of //third_party/libjingle's build in GN. The new build is much less flexible than the original. No configuration variables have been ported. Some windows-specific configs have been left out and annotated with TODOs. Most signifcantly, the entirety of the 'if (enable_webrtc)' block has been omitted, because the GN build for webrtc isn't working yet. Despite these limitations, it is an adequate replacement for the 'stub' libjingle target in most situations. Note, this CL is a near direct copy of rlarocque's work at https://codereview.chromium.org/455583002/ BUG=none TBR=sky,pavely,rlarocque Review URL: https://codereview.chromium.org/498603002 Cr-Commit-Position: refs/heads/master@{#291587}
* Don't do anything in Android GN build while the current bugs are fixed.jam@chromium.org2014-08-221-0/+13
| | | | | | | | | BUG=405686 Review URL: https://codereview.chromium.org/501513003 Cr-Commit-Position: refs/heads/master@{#291500} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291500 0039d316-1c4b-4281-b951-d872f2087c98
* Add ui_unittests to GN build.brettw@chromium.org2014-08-221-0/+2
| | | | | | | | | | | | | Adds os_exchange_data_win_unittest.cc to Windows (it was incorrecly excluded before). Fixed a compilation error in that file. Reland of 291154 R=sky@chromium.org Review URL: https://codereview.chromium.org/488173003 Cr-Commit-Position: refs/heads/master@{#291483} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291483 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for prebuilt jarscjhopman@chromium.org2014-08-221-1/+7
| | | | | | | | | | | | | | | | | Mostly just a refactoring of build rules to support prebuilt jars. Adds support for proguard preprocessing of both prebuilt and non-prebuilt java libraries. Adds definitions of all (but for android.jar) of the prebuilt jars that we need from the sdk. BUG=359249 Review URL: https://codereview.chromium.org/484813002 Cr-Commit-Position: refs/heads/master@{#291464} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291464 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of Add ui_unittests to GN build. (patchset #2 of ↵rlarocque@chromium.org2014-08-211-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/496473003/) Reason for revert: http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Ozone%20Builder/builds/2322 Original issue's description: > Add ui_unittests to GN build. > > Adds os_exchange_data_win_unittest.cc to Windows (it was incorrecly excluded before). Fixed a compilation error in that file. > > Remove special filtering out in GYP build of base/ime/chromeos/character_composer_unittest.cc and base/ime/input_method_chromeos_unittest.cc since the standard filtering patterns match both of these. > > R=sky@chromium.org > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291154 TBR=sky@chromium.org,brettw@chromium.org NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/496843002 Cr-Commit-Position: refs/heads/master@{#291181} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291181 0039d316-1c4b-4281-b951-d872f2087c98
* Add ui_unittests to GN build.brettw@chromium.org2014-08-211-0/+2
| | | | | | | | | | | | | Adds os_exchange_data_win_unittest.cc to Windows (it was incorrecly excluded before). Fixed a compilation error in that file. Remove special filtering out in GYP build of base/ime/chromeos/character_composer_unittest.cc and base/ime/input_method_chromeos_unittest.cc since the standard filtering patterns match both of these. R=sky@chromium.org Review URL: https://codereview.chromium.org/496473003 Cr-Commit-Position: refs/heads/master@{#291154} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291154 0039d316-1c4b-4281-b951-d872f2087c98
* Add apps to the GN build.brettw@chromium.org2014-08-211-2/+2
| | | | | | | | | | | | | Remove duplicate reference of content_switches which causes link errors. Add dependency on theme_resources from apps (it includes the generated file). R=miket@chromium.org Review URL: https://codereview.chromium.org/496763002 Cr-Commit-Position: refs/heads/master@{#291150} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291150 0039d316-1c4b-4281-b951-d872f2087c98
* Move blink<->cc bindings to cc/blinkjamesr@chromium.org2014-08-191-0/+2
| | | | | | | | | | | | | | | | | | | These files provide the implementations of the public Blink API that bind to the cc implementation. This moves them out of content/ into a subdirectory of cc/ so that we can reuse these files in mojo which can depend on cc/ and on blink but not on content/. To make sure we don't introduce dependencies from cc/ on blink proper, cc/DEPS forbids including cc/blink/ and cc/blink/DEPS allows using the blink headers. cc_blink is built as a separate component to avoid linking anything from blink into targets that don't care about the blink bindings (such as the browser compositor). R=darin@chromium.org Review URL: https://codereview.chromium.org/470983004 Cr-Commit-Position: refs/heads/master@{#290464} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290464 0039d316-1c4b-4281-b951-d872f2087c98
* GN: Add mojo_shell_tests, get more things working on androidjamesr@chromium.org2014-08-131-5/+3
| | | | | | | | | R=brettw@chromium.org Review URL: https://codereview.chromium.org/461903002 Cr-Commit-Position: refs/heads/master@{#289133} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289133 0039d316-1c4b-4281-b951-d872f2087c98
* Port most sync targets to sync/BUILD.gnrlarocque@chromium.org2014-08-071-0/+1
| | | | | | | | | | | | | | | | | Ports most of the sync GYP targets to GN. Adds comments in the original GYP files pointing to the new GN targets. Fixes some TODOs in other files that were blocked on sync GN support. Adds several new linkable targets to the GN build. The android-specific parts of sync have not been converted yet. TBR=nyquist,rogerta BUG= Review URL: https://codereview.chromium.org/439533004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287905 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce ChannelMojomorrita@chromium.org2014-08-041-0/+1
| | | | | | | | | | | | | | | | | | This CL introduces ChannelMojo IPC::Channel implementation and optionally applies it for renderer-browser IPC channel. Current stability is like 5-seconds browser and There are rough edges. It often closes the channel so needs to be more robust. Even though the level of stability, having it in the tree will helps team to try and improve it. BUG=377980 R=darin@chromium.org,jam@chromium.org,viettrungluu@chromium.org TEST=ipc_channel_mojo_unittest.cc Review URL: https://codereview.chromium.org/382333002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287402 0039d316-1c4b-4281-b951-d872f2087c98