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

Side by Side Diff: third_party/android_platform/BUILD.gn

Issue 1663103004: Create wrapper scripts that set --output-directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@adb_gdb-explicit
Patch Set: todo + adb_gdb Created 4 years, 10 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/android/rules.gni ('k') | tools/android/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//testing/test.gni") 5 import("//testing/test.gni")
6 import("config.gni") 6 import("config.gni")
7 7
8 gypi_values = exec_script("//build/gypi_to_gn.py", 8 if (current_toolchain == host_toolchain) {
9 [ rebase_path("relocation_packer.gyp") ], 9 gypi_values = exec_script("//build/gypi_to_gn.py",
10 "scope", 10 [ rebase_path("relocation_packer.gyp") ],
11 [ "relocation_packer.gyp" ]) 11 "scope",
12 [ "relocation_packer.gyp" ])
12 13
13 if (current_toolchain == host_toolchain) {
14 # GYP: //third_party/android_platform/relocation_packer.gyp:android_lib_reloca tion_packer 14 # GYP: //third_party/android_platform/relocation_packer.gyp:android_lib_reloca tion_packer
15 source_set("android_lib_relocation_packer") { 15 source_set("android_lib_relocation_packer") {
16 deps = [ 16 deps = [
17 "//third_party/elfutils:libelf", 17 "//third_party/elfutils:libelf",
18 ] 18 ]
19 configs -= [ "//build/config/compiler:chromium_code" ] 19 configs -= [ "//build/config/compiler:chromium_code" ]
20 configs += [ "//build/config/compiler:no_chromium_code" ] 20 configs += [ "//build/config/compiler:no_chromium_code" ]
21 sources = gypi_values.relocation_packer_sources 21 sources = gypi_values.relocation_packer_sources
22 } 22 }
23 23
(...skipping 17 matching lines...) Expand all
41 # GYP: //third_party/android_platform/relocation_packer.gyp:android_relocation _packer_unittests 41 # GYP: //third_party/android_platform/relocation_packer.gyp:android_relocation _packer_unittests
42 test("android_relocation_packer_unittests") { 42 test("android_relocation_packer_unittests") {
43 deps = [ 43 deps = [
44 ":android_lib_relocation_packer", 44 ":android_lib_relocation_packer",
45 ":copy_android_relocation_packer_test_data", 45 ":copy_android_relocation_packer_test_data",
46 "//testing/gtest", 46 "//testing/gtest",
47 ] 47 ]
48 sources = gypi_values.relocation_packer_test_sources 48 sources = gypi_values.relocation_packer_test_sources
49 } 49 }
50 } 50 }
51
52 if (is_android) {
53 import("//build/config/android/rules.gni")
54
55 wrapper_script("stack_wrapper") {
56 target = "//third_party/android_platform/development/scripts/stack"
57 }
58 }
OLDNEW
« no previous file with comments | « build/config/android/rules.gni ('k') | tools/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698