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

Unified Diff: third_party/android_platform/BUILD.gn

Issue 1027823002: Port Android relocation packer to chromium build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed two nugatory files Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/android_platform/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/android_platform/BUILD.gn
diff --git a/third_party/android_platform/BUILD.gn b/third_party/android_platform/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..6cc665107429fc2ea6656244b6364a90b5b5209e
--- /dev/null
+++ b/third_party/android_platform/BUILD.gn
@@ -0,0 +1,31 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("config.gni")
+
+gypi_values = exec_script("//build/gypi_to_gn.py",
+ [ rebase_path("relocation_packer.gyp") ],
+ "scope",
+ [ "relocation_packer.gyp" ])
+
+if (current_toolchain == host_toolchain) {
+ # GYP: //third_party/android_platform/relocation_packer.gyp:android_lib_relocation_packer
+ source_set("android_lib_relocation_packer") {
+ deps = [
+ "//third_party/elfutils:libelf",
+ ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ sources = gypi_values.relocation_packer_sources
+ }
+
+ # GYP: //third_party/android_platform/relocation_packer.gyp:android_relocation_packer
+ executable("android_relocation_packer") {
+ deps = [
+ ":android_lib_relocation_packer",
+ "//third_party/elfutils:libelf",
+ ]
+ sources = gypi_values.relocation_packer_main_source
+ }
+}
« no previous file with comments | « no previous file | third_party/android_platform/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698