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

Side by Side Diff: base/base.isolate

Issue 134003004: Make net_unittests_run work with component=shared_library. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using crypto doesn't necessarily mean importing libopenssl.so on component build Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | base/base_prefs.isolate » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 'conditions': [ 5 'conditions': [
6 ['OS=="linux" and component=="shared_library"', { 6 ['OS=="linux" and component=="shared_library"', {
7 'variables': { 7 'variables': {
8 'isolate_dependency_tracked': [ 8 'isolate_dependency_tracked': [
9 '<(PRODUCT_DIR)/lib/libbase.so', 9 '<(PRODUCT_DIR)/lib/libbase.so',
10 '<(PRODUCT_DIR)/lib/libbase_i18n.so', 10 '<(PRODUCT_DIR)/lib/libbase_i18n.so',
11 '<(PRODUCT_DIR)/lib/libbase_prefs.so',
12 ], 11 ],
13 }, 12 },
14 }], 13 }],
15 ['OS=="mac" and component=="shared_library"', { 14 ['OS=="mac" and component=="shared_library"', {
16 'variables': { 15 'variables': {
17 'isolate_dependency_tracked': [ 16 'isolate_dependency_tracked': [
18 '<(PRODUCT_DIR)/libbase.dylib', 17 '<(PRODUCT_DIR)/libbase.dylib',
19 '<(PRODUCT_DIR)/libbase_i18n.dylib', 18 '<(PRODUCT_DIR)/libbase_i18n.dylib',
20 '<(PRODUCT_DIR)/libbase_prefs.dylib',
21 ], 19 ],
22 }, 20 },
23 }], 21 }],
24 ['OS=="win" and component=="shared_library"', { 22 ['OS=="win" and component=="shared_library"', {
25 'variables': { 23 'variables': {
26 'isolate_dependency_tracked': [ 24 'isolate_dependency_tracked': [
27 '<(PRODUCT_DIR)/base.dll', 25 '<(PRODUCT_DIR)/base.dll',
28 '<(PRODUCT_DIR)/base_i18n.dll', 26 '<(PRODUCT_DIR)/base_i18n.dll',
29 '<(PRODUCT_DIR)/base_prefs.dll',
30 ], 27 ],
31 }, 28 },
32 }], 29 }],
33 ], 30 ],
31 # Important note:
32 # Running:
33 # 1. GYP_DEFINES=component=shared_library build/gyp_chromium
34 # 2. ninja -C out/Debug base
35 # will result with only libbase.so being built. Building base by itself won't
36 # force the build of icu or nss. This is because base is not usable by itself.
37 # But on the other hand any test that includes base will be building and
38 # loading at runtime both icu and nss. So define here what is brought by
39 # importing base, not what base would load at runtime.
40 #
41 # There is no such thing as direct_dependent in .isolate, so it's not the best
42 # format to describe this kind of thing. But as a user of base.so, the user
43 # will be importing these other libraries:
34 'includes': [ 44 'includes': [
45 # While the target 'base' doesn't depend on ../build/linux/system.gyp:ssl
46 # itself, virtually all targets using it has to include
47 # ../third_party/nss/ssl.gyp:libssl through system.gyp.
35 '../build/linux/system.isolate', 48 '../build/linux/system.isolate',
49 # While the target 'base' doesn't depend on ../third_party/icu/icu.gyp
50 # itself, virtually all targets using it has to include icu. The only
51 # exception is the Windows sandbox (?).
36 '../third_party/icu/icu.isolate', 52 '../third_party/icu/icu.isolate',
37 ], 53 ],
38 } 54 }
OLDNEW
« no previous file with comments | « no previous file | base/base_prefs.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698