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

Side by Side Diff: build/android/native_app_dependencies.gypi

Issue 2101243005: Add a snapshot of flutter/engine/src/build to our sdk (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: add README.dart Created 4 years, 5 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/android/method_count.py ('k') | build/android/ndk.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # This file is meant to be included into a target to provide a rule
6 # to strip and place dependent shared libraries required by a native binary in a
7 # single folder that can later be pushed to the device.
8 #
9 # NOTE: consider packaging your binary as an apk instead of running a native
10 # library.
11 #
12 # To use this, create a gyp target with the following form:
13 # {
14 # 'target_name': 'target_that_depends_on_my_binary',
15 # 'type': 'none',
16 # 'dependencies': [
17 # 'my_binary',
18 # ],
19 # 'variables': {
20 # 'native_binary': '<(PRODUCT_DIR)/my_binary',
21 # 'output_dir': 'location to place binary and dependent libraries'
22 # },
23 # 'includes': [ '../../build/android/native_app_dependencies.gypi' ],
24 # },
25 #
26
27 {
28 'variables': {
29 'include_main_binary%': 1,
30 },
31 'conditions': [
32 ['component == "shared_library"', {
33 'dependencies': [
34 '<(DEPTH)/build/android/setup.gyp:copy_system_libraries',
35 ],
36 'variables': {
37 'intermediate_dir': '<(PRODUCT_DIR)/<(_target_name)',
38 'ordered_libraries_file': '<(intermediate_dir)/native_libraries.json',
39 },
40 'actions': [
41 {
42 'variables': {
43 'input_libraries': ['<(native_binary)'],
44 },
45 'includes': ['../../build/android/write_ordered_libraries.gypi'],
46 },
47 {
48 'action_name': 'stripping native libraries',
49 'variables': {
50 'stripped_libraries_dir%': '<(output_dir)',
51 'input_paths': ['<(native_binary)'],
52 'stamp': '<(intermediate_dir)/strip.stamp',
53 },
54 'includes': ['../../build/android/strip_native_libraries.gypi'],
55 },
56 ],
57 }],
58 ['include_main_binary==1', {
59 'copies': [
60 {
61 'destination': '<(output_dir)',
62 'files': [ '<(native_binary)' ],
63 }
64 ],
65 }],
66 ],
67 }
OLDNEW
« no previous file with comments | « build/android/method_count.py ('k') | build/android/ndk.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698