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

Issue 38323002: On Android uses system properties instead of environment variables. (Closed)

Created:
7 years, 1 month ago by zra
Modified:
7 years, 1 month ago
Reviewers:
vsm, Anton Muhin, siva
CC:
reviews+dom_dartlang.org
Visibility:
Public.

Description

On Android uses system properties instead of environment variables. On Android, setting environment variables is difficult. The idiomatic way to communicate configuration options to programs appears to be through "system properties". This change uses system properties for DART_FORWARDING_PRINT to get testing up and going. Later, we'll also need to replace other uses of environment variables with it. R=antonm@google.com, asiva@google.com, vsm@google.com Committed: https://src.chromium.org/viewvc/multivm?view=rev&revision=1476

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -1 line) Patch
M Source/bindings/dart/DartController.cpp View 1 2 2 chunks +13 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
zra
7 years, 1 month ago (2013-10-23 22:04:11 UTC) #1
Anton Muhin
lgtm https://codereview.chromium.org/38323002/diff/30001/Source/bindings/dart/DartController.cpp File Source/bindings/dart/DartController.cpp (right): https://codereview.chromium.org/38323002/diff/30001/Source/bindings/dart/DartController.cpp#newcode191 Source/bindings/dart/DartController.cpp:191: const char * const printClosure = (propLen > ...
7 years, 1 month ago (2013-10-24 06:01:49 UTC) #2
siva
lgtm
7 years, 1 month ago (2013-10-24 16:37:33 UTC) #3
vsm
lgtm Consider factoring out getenv into something like: DartUtilities::getProperty(...) { // Android, non android impls ...
7 years, 1 month ago (2013-10-24 16:55:19 UTC) #4
zra
On 2013/10/24 16:55:19, vsm wrote: > lgtm > > Consider factoring out getenv into something ...
7 years, 1 month ago (2013-10-24 16:59:26 UTC) #5
zra
On 2013/10/24 16:59:26, zra wrote: > On 2013/10/24 16:55:19, vsm wrote: > > lgtm > ...
7 years, 1 month ago (2013-10-24 18:53:04 UTC) #6
zra
7 years, 1 month ago (2013-10-24 20:48:55 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r1476 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698