Clone of https://chromium.googlesource.com/chromium/src/build with Mozilla's local modifications
Перейти к файлу
cjhopman 37e0be512f Make chrome_shell_apk build
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-Original-Commit-Position: refs/heads/master@{#299381}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 11a68cbf1df1110ebac0b649edf2aef22682387e
2014-10-13 22:48:10 +00:00
android Make chrome_shell_apk build 2014-10-13 22:48:10 +00:00
config Make chrome_shell_apk build 2014-10-13 22:48:10 +00:00
git-hooks Silence git-hooks/pre-commit in the absence of .gitmodules (take 2). 2014-04-05 00:29:14 +00:00
go Add Go build support for GN. 2014-09-26 21:25:13 +00:00
internal Add PGO targets to Chrome. 2014-03-14 16:48:30 +00:00
ios stale-while-revalidate experimental implementation. 2014-10-08 03:37:20 +00:00
linux Explicit declare gbm library directory 2014-09-09 09:20:03 +00:00
mac find_sdk.py: pylint clean 2014-09-04 13:59:25 +00:00
sanitizers Reland https://codereview.chromium.org/581983003/: Enable ASan default options on Mac. 2014-09-23 16:38:34 +00:00
secondary Roll openmax_dl 79e64bc:6d58d90. 2014-10-08 01:40:49 +00:00
slave
temp_gyp
toolchain gn: Fix more build issues on Win 2014-09-30 19:32:02 +00:00
util Remove brettw from some owners files. 2014-10-02 22:19:36 +00:00
win Add supportedOS GUID for Windows 10 2014-10-07 02:50:13 +00:00
OWNERS
README.chromium
all.gyp Making WebRTC Java api avaliable in Chromium. 2014-10-09 07:10:47 +00:00
apk_fake_jar.gypi Convert apk obfuscation to python 2014-06-11 13:19:47 +00:00
apk_test.gypi [Android] Reland of 'Add zip pushing and refine push mode selection.' 2014-10-13 11:40:06 +00:00
apply_locales.py
asan.saves Revert of Another attempt to fix debug info stripping for ASan on OSX (patchset #5 id:80001 of https://codereview.chromium.org/560323004/) 2014-09-24 16:25:26 +00:00
branding_value.sh
build-ctags.sh Add a simple script for building a ctags DB in a Chromium checkout. 2013-10-09 05:40:40 +00:00
build_config.h Don't include TargetConditionals.h when building for android. 2014-09-05 10:35:11 +00:00
check_return_value.py check_return_value.py should drop stderr of the command it runs. 2014-04-03 07:36:32 +00:00
chrome_settings.gypi Move mac_bundle_id and other variables from chrome.gyp to build/chrome_settings.gypi. 2013-12-12 18:34:38 +00:00
common.croc Remove references to sconsbuild. 2013-10-12 02:38:29 +00:00
common.gypi Do not use zero or empty android:versionCode 2014-10-13 18:53:36 +00:00
common_untrusted.gypi Build only the appropriate x86 arches for nacl (chrome side). 2014-09-16 02:33:15 +00:00
compiled_action.gni Minor fixes for the GN Windows build. 2014-09-02 19:57:57 +00:00
compiler_version.py Linux: Detect host g++ version as well as target g++ version. 2014-04-23 08:20:16 +00:00
copy_test_data_ios.gypi Fix test data copying on iOS 2014-05-02 21:16:10 +00:00
copy_test_data_ios.py
cp.py
detect_host_arch.py Revert 281999 "Revert 281831 "Fix nacl_integration to run 32bit ..." 2014-07-09 12:06:21 +00:00
dir_exists.py gyp performance: don't invoke python to check dir existance 2014-04-16 21:52:49 +00:00
download_nacl_toolchains.py Chromium no longer needs to extract toolchains during runhooks. 2014-05-13 17:50:06 +00:00
env_dump.py Treat options to the envsetup script as args. 2013-09-23 23:08:09 +00:00
escape_unicode.py
extract_from_cab.py Fix spelling: "supress" -> "suppress" 2013-11-02 02:05:53 +00:00
filename_rules.gypi Move DesktopWindowTreeHostX11Test.Deactivate to interactive_ui_tests 2014-07-27 11:21:55 +00:00
find_isolated_tests.py Add a script that can discover *.isolated files in a directory. 2014-02-28 19:46:52 +00:00
gdb-add-index Add flag to force clobbering of index in gdb-add-index 2014-06-14 08:50:22 +00:00
get_landmines.py Revert of Revert of Use the new java_cpp_enum rule in content. (patchset #1 id:1 of https://codereview.chromium.org/625543002/) 2014-10-02 10:09:12 +00:00
get_syzygy_binaries.py Remove orphaned Syzygy binaries on non-Windows platforms. 2014-09-19 19:30:04 +00:00
gn_helpers.py Add support for reading .gypi files. 2014-04-06 04:35:10 +00:00
gn_run_binary.py Add yasm to the GN build. 2014-06-12 19:35:55 +00:00
grit_action.gypi [Second try] Add creation of v14 compatible resources to process_resources.py 2014-06-07 08:28:03 +00:00
grit_target.gypi Use a qualified path for grit/net_resources.h 2014-08-18 22:36:01 +00:00
gyp_chromium New C++ -> Java enum build rule + parser/generator. 2014-09-10 10:54:40 +00:00
gyp_chromium.py
gyp_environment.py Make landmines work on local builds too 2014-08-14 14:03:30 +00:00
gyp_helper.py Fix chromium.gyp_env to see GYP_MSVS_VERSION. 2014-01-13 21:29:34 +00:00
gypi_to_gn.py Work toward a chrome/common GN target. 2014-06-20 04:26:55 +00:00
host_jar.gypi Revert of Revert of [Android] JUnit runner + gyp changes. (patchset #1 id:1 of https://codereview.chromium.org/597123002/) 2014-09-24 14:02:15 +00:00
host_prebuilt_jar.gypi Revert of Revert of [Android] JUnit runner + gyp changes. (patchset #1 id:1 of https://codereview.chromium.org/597123002/) 2014-09-24 14:02:15 +00:00
install-build-deps-android.sh Pass on the args to install-build-deps.sh during android deps install. 2014-09-16 17:09:29 +00:00
install-build-deps.sh Add python-crypto and python-openssl for rietveld uploads to work w/ oauth. 2014-09-26 20:24:05 +00:00
install-chroot.sh Better handling of goma inside chroot environment. 2014-10-09 07:18:35 +00:00
inverse_depth.py Mojo: Include "path/to/foo.mojom.h" 2014-02-27 22:07:43 +00:00
isolate.gypi Rename all isolate_dependency_* to files. 2014-10-01 13:22:03 +00:00
jar_file_jni_generator.gypi Refactor lazy JNI registration support. 2014-08-15 18:19:03 +00:00
java.gypi Update lint and findbugs to use jars instead of class files 2014-08-12 15:10:38 +00:00
java_aidl.gypi Sort Java AIDL input filenames for makefile stability. 2014-08-29 22:18:31 +00:00
java_apk.gypi [Android] Reland of 'Add zip pushing and refine push mode selection.' 2014-10-13 11:40:06 +00:00
java_prebuilt.gypi Start using proguard.jar directly instead of proguard.sh 2014-07-11 01:49:41 +00:00
java_strings_grd.gypi Pass resources to dependents as zip files instead of directories 2014-06-11 01:20:55 +00:00
jni_generator.gypi Refactor lazy JNI registration support. 2014-08-15 18:19:03 +00:00
json_schema_api.gni Move json schema compiler target into build/ to match gyp 2014-09-30 22:27:41 +00:00
json_schema_bundle_compile.gypi - Add support for references in different paths in apis. 2014-08-29 03:58:01 +00:00
json_schema_bundle_registration_compile.gypi Move json schema compiler target into build/ to match gyp 2014-09-30 22:27:41 +00:00
json_schema_compile.gypi Move json schema compiler target into build/ to match gyp 2014-09-30 22:27:41 +00:00
json_to_struct.gypi Add search_engines and precache components to GN build. 2014-07-16 17:50:51 +00:00
landmine_utils.py Add FreeBSD as a supported platform using ninja. 2014-02-11 03:54:20 +00:00
landmines.py Have build/landmines.py delete contents of build directory. 2014-09-03 21:33:14 +00:00
nocompile.gypi
output_dll_copy.rules
precompile.cc
precompile.h Fixes compile error 2014-09-02 21:00:32 +00:00
protoc.gypi Delete some msvs_cygwin_shell:0 2014-01-25 00:45:40 +00:00
protoc_java.gypi Add proto_java_library to gn 2014-10-01 23:49:49 +00:00
protoc_java.py Add proto_java_library to gn 2014-10-01 23:49:49 +00:00
release.gypi Allow incrementally linked release builds on windows. 2014-05-14 17:22:59 +00:00
repack_action.gypi Work on GN build, mostly in //ui 2014-07-02 20:39:12 +00:00
sanitize-mac-build-log.sed Cleanup sanitize build sed and sh scripts. 2013-10-31 04:21:14 +00:00
sanitize-mac-build-log.sh Cleanup sanitize build sed and sh scripts. 2013-10-31 04:21:14 +00:00
sanitize-win-build-log.sed Remove removed (and outdated anyway) Perl IDL compiler line from sed script 2014-02-27 15:00:45 +00:00
sanitize-win-build-log.sh Cleanup sanitize build sed and sh scripts. 2013-10-31 04:21:14 +00:00
set_clang_warning_flags.gypi Use clang as default host compiler when cross-compiling 2014-08-04 19:05:02 +00:00
shim_headers.gypi Remove trailing "." from message lines. 2013-10-31 18:08:28 +00:00
some.gyp
symlink.py
tree_truth.sh
uiautomator_test.gypi Update some gyp targets to use dex_action.gypi 2014-06-12 03:40:40 +00:00
update-linux-sandbox.sh The sandbox setup script now uses CHROMIUM_OUT_DIR when defined. 2014-07-24 16:37:20 +00:00
vs_toolchain.py gn: Fix more build issues on Win 2014-09-30 19:32:02 +00:00
whitespace_file.txt A whitespace change to trigger builds across the waterfall. 2014-10-12 16:44:44 +00:00
win_precompile.gypi

README.chromium

List of property sheets to be included by projects:
  common.vsprops
    Not used anymore. No-op. Kept for compatibility with current projects.

  debug.vsprops
    Enables debug settings. Must be included directly in Debug configuration. Includes internal\essential.vsprops.

  external_code.vsprops
    Contains settings made to simplify usage of external (non-Google) code. It relaxes the warning levels. Should be included after debug.vsprops or release.vsprops to override their settings.

  output_dll_copy.rules
    Run to enable automatic copy of DLL when they are as an input file in a vcproj project.

  release.vsprops
    Enables release settings. Must be included directly in Release configuration. Includes internal\essential.vsprops. Also includes "internal\release_impl$(CHROME_BUILD_TYPE).vsprops". So the behavior is dependant on the CHROME_BUILD_TYPE environment variable.