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

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: 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
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("//tools/android/wrapper_script.gni")
6 import("config.gni") 7 import("config.gni")
7 8
8 gypi_values = exec_script("//build/gypi_to_gn.py", 9 if (current_toolchain == host_toolchain) {
9 [ rebase_path("relocation_packer.gyp") ], 10 gypi_values = exec_script("//build/gypi_to_gn.py",
10 "scope", 11 [ rebase_path("relocation_packer.gyp") ],
11 [ "relocation_packer.gyp" ]) 12 "scope",
13 [ "relocation_packer.gyp" ])
12 14
13 if (current_toolchain == host_toolchain) {
14 # GYP: //third_party/android_platform/relocation_packer.gyp:android_lib_reloca tion_packer 15 # GYP: //third_party/android_platform/relocation_packer.gyp:android_lib_reloca tion_packer
15 source_set("android_lib_relocation_packer") { 16 source_set("android_lib_relocation_packer") {
16 deps = [ 17 deps = [
17 "//third_party/elfutils:libelf", 18 "//third_party/elfutils:libelf",
18 ] 19 ]
19 configs -= [ "//build/config/compiler:chromium_code" ] 20 configs -= [ "//build/config/compiler:chromium_code" ]
20 configs += [ "//build/config/compiler:no_chromium_code" ] 21 configs += [ "//build/config/compiler:no_chromium_code" ]
21 sources = gypi_values.relocation_packer_sources 22 sources = gypi_values.relocation_packer_sources
22 } 23 }
23 24
(...skipping 17 matching lines...) Expand all
41 # GYP: //third_party/android_platform/relocation_packer.gyp:android_relocation _packer_unittests 42 # GYP: //third_party/android_platform/relocation_packer.gyp:android_relocation _packer_unittests
42 test("android_relocation_packer_unittests") { 43 test("android_relocation_packer_unittests") {
43 deps = [ 44 deps = [
44 ":android_lib_relocation_packer", 45 ":android_lib_relocation_packer",
45 ":copy_android_relocation_packer_test_data", 46 ":copy_android_relocation_packer_test_data",
46 "//testing/gtest", 47 "//testing/gtest",
47 ] 48 ]
48 sources = gypi_values.relocation_packer_test_sources 49 sources = gypi_values.relocation_packer_test_sources
49 } 50 }
50 } 51 }
52
53 wrapper_script("stack_wrapper") {
54 target = "//third_party/android_platform/development/scripts/stack"
55 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698