Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: build/config/android/rules.gni

Issue 1418653002: Synchronize GN build configuration with Chrome (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Review feedback addressed Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//base/android/linker/config.gni") 5 import("//base/android/linker/config.gni")
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/android/internal_rules.gni") 7 import("//build/config/android/internal_rules.gni")
8 import("//third_party/android_platform/config.gni") 8 import("//third_party/android_platform/config.gni")
9 import("//tools/grit/grit_rule.gni") 9 import("//tools/grit/grit_rule.gni")
10 10
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 base_dir = base_gen_dir 317 base_dir = base_gen_dir
318 deps = [ 318 deps = [
319 ":$apply_gcc_target_name", 319 ":$apply_gcc_target_name",
320 ] 320 ]
321 } 321 }
322 322
323 group(final_target_name) { 323 group(final_target_name) {
324 if (defined(invoker.visibility)) { 324 if (defined(invoker.visibility)) {
325 visibility = invoker.visibility 325 visibility = invoker.visibility
326 } 326 }
327 deps = [ 327 public_deps = [
328 ":$zip_srcjar_target_name", 328 ":$zip_srcjar_target_name",
329 ] 329 ]
330 } 330 }
331 } 331 }
332 332
333 # Declare a target for generating Java classes from C++ enums. 333 # Declare a target for generating Java classes from C++ enums.
334 # 334 #
335 # This target generates Java files from C++ enums using a script. 335 # This target generates Java files from C++ enums using a script.
336 # 336 #
337 # This target will create a single .srcjar. Adding this target to an 337 # This target will create a single .srcjar. Adding this target to an
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 base_dir = base_gen_dir 404 base_dir = base_gen_dir
405 deps = [ 405 deps = [
406 ":$generate_enum_target_name", 406 ":$generate_enum_target_name",
407 ] 407 ]
408 } 408 }
409 409
410 group(final_target_name) { 410 group(final_target_name) {
411 if (defined(invoker.visibility)) { 411 if (defined(invoker.visibility)) {
412 visibility = invoker.visibility 412 visibility = invoker.visibility
413 } 413 }
414 deps = [ 414 public_deps = [
415 ":$zip_srcjar_target_name", 415 ":$zip_srcjar_target_name",
416 ] 416 ]
417 } 417 }
418 } 418 }
419 419
420 # Declare a target for processing a Jinja template. 420 # Declare a target for processing a Jinja template.
421 # 421 #
422 # Variables 422 # Variables
423 # input: The template file to be processed. 423 # input: The template file to be processed.
424 # output: Where to save the result. 424 # output: Where to save the result.
(...skipping 1428 matching lines...) Expand 10 before | Expand all | Expand 10 after
1853 asset_location = invoker.asset_location 1853 asset_location = invoker.asset_location
1854 } 1854 }
1855 deps = [ 1855 deps = [
1856 "//base:base_java", 1856 "//base:base_java",
1857 "//build/android/pylib/remote/device/dummy:remote_device_dummy_apk", 1857 "//build/android/pylib/remote/device/dummy:remote_device_dummy_apk",
1858 "//testing/android/appurify_support:appurify_support_java", 1858 "//testing/android/appurify_support:appurify_support_java",
1859 ] 1859 ]
1860 if (defined(invoker.deps)) { 1860 if (defined(invoker.deps)) {
1861 deps += invoker.deps 1861 deps += invoker.deps
1862 } 1862 }
1863 data_deps = [ "//tools/android/md5sum" ] 1863 data_deps = [
1864 "//tools/android/md5sum",
1865 ]
1864 if (host_os == "linux") { 1866 if (host_os == "linux") {
1865 data_deps += [ "//tools/android/forwarder2" ] 1867 data_deps += [ "//tools/android/forwarder2" ]
1866 } 1868 }
1867 if (defined(invoker.data_deps)) { 1869 if (defined(invoker.data_deps)) {
1868 data_deps += invoker.data_deps 1870 data_deps += invoker.data_deps
1869 } 1871 }
1870 } 1872 }
1871 } 1873 }
1872 1874
1873 # Generate .java files from .aidl files. 1875 # Generate .java files from .aidl files.
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
2112 template("uiautomator_test") { 2114 template("uiautomator_test") {
2113 set_sources_assignment_filter([]) 2115 set_sources_assignment_filter([])
2114 if (defined(invoker.testonly)) { 2116 if (defined(invoker.testonly)) {
2115 testonly = invoker.testonly 2117 testonly = invoker.testonly
2116 } 2118 }
2117 assert(target_name != "") 2119 assert(target_name != "")
2118 assert(invoker.deps != [] || true) 2120 assert(invoker.deps != [] || true)
2119 group(target_name) { 2121 group(target_name) {
2120 } 2122 }
2121 } 2123 }
OLDNEW
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698