Patrik Höglund
8434aeb3a7
Use Chromium's code for locating the src dir.
...
This code is much more sophisticated in that it doesn't rely
on argv[0], but rather asks the OS where our executable is.
We can then simply go two steps up since we count on running
in out/Whatever relative to the src dir. This is how Chromium
does it.
The aim here is to get rid of SetExecutablePath, which will
be the next CL.
Bug: webrtc:9792
Change-Id: I7da027b7391e759b1f612de12f27a244fe884c09
Reviewed-on: https://webrtc-review.googlesource.com/c/103121
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25017}
2018-10-05 14:09:57 +00:00
..
2018-08-21 17:10:05 +00:00
2018-10-04 09:22:13 +00:00
2018-07-25 14:59:26 +00:00
2018-09-11 14:19:11 +00:00
2018-07-25 14:59:26 +00:00
2018-06-19 14:00:39 +00:00
2018-10-05 13:13:45 +00:00
2018-10-05 14:09:57 +00:00
2018-07-25 14:59:26 +00:00
2018-10-05 14:09:57 +00:00
2018-09-28 08:48:02 +00:00
2018-09-28 08:48:02 +00:00
2018-09-07 13:04:07 +00:00
2018-09-07 13:04:07 +00:00
2018-09-26 10:26:43 +00:00
2018-09-26 10:26:43 +00:00
2018-09-27 12:31:33 +00:00
2018-04-25 10:13:03 +00:00
2018-09-29 22:06:07 +00:00
2018-10-04 14:01:44 +00:00
2018-09-28 08:48:02 +00:00
2018-06-19 14:00:39 +00:00
2018-08-27 13:09:37 +00:00
2018-06-20 07:04:09 +00:00
2018-10-02 07:52:02 +00:00
2018-08-27 13:09:37 +00:00
2018-07-18 11:26:01 +00:00
2018-07-18 11:26:01 +00:00
2018-05-14 06:57:38 +00:00
2018-08-27 13:09:37 +00:00
2018-10-03 16:51:30 +00:00
2018-10-03 16:51:30 +00:00
2018-09-28 07:21:07 +00:00
2018-06-19 14:00:39 +00:00
2018-09-12 14:55:09 +00:00
2018-08-30 13:52:46 +00:00
2018-06-19 14:00:39 +00:00
2018-09-13 15:20:07 +00:00
2018-07-25 14:59:26 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-09-28 08:48:02 +00:00
2018-07-13 10:37:45 +00:00
2018-04-05 08:21:23 +00:00
2018-09-07 13:04:07 +00:00
2018-08-29 11:05:19 +00:00
2018-06-18 13:15:23 +00:00
2018-06-18 13:15:23 +00:00
2018-02-22 12:53:38 +00:00
2018-06-18 13:15:23 +00:00
2018-03-09 16:04:35 +00:00
2018-03-09 16:04:35 +00:00
2018-06-19 14:00:39 +00:00
2018-07-13 08:39:41 +00:00
2017-11-09 11:56:32 +00:00
2018-07-25 14:59:26 +00:00
2018-06-19 14:00:39 +00:00
2017-09-15 13:03:51 +00:00
2018-08-29 11:05:19 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-01-18 08:37:27 +00:00
2018-07-25 14:59:26 +00:00
2018-10-01 07:02:20 +00:00
2018-08-20 12:25:47 +00:00
2018-08-20 12:25:47 +00:00
2018-08-20 12:25:47 +00:00
2018-08-20 12:25:47 +00:00
2018-08-24 08:01:03 +00:00
2018-09-28 08:48:02 +00:00
2018-09-28 08:48:02 +00:00
2018-07-25 14:59:26 +00:00
2018-06-19 14:00:39 +00:00