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

Unified Diff: tools/relocation_packer/BUILD.gn

Issue 774353003: gn format // (the rest) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase net Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/json_to_struct/json_to_struct.gni ('k') | tools/relocation_packer/config.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/relocation_packer/BUILD.gn
diff --git a/tools/relocation_packer/BUILD.gn b/tools/relocation_packer/BUILD.gn
index d841277ef123cde36f510a109f5cd877ec542f6b..cbbc6fdde59103d5a6d1b7838c4d218f783ce4fc 100644
--- a/tools/relocation_packer/BUILD.gn
+++ b/tools/relocation_packer/BUILD.gn
@@ -16,7 +16,9 @@ if (current_toolchain == host_toolchain) {
# GYP: //tools/relocation_packer/relocation_packer.gyp:lib_relocation_packer
source_set("lib_relocation_packer") {
defines = [ target_define ]
- deps = [ "//third_party/elfutils:libelf" ]
+ deps = [
+ "//third_party/elfutils:libelf",
+ ]
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
sources = [
@@ -37,7 +39,9 @@ if (current_toolchain == host_toolchain) {
":lib_relocation_packer",
"//third_party/elfutils:libelf",
]
- sources = [ "src/main.cc" ]
+ sources = [
+ "src/main.cc",
+ ]
}
# GYP: //tools/relocation_packer/relocation_packer.gyp:relocation_packer_unittests
@@ -61,7 +65,7 @@ if (current_toolchain == host_toolchain) {
]
defines = [
target_define,
- "INTERMEDIATE_DIR=\"$rebased_test_data\""
+ "INTERMEDIATE_DIR=\"$rebased_test_data\"",
]
include_dirs = [ "//" ]
deps = [
@@ -84,9 +88,12 @@ if (current_toolchain == default_toolchain &&
# GYP: //tools/relocation_packer/relocation_packer.gyp:relocation_packer_test_data
shared_library("relocation_packer_test_data") {
- cflags = [ "-O0", "-g0" ]
+ cflags = [
+ "-O0",
+ "-g0",
+ ]
sources = [
- "test_data/elf_file_unittest_relocs.cc"
+ "test_data/elf_file_unittest_relocs.cc",
]
}
@@ -124,12 +131,17 @@ if (current_toolchain == default_toolchain &&
]
args = [
- "--android-pack-relocations", rebase_path(relocation_packer_exe, root_build_dir),
- "--android-objcopy", rebase_path(android_objcopy, root_build_dir),
+ "--android-pack-relocations",
+ rebase_path(relocation_packer_exe, root_build_dir),
+ "--android-objcopy",
+ rebase_path(android_objcopy, root_build_dir),
"--added-section=$added_section",
- "--test-file", rebase_path(test_file, root_build_dir),
- "--packed-output", rebase_path(packed_output, root_build_dir),
- "--unpacked-output", rebase_path(unpacked_output, root_build_dir),
+ "--test-file",
+ rebase_path(test_file, root_build_dir),
+ "--packed-output",
+ rebase_path(packed_output, root_build_dir),
+ "--unpacked-output",
+ rebase_path(unpacked_output, root_build_dir),
]
}
}
« no previous file with comments | « tools/json_to_struct/json_to_struct.gni ('k') | tools/relocation_packer/config.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698