| OLD | NEW |
| 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 if (current_toolchain == host_toolchain) { | 8 if (current_toolchain == host_toolchain) { |
| 9 source_set("android_lib_relocation_packer") { | 9 source_set("android_lib_relocation_packer") { |
| 10 deps = [ | 10 deps = [ |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 "bionic/tools/relocation_packer/src/packer.cc", | 23 "bionic/tools/relocation_packer/src/packer.cc", |
| 24 "bionic/tools/relocation_packer/src/packer.h", | 24 "bionic/tools/relocation_packer/src/packer.h", |
| 25 "bionic/tools/relocation_packer/src/sleb128.cc", | 25 "bionic/tools/relocation_packer/src/sleb128.cc", |
| 26 "bionic/tools/relocation_packer/src/sleb128.h", | 26 "bionic/tools/relocation_packer/src/sleb128.h", |
| 27 ] | 27 ] |
| 28 } | 28 } |
| 29 | 29 |
| 30 executable("android_relocation_packer") { | 30 executable("android_relocation_packer") { |
| 31 deps = [ | 31 deps = [ |
| 32 ":android_lib_relocation_packer", | 32 ":android_lib_relocation_packer", |
| 33 "//build/config/sanitizers:deps", | 33 "//build/config:exe_and_shlib_deps", |
| 34 "//third_party/elfutils:libelf", | 34 "//third_party/elfutils:libelf", |
| 35 ] | 35 ] |
| 36 sources = [ | 36 sources = [ |
| 37 "bionic/tools/relocation_packer/src/main.cc", | 37 "bionic/tools/relocation_packer/src/main.cc", |
| 38 "bionic/tools/relocation_packer/src/nativehelper/ScopedFd.h", | 38 "bionic/tools/relocation_packer/src/nativehelper/ScopedFd.h", |
| 39 ] | 39 ] |
| 40 } | 40 } |
| 41 | 41 |
| 42 copy("copy_android_relocation_packer_test_data") { | 42 copy("copy_android_relocation_packer_test_data") { |
| 43 sources = [ | 43 sources = [ |
| (...skipping 30 matching lines...) Expand all Loading... |
| 74 } | 74 } |
| 75 } | 75 } |
| 76 | 76 |
| 77 if (is_android) { | 77 if (is_android) { |
| 78 import("//build/config/android/rules.gni") | 78 import("//build/config/android/rules.gni") |
| 79 | 79 |
| 80 wrapper_script("stack_wrapper") { | 80 wrapper_script("stack_wrapper") { |
| 81 target = "//third_party/android_platform/development/scripts/stack" | 81 target = "//third_party/android_platform/development/scripts/stack" |
| 82 } | 82 } |
| 83 } | 83 } |
| OLD | NEW |